/* register.php specific styles */
.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    padding: 50px;
    background: var(--secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
}

.auth-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.founding-member-badge {
    background: linear-gradient(135deg, rgba(242, 178, 0, 0.1), rgba(242, 178, 0, 0.2));
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 178, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(242, 178, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 178, 0, 0); }
}

.founding-member-badge p {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
}

.founding-member-badge small {
    color: var(--text-light);
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #ffcc00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 178, 0, 0.3);
}

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

.submit-btn:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    color: var(--text-light);
    font-size: 15px;
}

.auth-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

.toggle-password:hover {
    color: var(--text);
}

.math-test {
    background: var(--primary);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
}

.math-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
}

.math-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
}

.terms-checkbox {
    margin: 25px 0;
    padding: 15px;
    background: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.terms-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.terms-link:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    position: relative;
    background: var(--secondary);
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-header {
    padding: 20px 30px;
    background: #000;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.modal-body h2 {
    color: var(--accent);
    margin: 20px 0 10px 0;
    font-size: 20px;
}

.modal-body h3 {
    color: var(--text);
    margin: 15px 0 8px 0;
    font-size: 16px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

.modal-body ul, .modal-body ol {
    margin: 15px 0 15px 20px;
    color: var(--text-light);
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-body .important {
    background: var(--primary);
    color: var(--text);
    border-left: 4px solid var(--accent);
}

.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.weak { color: #f44336; }
.medium { color: #ff9800; }
.strong { color: #4CAF50; }

.info-box {
    background: rgba(242, 178, 0, 0.05);
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.info-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.info-box strong {
    color: var(--accent);
}

@media (max-width: 600px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .auth-container {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .auth-subtitle {
        font-size: 16px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(90vh - 120px);
    }
}

@media (max-width: 400px) {
    .auth-container {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .nav-left {
        font-size: 18px;
    }
    
    .film-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}
