/* Member Login Page Styles */
.login-main {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-blue) 50%, var(--primary-navy) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.login-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><circle cx="150" cy="150" r="80" fill="white"/><circle cx="850" cy="200" r="60" fill="white"/><circle cx="200" cy="800" r="100" fill="white"/><circle cx="900" cy="850" r="40" fill="white"/><circle cx="500" cy="300" r="30" fill="white"/><circle cx="700" cy="700" r="50" fill="white"/></svg>');
    pointer-events: none;
}

.login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Login Form Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #f39c12, var(--primary-orange));
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    margin-bottom: 1.5rem;
}

.login-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
    box-shadow: 0 8px 20px rgba(231, 126, 34, 0.3);
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-orange);
}

.form-input {
    padding: 1rem;
    border: 2px solid var(--gray-100);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(231, 126, 34, 0.1);
    transform: translateY(-2px);
}

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

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
    user-select: none;
}

.checkbox-container input {
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid var(--gray-100);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.checkbox-container input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.forgot-password {
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #d35400;
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-orange), #f39c12);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.login-btn:hover {
    background: linear-gradient(135deg, #d35400, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 126, 34, 0.4);
}

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

/* Login Footer */
.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.divider {
    position: relative;
    margin: 1.5rem 0;
    color: var(--gray-600);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-100);
}

.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
}

.register-prompt {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.register-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #d35400;
    text-decoration: underline;
}

/* Services Preview */
.services-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.services-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.services-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.service-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Contact Support */
.contact-support {
    background: rgba(231, 126, 34, 0.1);
    border: 1px solid rgba(231, 126, 34, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.contact-support h4 {
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-support p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.support-contacts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #f39c12;
}

/* Footer Section */
.login-footer-section {
    background: var(--primary-navy);
    color: white;
    padding: 2rem 0;
}

.footer-content-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo-simple img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-simple h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.footer-logo-simple p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-reg-simple {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links-simple {
    display: flex;
    gap: 1rem;
}

.footer-links-simple a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-simple a:hover {
    color: var(--primary-orange);
}

/* Navigation Active State */
.nav-active {
    color: var(--primary-orange) !important;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }
    
    /*.services-preview {
        order: -1;
    }*/
    
    .services-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .login-main {
        padding: 100px 0 60px;
    }
    
    .login-container {
        padding: 0 16px;
        gap: 2rem;
    }
    
    .login-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
    
    .services-preview {
        padding: 2rem;
        border-radius: 1.5rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-content-simple {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .support-contacts {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .login-card,
    .services-preview {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .services-title {
        font-size: 1.5rem;
    }
}

/* Loading States */
.login-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}