﻿.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--color-bg-app);
    color: var(--color-text-primary);
    transition: background var(--transition-normal), color var(--transition-normal);
    padding: 1.5rem;
}

.login-card {
    background: var(--color-bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

    .login-header h3 {
        font-weight: 600;
        color: var(--color-text-primary);
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
    }

    .login-header i {
        font-size: 1.9rem;
        color: var(--color-accent);
        text-shadow: 0 2px 6px rgba(66, 99, 235, 0.25);
    }

.row.g-0 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.login-left {
    flex: 1;
    padding-right: 1.5rem;
    border-right: 1px solid var(--color-border);
}

    .login-left h4 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--color-text-primary);
    }

.form-label {
    font-weight: 500;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

    .btn-primary:hover {
        background: var(--color-accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(66, 99, 235, 0.35);
    }

.alert {
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.75rem;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.login-right {
    flex: 1;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-right h5 {
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--color-text-primary);
        text-align: center;
    }

.social-btn {
    border: none;
    border-radius: 10px;
    height: 46px;
    width: 100%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
    color: #fff;
}

    .social-btn.google {
        background: #DB4437;
        box-shadow: 0 4px 10px rgba(219, 68, 55, 0.25);
    }

        .social-btn.google:hover {
            background: #c23321;
            box-shadow: 0 6px 14px rgba(219, 68, 55, 0.35);
        }

    .social-btn.microsoft {
        background: #0078D4;
        box-shadow: 0 4px 10px rgba(0, 120, 212, 0.25);
    }

        .social-btn.microsoft:hover {
            background: #106ebe;
            box-shadow: 0 6px 14px rgba(0, 120, 212, 0.35);
        }

/**/
.link-user {
    display: flex;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 8px 0px 0px 0px;
    align-items: center;
}

.link-user__item {
    cursor: pointer;
    transition: color var(--transition-fast);
    text-align: center;
    align-items: center;
    justify-content: center;
}

    .link-user__item:hover {
        color: var(--color-accent);
        background: var(--color-bg-secondary);
    }



:root[data-theme="dark"] .social-btn.google {
    background: #c53929;
}

:root[data-theme="dark"] .social-btn.microsoft {
    background: #106ebe;
}

@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
        max-width: 95%;
    }

    .row.g-0 {
        flex-direction: column;
        gap: 2rem;
    }

    .login-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 1.5rem;
    }

    .login-right {
        padding-left: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
