﻿:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
}

.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.h-custom {
    height: calc(100% - 73px);
}

.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.form-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.social-login-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
}

    .social-login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        outline: none;
    }

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    border-radius: 12px;
    padding: 0.875rem 3rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
        background: linear-gradient(135deg, var(--primary-hover), #3730a3);
    }

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input {
    border-radius: 6px;
    border: 2px solid var(--border-color);
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .form-check-input:focus {
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        border-color: var(--primary-color);
    }

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.illustration-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .illustration-side img {
        max-width: 100%;
        filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
        animation: float 3s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .link-primary:hover {
        color: var(--primary-hover);
        text-decoration: underline;
    }

.forgot-password-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

    .forgot-password-link:hover {
        color: var(--primary-color);
    }

@media (max-width: 768px) {
    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.75rem;
    }
}
