body {
    font-family: 'Roboto', sans-serif;
    background-image: url('background.jpg'); /* Pastikan path ini benar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f7f7f7; /* Warna fallback */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    margin-top: 60px;
    margin-bottom: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header {
    margin-bottom: 40px;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.header h1 {
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 2.2em;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

.header h2 {
    color: #555;
    font-size: 1.3em;
    margin-top: 5px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.1;
}

.header p {
    color: #666;
    font-size: 1em;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
}

.countdown-box {
    background-color: rgba(233, 236, 239, 0.8);
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    width: fit-content;
    box-sizing: border-box;
}

.countdown-box p {
    color: #495057;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.1em;
}

#waktu-mundur {
    font-size: 1.6em;
    font-weight: bold;
    color: #007bff;
}

.search-box {
    margin-bottom: 20px;
    width: 80%;
    max-width: 350px;
}

.search-box input[type="text"] {
    padding: 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1.0em;
    flex-grow: 1;
    box-sizing: border-box;
    width: 100%;
}

.search-button-container {
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 350px;
}

.search-button-container button {
    padding: 14px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.0em;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.search-button-container button:hover {
    background-color: #0056b3;
}

.result-box {
    background-color: rgba(248, 249, 250, 0.8);
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center; /* Membuat teks di dalam result-box menjadi tengah */
    margin-top: 30px;
    margin-bottom: 20px;
    width: 80%;
    max-width: 500px;
    box-sizing: border-box;
}

.result-box h2 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.7em;
    text-align: center;
}

.result-box p {
    color: #495057;
    font-size: 1em;
    margin-bottom: 8px;
    text-align: center;
}

.result-box p strong {
    font-weight: bold;
}

.result-box .hasil-lulus,
.result-box .hasil-tidak-lulus {
    display: block;
    font-size: 1.7em;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 0;
    text-align: center;
}

.result-box .hasil-lulus {
    color: green;
}

.result-box .hasil-tidak-lulus {
    color: red;
}

.hasil-tidak-ditemukan, .hasil-error {
    color: #dc3545;
    text-align: center;
}

.footer {
    margin-top: 60px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9em;
}

#hasil-pengumuman {
    display: none;
    margin-top: 30px;
    margin-bottom: 0;
    padding: 0;
}
.kata-mutiara-menyentuh {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: rgba(248, 249, 250, 0.7); /* Latar belakang lembut */
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
}