.login-container {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 2rem;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    width: 100%;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-box {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.login-form-container {
    text-align: center;
    width: 100%;
}

.login-form-container h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-form-container .subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.input-wrapper input::placeholder {
    color: #999;
}
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 2.8rem;
}
.emoji-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0.8rem;
    position: absolute;
    z-index: 2;
}

.emoji-btn:hover {
    transform: scale(1.2);
    animation: shake 0.3s ease;
}

.emoji-btn:active {
    transform: scale(0.95);
}

.emoji-icon {
    display: block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 28px;
}

@keyframes shake {
    0%, 100% { transform: scale(1.2) rotate(0deg); }
    25% { transform: scale(1.2) rotate(-5deg); }
    75% { transform: scale(1.2) rotate(5deg); }
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
}

.remember-me input {
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn i {
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(3px);
}
.signup-link {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    color: var(--secondary-color);
}
.social-login {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.social-login p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-btn.facebook {
    background: #1877F2;
    color: white;
}

.social-btn.google {
    background: #EA4335;
    color: white;
}

.social-btn.github {
    background: #333;
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.login-side {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.side-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.benefits li i {
    font-size: 1.2rem;
}
@media (max-width: 1024px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-side {
        display: none;
    }

    .login-box {
        padding: 2rem;
    }

    .login-form-container h1 {
        font-size: 1.6rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
    }

    .login-wrapper {
        border-radius: 12px;
    }

    .login-box {
        padding: 1.8rem;
    }

    .login-form-container h1 {
        font-size: 1.5rem;
    }

    .login-form-container .subtitle {
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .input-wrapper input {
        padding: 0.8rem 0.9rem 0.8rem 2.3rem;
        font-size: 0.9rem;
    }

    .emoji-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
        right: 0.7rem;
    }

    .emoji-icon {
        font-size: 24px;
    }

    .form-options {
        font-size: 0.85rem;
    }

    .login-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .social-buttons {
        gap: 0.8rem;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        min-height: calc(100vh - 80px);
        padding: 1rem;
    }

    .login-wrapper {
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .login-box {
        padding: 1.5rem 1.2rem;
    }

    .login-form-container h1 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .login-form-container .subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .input-wrapper {
        position: relative;
    }

    .input-wrapper i {
        left: 0.8rem;
        font-size: 0.9rem;
    }

    .input-wrapper input {
        padding: 0.75rem 0.8rem 0.75rem 2.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .password-wrapper input {
        padding-right: 2.6rem;
    }

    .emoji-btn {
        width: 32px;
        height: 32px;
        font-size: 22px;
        right: 0.6rem;
    }

    .emoji-icon {
        font-size: 22px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        font-size: 0.8rem;
    }

    .remember-me {
        margin-bottom: 0.4rem;
    }

    .remember-me input {
        margin-right: 0.4rem;
    }

    .forgot-password {
        font-size: 0.8rem;
    }

    .login-btn {
        padding: 0.85rem;
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        gap: 0.4rem;
    }

    .login-btn span {
        font-weight: 700;
    }

    .login-btn i {
        font-size: 0.85rem;
    }

    .signup-link {
        margin-bottom: 1.2rem;
        font-size: 0.8rem;
    }

    .social-login {
        border-top: 1px solid #e0e0e0;
        padding-top: 1.2rem;
    }

    .social-login p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .social-buttons {
        gap: 0.6rem;
    }

    .social-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}
.login-wrapper {
    grid-template-columns: 1fr; /* chỉ 1 cột */
    justify-items: center;
}