* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #e0f2f1;
}

/* Container toàn trang, dùng Flex để canh giữa */
.container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vùng hình chữ nhật xanh */
.form-box {
    background-color: #2196f3;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    height: auto;
    width: 650px;
}

.form-box h2 {
    margin-bottom: 20px;
}

.form-box label {
    width: 40%;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    text-align: left;
    display: inline-block;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.form-box input[type="checkbox"] {
    width: 10%;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    display: inline-block;
}

.form-box textarea {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.form-box button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0d47a1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    height: 10%;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-box button:hover {
    background-color: #1565c0;
}

.modal {
    display: none;
    /* Ẩn ban đầu */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #e6e6e6;
    color: rgb(9, 25, 168);
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-height: 70vh;
    overflow-y: auto;
    /* Cho phép cuộn */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}