/* File: css/bootstrap.css */
/* Bootstrap Global untuk notifikasi, toast, warning, confirmation box */

.toast-container { position: fixed; top: 16px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); background: #fff; color: #1b1e23; border: 1px solid #d1d5db; opacity: 0.95; transition: opacity 0.3s, transform 0.3s; }
.toast-success { border-color: #16a34a; background: #ecfdf5; }
.toast-error { border-color: #dc2626; background: #fef2f2; }
.toast-info { border-color: #d1d5db; background: #ffffff; }
.toast.hide { opacity: 0; transform: translateY(-4px); }

.ui-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; z-index: 9998; }
.ui-modal { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; width: 360px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.ui-modal-content { font-size: 15px; color: #1b1e23; margin-bottom: 16px; }
.ui-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

.alert-banner { position: fixed; top: 0; left: 0; right: 0; padding: 12px 16px; text-align: center; z-index: 9997; font-weight: 600; }
.alert-success { background: #ecfdf5; color: #166534; border-bottom: 1px solid #16a34a; }
.alert-error { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #dc2626; }
.alert-info { background: #eff6ff; color: #1e3a8a; border-bottom: 1px solid #0ea5e9; }

.spinner-overlay { position: fixed; inset: 0; background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; z-index: 9996; }
.spinner { width: 40px; height: 40px; border: 4px solid #d1d5db; border-top-color: #0d6efd; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
