/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(46, 134, 193, 0.85) 100%), 
                url('../img/about-header-bg.jpg') center center/cover no-repeat;
    padding: 40px 20px;
}

.auth-box {
    background: var(--white);
    border-radius: 30px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.register-box {
    max-width: 500px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 90px;
}

.auth-box h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    color: var(--text-dark);
}

.auth-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.auth-form .form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-options a {
    color: var(--primary-color);
}

.form-checkbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 14px;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
}

.btn-back i {
    font-size: 12px;
}

/* Gender Group */
.gender-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0;
}

.gender-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 60px;
    line-height: 18px;
}

.gender-options {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    vertical-align: middle;
}

.radio-label span {
    color: var(--text-dark);
    line-height: 18px;
}

/* Terms View Button */
.btn-view-terms {
    margin-left: 5px;
    padding: 4px 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-view-terms:hover {
    background: var(--secondary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.modal-footer .btn {
    padding: 12px 30px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: 50vh;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

/* Auth Description */
.auth-description {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.auth-links span {
    color: #ddd;
}

.auth-links a {
    color: var(--primary-color);
}

/* Find ID Result */
.find-result {
    text-align: center;
    padding: 30px 0;
}

.result-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.find-result h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.find-result p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.result-id {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 134, 193, 0.1) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.result-id strong {
    font-size: 18px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.result-actions .btn {
    padding: 12px 25px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .auth-box {
        padding: 30px 25px;
    }
    
    .auth-box h2 {
        font-size: 24px;
    }
    
    .gender-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-checkbox label {
        flex-wrap: wrap;
    }
    
    .btn-view-terms {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
}


