﻿body {
    margin: 0;
    padding: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 30%), radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.10), transparent 30%), linear-gradient(135deg, #fffdf8 0%, #f8f8f8 100%);
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    padding: 40px 32px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

    .login-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.20), rgba(212, 175, 55, 0.03));
        border-bottom-left-radius: 100%;
    }

.logo-circle {
    width: 78px;
    height: 78px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f3e5ab);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.title-gold {
    color: #d4af37;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-label {
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
}

.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        color: #c7a22e;
        font-size: 18px;
    }

    .input-icon .form-control {
        padding-right: 46px;
    }

.form-control {
    border: 1px solid #e8dfbf;
    border-radius: 14px;
    min-height: 54px;
    background-color: #fff;
    transition: all 0.25s ease;
}

    .form-control:focus {
        border-color: #d4af37;
        box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.18);
    }

.btn-login {
    background: linear-gradient(45deg, #d4af37, #f3e5ab);
    color: #3a2c00;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.20);
}

    .btn-login:hover {
        background: linear-gradient(45deg, #c8a12b, #ecd88c);
        color: #2c2200;
        transform: translateY(-2px);
        box-shadow: 0 14px 24px rgba(212, 175, 55, 0.30);
    }

.hidden {
    display: none !important;
}

.auth-title {
    color: #b88d11;
    font-weight: 800;
}

.auth-subtitle {
    color: #7a6b35;
    font-size: 14px;
    line-height: 1.9;
}

.mobile-preview {
    color: #9a7410;
    font-weight: 800;
    direction: ltr;
    display: inline-block;
    margin-right: 4px;
}

.auth-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3f1ea;
    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 18px;
    padding: 6px;
    margin: 20px 0 18px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #8f7a2b;
    font-weight: 800;
    border-radius: 14px;
    padding: 12px 10px;
    transition: all 0.2s ease;
}

    .auth-tab-btn.active {
        background: #ffffff;
        color: #2f69c8;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

.method-note {
    background: linear-gradient(180deg, #fffdf5 0%, #f9f1cf 100%);
    border: 1px solid #ead9a1;
    color: #86670a;
    border-radius: 16px;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    line-height: 1.9;
}

.soft-action-btn {
    width: 100%;
    border: 1px solid #e0e4ec;
    background: #ffffff;
    color: #4d5f7a;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

    .soft-action-btn:hover {
        background: #f8fafc;
        color: #2f69c8;
        border-color: #cfd8e6;
    }

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin-top: 14px;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    border: 1px solid #e4d7a4;
    border-radius: 14px;
    background-color: #fffef8;
    transition: all 0.2s ease;
}

    .otp-input:focus {
        border-color: #d4af37;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
        transform: translateY(-1px);
    }

.resend-link,
.edit-mobile-link {
    color: #b88d11;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .resend-link:hover,
    .edit-mobile-link:hover {
        color: #8f6d07;
        text-decoration: underline;
    }

.timer-text {
    color: #8b7a3e;
    font-size: 14px;
    font-weight: 600;
}

.final-welcome {
    padding: 25px 10px 10px;
}

.welcome-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f3e5ab);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

@media (max-width: 576px) {
    .login-card {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .otp-container {
        gap: 7px;
    }

    .otp-input {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }

    .auth-tab-btn,
    .soft-action-btn,
    .btn-login {
        font-size: 14px;
    }
}
.input-icon.password-field .form-control {
    padding-left: 46px;
    padding-right: 46px;
}

.password-field {
    position: relative;
}

.password-input {
    letter-spacing: 0.5px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #b88d11;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

    .password-toggle:hover {
        background: rgba(212, 175, 55, 0.12);
        color: #8f6d07;
    }

    .password-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.18);
    }
