/* check_invoice.css */
.body {
    font-family: Arial, sans-serif;
    background-color: #36454F;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
body {
    font-family: Arial, sans-serif;
    background-image: url('../KULON.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Mengunci gambar agar tidak berkedip */
    color: #f0f0f0; /* Warna teks utama putih terang untuk kontras */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.container {
    background: rgba(47, 60, 72, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    text-align: center;
}
container {
    background: rgba(47, 60, 72, 0.8);
    backdrop-filter: blur(1px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
co
h1 {
    color: #ADD8E6;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #D3D3D3;
}
input[type="text"] {
    width: calc(100% - 20px);
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #E0FFFF;
    color: #333;
    font-size: 1em;
    box-sizing: border-box;
}
.btn-check {
    background-color: #6A5ACD;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}
.btn-check:hover {
    background-color: #483D8B;
}
.error {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.back-link {
    display: block;
    margin-top: 25px;
    color: #ADD8E6;
    text-decoration: none;
    font-size: 0.95em;
}
.back-link:hover {
    text-decoration: underline;
}

/* --- Loading Overlay Styles --- */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Pastikan di atas semua elemen */
    opacity: 0; /* Awalnya tersembunyi */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}