* {
    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;
    /* màu xanh dương */
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    width: 450px;
}

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

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

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

.form-box select {
    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;
    width: 100%;
    transition: background-color 0.3s ease;
}

.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);
}

.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-text {
    white-space: pre-wrap;
    line-height: 1.5;
}