﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 20px 40px;
    background-color: #004a99; /* Xanh đậm thương hiệu */
    border-bottom: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
    font-weight: 600;
    font-size: bold;
    color: white; /* chữ trắng trên nền xanh */
}

.vifa {
    color: white;
}

.sport {
    color: red;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: #ffffff; /* nền trắng */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004a99; /* chữ xanh đậm */
    font-weight: bold;
    font-size: 14px;
}

.main-container {
    flex: 1;
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.illustration {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: #004a99;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #666;
    font-size: 14px;
}

    .form-subtitle a {
        color: #4285f4;
        text-decoration: none;
    }

        .form-subtitle a:hover {
            text-decoration: underline;
        }

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

    .social-btn:hover {
        background: #f8f9fa;
        border-color: #ccc;
    }

    .social-btn.google {
        color: #333;
    }

    .social-btn.microsoft {
        background: #2f2f2f;
        color: white;
        border-color: #2f2f2f;
    }

        .social-btn.microsoft:hover {
            background: #404040;
        }

.divider {
    text-align: center;
    margin: 24px 0;
    color: #666;
    font-size: 14px;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e9ecef;
        z-index: 1;
    }

    .divider span {
        background: white;
        padding: 0 16px;
        position: relative;
        z-index: 2;
    }

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    color: #004a99;
    font-size: 14px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #99caff;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    background: #f8f9fa;
}

    .form-input:focus {
        outline: none;
        border-color: #4285f4;
        background: white;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #0066cc; /* xanh mạnh mẽ */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

    .submit-btn:hover {
        background: #004a99;
    }

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .left-section {
        padding: 20px;
    }

    .right-section {
        padding: 20px;
    }

    .social-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .full-layout {
        flex-direction: column;
    }

    .image-section {
        height: 40vh;
    }

    .login-section {
        width: 100%;
        height: 60vh;
    }
}

/* Cấu trúc 2 cột: ảnh bên trái, form bên phải */
.image-section {
    flex: 1;
    background-color: #e6f4ff; /* xanh pastel dịu */
    overflow: hidden;
}

/* Ảnh chiếm toàn bộ phần còn lại */
.image-section {
    flex: 1;
    background-color: #e6f4ff; /* xanh pastel dịu */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ảnh mở rộng tối đa */
.illustration-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* đảm bảo không méo */
}

/* Form dịch sát phải, giữ kích thước */
.login-section {
    width: 500px;
    max-width: 100%;
    background-color: #e6f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.footer {
    padding: 20px 40px;
    background: #e6f4ff; /* màu xanh pastel dịu */
    border-top: 1px solid #c0e0ff;
    display: flex;
    justify-content: center;
    gap: 24px;
}
