/* style.css (Shared File) */

/* Base font style for the entire application */
body { 
    font-family: 'Inter', sans-serif; 
}

/* Toast notification styles (used on all pages) */
.toast {
    position: fixed; top: 20px; right: 20px; padding: 1rem 1.5rem;
    border-radius: 0.5rem; color: white; z-index: 1000; opacity: 0;
    transform: translateY(-20px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background-color: #22c55e; }
.toast.error { background-color: #ef4444; }

/* Styles for Admin Dashboard & Status Badges */
.status-badge {
    display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-masuk { background-color: #3b82f6; color: white; }
.status-diproses { background-color: #f97316; color: white; }
.status-selesai { background-color: #22c55e; color: white; }

#password-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
}

/* Styles for User Page - Cek Status & Modal */
#status-result-container {
    padding: 1rem; border-radius: 0.5rem; border: 1px solid #e5e7eb;
    background-color: #f9fafb; min-height: 50px;
}

.custom-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6); z-index: 2000;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-content {
    background: white; padding: 1.5rem; border-radius: 0.75rem;
    width: 100%; max-width: 450px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* New Styles for Admin Dashboard */
.stat-box { color: white; padding: 1rem; border-radius: 0.5rem; }
.stat-title { font-size: 0.875rem; font-weight: 500; }
.stat-number { font-size: 1.875rem; font-weight: 700; }
.accordion-toggle { cursor: pointer; }
.filter-input {
    margin-top: 0.25rem; display: block; width: 100%; padding: 0.5rem;
    background-color: #f9fafb; border: 1px solid #d1d5db; border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.filter-input:focus {
    outline: none; --tw-ring-color: #3b82f6;
    border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6;
}
.action-btn {
    display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem;
    font-weight: bold; padding: 0.25rem 0.75rem; border-radius: 0.375rem;
    transition: background-color 0.2s;
}
