﻿/* ============================================
   AUTHENTICATION PAGES STYLES
   ============================================ */

/* Auth Page Wrapper - Full height layout */
.auth-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Auth Container - Two-panel layout */
.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    max-width: 1100px;
    width: 100%;
    min-height: 650px;
}

/* Left Panel - Branding Side */
.auth-branding-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex: 1;
    padding: 60px 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-branding-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.branding-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    margin-bottom: 30px;
}

.brand-logo i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Feature List in Branding */
.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-feature-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    opacity: 0.9;
}

.auth-feature-list li i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Right Panel - Form Side */
.auth-form-side {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.auth-form-header {
    margin-bottom: 40px;
    text-align: center;
}

.auth-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.auth-form-subtitle {
    color: #718096;
    font-size: 1rem;
}

/* Form Elements */
.auth-form-group {
    margin-bottom: 24px;
}

.auth-form-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.auth-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.auth-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.auth-input::placeholder {
    color: #a0aec0;
}

/* Error Messages */
.auth-error {
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #c53030;
    font-size: 0.9rem;
}

.auth-error ul {
    margin: 0;
    padding-left: 20px;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* Remember Me & Links */
.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
}

.auth-remember-label input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer Links */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer-text {
    color: #718096;
    font-size: 0.95rem;
}

/* Registration Form Sections */
.form-section {
    margin-bottom: 35px;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.form-section-title i {
    margin-right: 12px;
    color: #667eea;
    font-size: 1.3rem;
}

/* Password Requirements */
.password-requirements {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 12px 16px;
    margin-top: 8px;
    border-radius: 6px;
}

.password-requirements h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.85rem;
    color: #718096;
}

.password-requirements li {
    margin-bottom: 4px;
}

/* Terms & Conditions */
.terms-checkbox-wrapper {
    background: #f7fafc;
    padding: 16px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.terms-checkbox-label {
    display: flex;
    align-items: start;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
}

.terms-checkbox-label input {
    margin-top: 4px;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Message Cards (Pending, Access Denied) */
.auth-message-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.auth-message-icon {
    margin-bottom: 30px;
}

.auth-message-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.auth-message-text {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-message-alert {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0e6ff 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.auth-message-alert h5 {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-message-alert p {
    color: #4a5568;
    margin: 0;
    font-size: 0.95rem;
}

.auth-message-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.auth-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Wide Registration Container */
.auth-container-wide {
    max-width: 1200px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
        max-width: 600px;
    }

    .auth-branding-side {
        padding: 40px 30px;
        min-height: auto;
    }

    .brand-title {
        font-size: 2rem;
    }

    .auth-form-side {
        padding: 40px 30px;
    }

    .auth-message-card {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .auth-page-wrapper {
        padding: 10px;
    }

    .auth-branding-side {
        padding: 30px 20px;
    }

    .brand-title {
        font-size: 1.75rem;
    }

    .brand-subtitle {
        font-size: 1rem;
    }

    .auth-form-side {
        padding: 30px 20px;
    }

    .auth-form-title {
        font-size: 1.5rem;
    }

    .auth-input {
        padding: 12px 14px;
    }

    .auth-submit-btn {
        padding: 14px;
        font-size: 1rem;
    }

    .auth-message-card {
        padding: 30px 20px;
    }

    .auth-message-title {
        font-size: 1.5rem;
    }

    .form-section-title {
        font-size: 1.1rem;
    }
}
