body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Sử dụng min-height để đảm bảo nội dung không bị cắt */
    background-size: cover;
    background-position: center;
}

.background {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.auth-container {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px; /* Giảm padding cho màn hình nhỏ */
    border-radius: 10px;
    width: 90%; /* Chiếm 90% chiều rộng màn hình */
    max-width: 500px; /* Giới hạn chiều rộng tối đa */
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.auth-container h2 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem; /* Điều chỉnh kích thước font cho tiêu đề */
}

.auth-container p {
    color: white;
    margin-bottom: 20px;
    font-size: 0.9rem; /* Điều chỉnh kích thước font cho đoạn văn */
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px 40px 12px 15px; /* Giảm padding cho màn hình nhỏ */
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-sizing: border-box;
    font-size: 0.9rem; /* Điều chỉnh kích thước font cho input */
}

.input-group i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: white;
    font-size: 1.1rem; /* Điều chỉnh kích thước font cho icon */
}

.input-group input::placeholder {
    color: white;
}


.remember-forgot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: white;
}

.remember-forgot a {
    color: white;
    text-decoration: none;
}
button {
    width: 100%;
    padding: 12px; /* Giảm padding cho màn hình nhỏ */
    border: none;
    border-radius: 5px;
    background-color: var(--primary-500);
    color: white;
    cursor: pointer;
    font-size: 1rem; /* Điều chỉnh kích thước font cho button */
}

button:hover {
    background-color: #0056b3;
}

.copyright {
    color: white;
    margin-top: 20px;
    font-size: 0.8rem; /* Điều chỉnh kích thước font cho copyright */
}

/* Media query cho màn hình lớn hơn 768px */
@media (min-width: 768px) {
    .auth-container {
        padding: 40px; /* Tăng padding cho màn hình lớn */
    }

    .auth-container h2{
        font-size: 1.8rem;
    }
    .auth-container p,
    .input-group input,
    .input-group i,
    button,
    .copyright {
        font-size: 1rem; /* Phục hồi kích thước font mặc định */
    }
}
