/* Login Page Styles */

.login-page-wrapper {
    min-height: calc(100vh - 200px);
    background: #f8f9fa;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 200px);
}

/* Left Section: Login Form */
.login-form-section,
.signup-form-section {
    background: #ffffff;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
}

.login-form-content {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    color: #1a1a1a;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #013466;
    box-shadow: 0 0 0 3px rgba(1, 52, 102, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #013466;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.login-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #013466;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.login-submit-btn:hover {
    background: #012a52;
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.forgot-password-link,
.reset-password-link {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.forgot-password-link:hover,
.reset-password-link:hover {
    color: #013466;
    text-decoration: underline;
}

.social-login-section {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.social-login-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    text-align: center;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s, border-color 0.3s;
}

.social-login-btn:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
}

.social-login-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.signup-prompt {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.signup-link {
    color: #013466;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.3s;
}

.signup-link:hover {
    color: #012a52;
    text-decoration: underline;
}

/* Right Section: Promotional Content */
.login-promo-section {
    background: linear-gradient(135deg, #013466 0%, #1a472a 100%);
    padding: 4rem 4rem 2rem 4rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="brush" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,30 50,50 T100,50" stroke="rgba(255,255,255,0.05)" fill="none" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23brush)"/></svg>');
    opacity: 0.4;
}

.promo-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 0;
}

.promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promo-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.6;
}

.promo-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #013466;
    stroke: #013466;
    fill: none;
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-promo-section {
        display: none;
    }
    
    .login-form-section,
    .signup-form-section {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .login-form-content {
        max-width: 100%;
    }
    
    .login-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Social Login Disabled State */
.social-login-btn.social-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #e0e0e0;
    color: #666;
}

.social-login-btn.social-disabled:hover {
    transform: none;
    box-shadow: none;
}

.social-coming-soon {
    text-align: center;
    color: #888;
    font-size: 0.875rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Registration Disabled Notice */
.registration-disabled-notice {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}

.registration-disabled-notice .notice-icon {
    margin-bottom: 1rem;
    color: #6c757d;
}

.registration-disabled-notice .notice-icon svg {
    stroke: #ffc107;
}

.registration-disabled-notice h3 {
    color: #343a40;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.registration-disabled-notice p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}.registration-disabled-notice p:last-child {
    margin-bottom: 0;
}

/* Error Messages */
.login-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
    font-size: 0.9rem;
}.login-success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    font-size: 0.9rem;
}
