/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    background-image: url(assets/background4.jpg);
    background-size: cover;
    /* Đảm bảo hình nền bao phủ toàn bộ */
    background-position: center;
    /* Căn giữa hình nền */
    background-repeat: no-repeat;
    /* Không lặp lại hình nền */
    display: block;
    /* Loại bỏ Flexbox để hình nền không bị giới hạn */
}


.logo img {
    width: 210px;
    height: auto;
    margin-bottom: 20px;
}


.content-box {
    position: absolute;
    /* Đặt nội dung ở giữa màn hình */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Căn giữa nội dung */
    border-radius: 15px;
    padding: 20px;
    background-color: rgba(53, 52, 52, 0.719);
    color: #ffffff;
    text-align: center;
    max-width: 700px;
    width: 90%;
    max-height: 400px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.signup-form {
    display: flex;
    flex-direction: column;
}

h3 {
    color: #3f63fe;
}

.notice-text {
    color: white;
    text-transform: uppercase;
}

.blue-text {
    color: #3f63fe;
}

.heading {
    font-size: 80px;
    font-weight: bold;
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.icon-circle:hover {
    background-color: #3f63fe;
    color: white;
    transform: scale(1.1);
}


.social-media a {
    color: rgb(165, 165, 165);
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 30px;
}

.login-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    /* Giảm chiều rộng */
    height: 50px;
    /* Giảm chiều cao */
    font-size: 14px;
    /* Giảm kích thước chữ */
    padding: 5px;
    /* Giảm khoảng cách bên trong */
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    text-transform: uppercase;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.3);
}

.login-button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 25px 7px rgba(255, 255, 255, 0.5);
}


@media (max-width: 768px) {
    .flex-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .flex-item {
        flex: 1 1 100%;
    }

    .heading {
        font-size: 36px;
    }
}

i {
    margin-right: 10px;
}

a {
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 5px;
    margin: 0px auto;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    /* Hiệu ứng mượt mà */
}

a:hover {
    background-color: #3f63fe;
    /* Đổi màu nền khi hover */
    color: #ffffff;
    /* Đổi màu chữ khi hover */
    box-shadow: 0 4px 10px rgba(63, 99, 254, 0.5);
    /* Thêm bóng nhẹ khi hover */
    transform: translateY(-2px);
    /* Hiệu ứng nổi nhẹ */
}

/* --- FIX LỖI TRÌNH DUYỆT OPERA / EDGE BỊ DÍNH DƯỚI --- */
@supports (-webkit-appearance:none) {
    .content-box {
        padding-bottom: 40px !important;
        /* Thêm khoảng cách dưới */
    }

    .notice-text {
        margin-bottom: 20px !important;
        /* Đảm bảo không sát mép */
        display: block;
    }

    .notice-text,
    .notice-text * {
        text-transform: uppercase !important;
        margin-bottom: 40px !important;
        /* <-- Tăng khoảng cách với đáy */
    }

}

/* Trường hợp Opera không hỗ trợ @supports thì fallback */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .content-box {
        padding-bottom: 40px !important;
    }

    .notice-text {
        margin-bottom: 20px !important;
    }

}

.pagination-outer-wrapper {
    width: 100%;
    overflow-x: auto;
}

.pagination-container {
    min-width: max-content;
    display: inline-block;
}

.pagination-container ul {
    display: flex;
    gap: 6px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.pagination-container li {
    display: inline-block;
    white-space: nowrap;
}