body {
    font-family: times;
    background-image: url('images/background01.jpg');
    background-size: cover; /* Gambar akan memenuhi keseluruhan layar */
    background-repeat: no-repeat; /* Elakkan pengulangan gambar */
    background-position: center; /* Pusatkan gambar */
    background-attachment: fixed; /* Gambar tetap apabila pengguna scroll */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Pastikan kandungan ditumpuk secara vertikal */
    align-items: center;
    min-height: 100vh; /* Minimum ketinggian adalah 100vh */
    height: auto; /* Ketinggian menyesuaikan kandungan */
    backdrop-filter: blur(5px);
}

.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.8);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    text-align: center;
}

h2, h3 {
    text-align: center;
    color: #333;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #555;
}

input[type="text"], input[type="password"], input[type="date"], select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 0;
}

button {
        background-color: #007bff; 
        color: white; 
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin: 10px;
        font-size: 16px;
        font-family: times;
}

button:hover {
    background-color: #0056b3;
}

.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    background-color: #818cffa0; 
    padding: 5px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
}

table, th, td {
    border: 1px solid #004080; /* Warna biru */
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #007bff;
    color: white;
}

.no-data {
    color: red;
    text-align: center;
    font-size: 16px;
}

.home-button {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.home-button:hover {
    text-decoration: underline;
}

.p {
    font-size: 20px;
}