* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-page-body {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.auth-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
}

.auth-page-body .contact-footer {
    width: 100%;
    max-width: 480px;
    margin-top: 2px;
    padding: 10px 8px 0;
    border-top: 0;
    background: transparent;
    color: #DBEAFE;
}

.auth-page-body .contact-footer a {
    color: #FFFFFF;
}

.auth-header {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
    color: white;
    padding: 32px;
    text-align: center;
}

.auth-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
}

.auth-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 16px;
    opacity: 0.9;
}

.flash-message {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
}

.flash-message.success {
    background: #DEF7EC;
    color: #03543F;
    border-left: 4px solid #0E9F6E;
}

.flash-message.error {
    background: #FDE8E8;
    color: #9B1C1C;
    border-left: 4px solid #F05252;
}

.offer-banner {
    margin: 18px 32px 0;
    padding: 18px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0) 38%),
        linear-gradient(135deg, #0F3EAC 0%, #1D4ED8 48%, #0E7490 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(30, 64, 175, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.offer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.offer-copy {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.offer-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.offer-points li {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.mfa-guide {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
    color: #111827;
}

.mfa-guide-inline {
    margin: 18px 32px 0;
}

.mfa-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1D4ED8;
    margin-bottom: 8px;
}

.mfa-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mfa-copy {
    font-size: 12px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 8px;
}

.mfa-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #1F2937;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.auth-form {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.btn-primary {
    width: 100%;
    height: 48px;
    background: #2563EB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #1E40AF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    padding: 24px 32px 32px;
    text-align: center;
    border-top: 1px solid #E5E7EB;
}

.auth-footer p {
    font-size: 14px;
    color: #6B7280;
}

.auth-footer a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 640px) {
    .auth-page-body {
        padding: 12px;
        gap: 8px;
    }

    .auth-container {
        border-radius: 12px;
    }

    .auth-logo {
        max-width: 150px;
        margin-bottom: 12px;
    }
    
    .auth-header {
        padding: 20px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .flash-message {
        padding: 10px 20px;
    }

    .auth-form {
        padding: 20px;
    }

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

    .form-group input,
    .form-group select {
        height: 46px;
        font-size: 16px;
    }

    .offer-banner {
        margin: 14px 24px 0;
        padding: 14px;
    }

    .mfa-guide-inline {
        margin: 14px 24px 0;
    }

    .offer-points {
        grid-template-columns: 1fr;
    }
    
    .auth-footer {
        padding: 20px 24px 24px;
    }

    .auth-page-body .contact-footer {
        max-width: 100%;
        font-size: 12px;
    }
}
