.ekaa-login-wrapper {
    background: linear-gradient(135deg, #faf7f2 0%, #f3e9dc 50%, #eae0d0 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ekaa-login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(44, 24, 16, 0.08);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    border: 1px solid #eae0d0;
}

.ekaa-login-header {
    background: linear-gradient(135deg, #2c1810 0%, #4a2818 100%);
    color: #ffffff;
    padding: 32px 25px 26px;
    text-align: center;
}

.ekaa-login-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #d4af37;
    letter-spacing: 0.5px;
}

.ekaa-login-header p {
    font-size: 13.5px;
    color: #dfd7cc;
    margin: 0;
}

.ekaa-login-body {
    padding: 26px 25px 28px;
}

/* Segmented pill switcher */
.ekaa-tab-switcher {
    display: flex;
    background: #f0e9dd;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.ekaa-tab-btn {
    flex: 1;
    padding: 10px 6px;
    border: none;
    background: none;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: #7a6b5d;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.ekaa-tab-btn.active {
    color: #2c1810;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(44, 24, 16, 0.12);
}

.ekaa-tab-content {
    display: none;
}

.ekaa-tab-content.active {
    display: block;
}

.ekaa-form-group {
    margin-bottom: 18px;
}

.ekaa-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c1810;
    margin-bottom: 7px;
}

.ekaa-input-group {
    position: relative;
}

.ekaa-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dcd4c8;
    border-radius: 10px;
    font-size: 15px;
    color: #2c1810;
    background: #faf8f5;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ekaa-input-group .ekaa-form-control {
    padding-right: 44px;
}

.ekaa-form-control:focus {
    outline: none;
    border-color: #b8860b;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.ekaa-toggle-pass {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9c8e80;
    cursor: pointer;
    padding: 8px;
    font-size: 17px;
    line-height: 1;
}

.ekaa-toggle-pass:hover {
    color: #b8860b;
}

.ekaa-btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #b8860b 0%, #8b6508 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
}

.ekaa-btn-primary:hover {
    background: linear-gradient(135deg, #a07409 0%, #755506 100%);
    transform: translateY(-1px);
}

.ekaa-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ekaa-btn-secondary {
    width: 100%;
    padding: 11px;
    background: #f0e8dc;
    color: #2c1810;
    border: 1px solid #dcd4c8;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.ekaa-btn-secondary:hover {
    background: #e4d8c8;
}

.ekaa-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 18px 0;
    color: #9c8e80;
    font-size: 12px;
}

.ekaa-divider::before, .ekaa-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e8e1d7;
}

.ekaa-divider span {
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ekaa-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1.5px solid #dcd4c8;
    border-radius: 10px;
    background: #ffffff;
    color: #2c1810;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ekaa-google-btn:hover {
    background: #faf8f5;
    border-color: #b8860b;
    color: #2c1810;
    text-decoration: none;
}

.ekaa-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #665b50;
}

.ekaa-login-footer a {
    color: #b8860b;
    font-weight: 600;
    text-decoration: none;
}

.ekaa-login-footer a:hover {
    text-decoration: underline;
}

.ekaa-alert {
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 18px;
    display: none;
}

.ekaa-alert-error {
    background: #fdf2f2;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

.ekaa-alert-success {
    background: #f3faf7;
    color: #03543f;
    border: 1px solid #84e1bc;
}

.ekaa-phone-input-group {
    display: flex;
    align-items: stretch;
}

.ekaa-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1.5px solid #dcd4c8;
    border-right: none;
    border-radius: 10px 0 0 10px;
    background: #f0e8dc;
    color: #2c1810;
    font-size: 14px;
    font-weight: 600;
}

.ekaa-phone-input-group .ekaa-form-control {
    border-radius: 0 10px 10px 0;
}

@media (max-width: 420px) {
    .ekaa-login-wrapper {
        padding: 20px 10px;
        min-height: auto;
    }

    .ekaa-login-header {
        padding: 26px 18px 20px;
    }

    .ekaa-login-body {
        padding: 20px 18px 22px;
    }

    .ekaa-tab-btn {
        font-size: 11.5px;
        padding: 9px 4px;
    }
}
