﻿﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100vw;
    background: url('/Content/images/background_room.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* Glassmorphism Card Effect */
.glass-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    color: #ffffff;
}

    .glass-card h2 {
        font-size: 26px;
        font-weight: 400;
        margin-bottom: 30px;
        letter-spacing: 0.5px;
    }

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    position: relative;
    text-align: left;
}

    .input-group input {
        width: 100%;
        padding: 14px 20px;
        border-radius: 25px;
        border: none;
        background: rgba(255, 255, 255, 0.18);
        outline: none;
        color: #ffffff;
        font-size: 14px;
        transition: background 0.3s ease;
    }

        .input-group input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .input-group input:focus {
            background: rgba(255, 255, 255, 0.25);
        }

.text-danger, .validation-summary-errors {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
    text-align: left;
    padding-left: 10px;
}

    .validation-summary-errors ul {
        list-style: none;
        padding: 0;
    }

/* Login Button */
.btn-login {
    width: 100%;
    padding: 13px;
    border-radius: 25px;
    border: none;
    background: #7a2b4b; /* Màu đỏ mận sẫm chuẩn tone hoàng hôn */
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.3s ease, transform 0.1s ease;
}

    .btn-login:hover {
        background: #8e3258;
    }

    .btn-login:active {
        transform: scale(0.98);
    }

/* Links */
.form-links {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 5px;
}

    .form-links a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: color 0.2s;
    }

        .form-links a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* Divider */
.divider {
    position: relative;
    margin: 25px 0 20px;
    text-align: center;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        z-index: 1;
    }

    .divider span {
        position: relative;
        background: rgba(255, 255, 255, 0);
        padding: 0 10px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
        letter-spacing: 1px;
        z-index: 2;
    }

/* Social Buttons */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

    .social-btn:hover {
        transform: translateY(-2px);
    }

    .social-btn.google {
        color: #ea4335;
    }

    .social-btn.facebook {
        background: #1877f2;
        color: #ffffff;
    }

/* Tùy chỉnh riêng cho khung Đăng ký */
.register-card {
    max-width: 480px;
    padding: 30px 35px;
    margin: 20px 0;
}

    .register-card h2 {
        margin-bottom: 20px;
    }

    .register-card .login-form {
        gap: 12px; /* Thu hẹp khoảng cách giữa các dòng để giao diện gọn gàng */
    }

/* Đảm bảo trang có thể cuộn trên màn hình điện thoại nhỏ */
body {
    overflow-y: auto;
}
