﻿body {
    background-color: rgb(228, 229, 247);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.card {
    font-family: "Segoe UI", sans-serif;
    width: min(420px, calc(100% - 32px));
    margin: 16px;
    border-radius: 12px;
    background-color: #fff;
    padding: 1.8rem;
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.1);
}

/* Brand (logo + store name) */
.brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.brand-logo {
    max-height: 72px;
    margin-bottom: 8px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

/* Title */
.title {
    text-align: center;
    font-weight: bold;
    margin: 10px 0 18px 0;
    color: #111827;
}

/* Inputs container */
.email-login {
    display: flex;
    flex-direction: column;
}

    .email-login label {
        color: rgb(170, 166, 166);
        font-size: 13px;
        margin-bottom: 6px;
    }

    /* IMPORTANT: don’t style by input[type=text] globally only,
   keep it scoped so it doesn't get overridden elsewhere */
    .email-login input[type="text"],
    .email-login input[type="password"] {
        width: 100%;
        padding: 15px 16px;
        margin-bottom: 14px;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        box-sizing: border-box;
        outline: none;
        font-size: 14px;
    }

        .email-login input[type="text"]:focus,
        .email-login input[type="password"]:focus {
            border-color: rgb(69, 69, 185);
            box-shadow: 0 0 0 3px rgba(69, 69, 185, 0.15);
        }

/* Remember me row */
.remember-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px 0;
}

.remember-check {
    width: 16px;
    height: 16px;
}

.remember-label {
    color: #374151;
    font-size: 14px;
}

/* Button */
.cta-btn {
    background-color: rgb(69, 69, 185);
    color: white;
    padding: 16px 20px;
    margin-top: 6px;
    width: 100%;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

    .cta-btn:hover {
        opacity: 0.92;
    }

/* Errors */
.error {
    margin-top: 14px;
    color: #b91c1c;
    font-size: 13px;
    text-align: center;
}
