﻿/* Enhanced Login Page Styles */
.login-page-enhanced {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

    .login-page-enhanced::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
        animation: login-bg-move 15s ease-in-out infinite;
        pointer-events: none;
    }

.login-container-enhanced {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: login-slideIn 0.8s ease-out;
}

.login-form-section-enhanced {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header-enhanced {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.login-logo-icon-enhanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    animation: login-icon-float 3s ease-in-out infinite;
}

.login-title-enhanced {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.login-subtitle-enhanced {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.login-form-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.login-form-group-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form-label-enhanced {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

    .login-form-label-enhanced i {
        color: #6366f1;
        font-size: 0.9rem;
    }

.login-form-input-enhanced {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
    background: #f8fafc;
}

    .login-form-input-enhanced:focus {
        outline: none;
        border-color: #6366f1;
        background: white;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .login-form-input-enhanced::placeholder {
        color: #94a3b8;
    }

.login-password-container-enhanced {
    position: relative;
}

.login-password-toggle-enhanced {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

    .login-password-toggle-enhanced:hover {
        color: #6366f1;
    }

.login-form-options-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.login-checkbox-container-enhanced {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
    position: relative;
    padding-left: 2rem;
}

    .login-checkbox-container-enhanced input[type="checkbox"] {
        position: absolute;
        left: 0;
        opacity: 0;
        cursor: pointer;
        width: 20px;
        height: 20px;
    }

.login-checkbox-checkmark-enhanced {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .login-checkbox-checkmark-enhanced::after {
        content: '';
        position: absolute;
        display: none;
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.login-checkbox-container-enhanced input[type="checkbox"]:checked ~ .login-checkbox-checkmark-enhanced {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
}

    .login-checkbox-container-enhanced input[type="checkbox"]:checked ~ .login-checkbox-checkmark-enhanced::after {
        display: block;
    }

.login-forgot-password-enhanced {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .login-forgot-password-enhanced:hover {
        color: #4f46e5;
        text-decoration: underline;
    }

.login-validation-message-enhanced {
    font-size: 0.85rem;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .login-validation-message-enhanced::before {
        content: '\f06a';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
    }

.login-alert-enhanced {
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    animation: login-slideDown 0.3s ease-out;
}

.login-alert-error-enhanced {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.login-alert-success-enhanced {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.login-alert-enhanced i {
    font-size: 1.2rem;
}

.login-btn-enhanced {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    margin-top: 0.5rem;
}

    .login-btn-enhanced:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }

    .login-btn-enhanced:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.login-spinner-enhanced {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: login-spin 0.8s linear infinite;
}

.login-footer-enhanced {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.login-footer-text-enhanced {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.login-link-enhanced {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .login-link-enhanced:hover {
        color: #4f46e5;
        text-decoration: underline;
    }

.login-footer-link-enhanced {
    display: inline-block;
    color: #6366f1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
}

    .login-footer-link-enhanced:hover {
        color: #4f46e5;
        text-decoration: underline;
    }

.login-social-enhanced {
    margin-top: 2rem;
}

.login-social-divider-enhanced {
    position: relative;
    text-align: center;
    margin: 2rem 0 1.5rem;
}

    .login-social-divider-enhanced::before,
    .login-social-divider-enhanced::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #e2e8f0;
    }

    .login-social-divider-enhanced::before {
        left: 0;
    }

    .login-social-divider-enhanced::after {
        right: 0;
    }

    .login-social-divider-enhanced span {
        background: white;
        padding: 0 1rem;
        color: #94a3b8;
        font-size: 0.85rem;
        font-weight: 600;
    }

.login-social-buttons-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.login-social-btn-enhanced {
    padding: 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .login-social-btn-enhanced:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .login-social-btn-enhanced i {
        font-size: 1.1rem;
    }

.login-social-google-enhanced {
    color: #db4437;
    border-color: #db4437;
}

    .login-social-google-enhanced:hover {
        background: #db4437;
        color: white;
    }

.login-social-facebook-enhanced {
    color: #1877f2;
    border-color: #1877f2;
}

    .login-social-facebook-enhanced:hover {
        background: #1877f2;
        color: white;
    }

.login-image-section-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .login-image-section-enhanced::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

.login-image-content-enhanced {
    text-align: center;
    position: relative;
    z-index: 1;
}

    .login-image-content-enhanced i {
        font-size: 10rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        animation: login-icon-pulse 3s ease-in-out infinite;
    }

.login-image-title-enhanced {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.login-image-subtitle-enhanced {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto;
}

.login-image-features-enhanced {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-image-feature-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .login-image-feature-enhanced:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

    .login-image-feature-enhanced i {
        font-size: 1.5rem;
        width: 40px;
    }

@keyframes login-slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes login-slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes login-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes login-icon-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes login-icon-pulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes login-bg-move {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

@media (max-width: 1024px) {
    .login-container-enhanced {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .login-image-section-enhanced {
        display: none;
    }
}

@media (max-width: 768px) {
    .login-page-enhanced {
        padding: 1rem;
    }

    .login-form-section-enhanced {
        padding: 2.5rem 2rem;
    }

    .login-title-enhanced {
        font-size: 1.9rem;
    }

    .login-logo-icon-enhanced {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .login-social-buttons-enhanced {
        grid-template-columns: 1fr;
    }

    .login-form-options-enhanced {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .login-form-section-enhanced {
        padding: 2rem 1.5rem;
    }

    .login-title-enhanced {
        font-size: 1.6rem;
    }

    .login-form-input-enhanced {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .login-btn-enhanced {
        padding: 1rem;
        font-size: 1rem;
    }

    .login-logo-icon-enhanced {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}
