/* =============================================
   UNIWELLSYS - Admin & Common UI Styles
   ============================================= */

/* Toast */
.toast { position:fixed; bottom:30px; left:50%; transform:translateX(-50%) translateY(100px); background:#333; color:#fff; padding:12px 28px; border-radius:8px; font-size:14px; z-index:100000; transition:transform 0.3s; box-shadow:0 4px 20px rgba(0,0,0,0.3); }
.toast.show { transform:translateX(-50%) translateY(0); }
.toast.success { background:#27ae60; }
.toast.error { background:#e74c3c; }

/* Modal */
.modal-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:10000; align-items:center; justify-content:center; padding:20px; }
.modal-overlay.active { display:flex; }
.modal-box { background:#fff; border-radius:16px; width:100%; max-width:600px; max-height:90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,0.3); }
.modal-header { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid #eee; }
.modal-header h3 { font-size:18px; font-weight:700; color:#1a1a2e; margin:0; }
.modal-close { background:none; border:none; font-size:22px; color:#999; cursor:pointer; padding:4px; }
.modal-close:hover { color:#333; }
.modal-body { padding:24px; }
.modal-footer { padding:16px 24px; border-top:1px solid #eee; display:flex; justify-content:flex-end; gap:10px; }

/* Form */
.adm-form-group { margin-bottom:16px; }
.adm-form-group label { display:block; font-size:14px; font-weight:600; color:#333; margin-bottom:6px; }
.adm-form-group input, .adm-form-group textarea, .adm-form-group select { width:100%; padding:10px 14px; border:1px solid #ddd; border-radius:8px; font-size:14px; font-family:'Noto Sans KR',sans-serif; box-sizing:border-box; transition:border-color 0.2s; }
.adm-form-group input:focus, .adm-form-group textarea:focus, .adm-form-group select:focus { border-color:var(--primary,#009DDC); outline:none; }
.adm-form-group textarea { min-height:120px; resize:vertical; }

/* Buttons */
.btn-adm { display:inline-flex; align-items:center; gap:6px; padding:8px 18px; border:none; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; font-family:'Noto Sans KR',sans-serif; transition:all 0.2s; }
.btn-primary { background:var(--primary,#009DDC); color:#fff; }
.btn-primary:hover { background:#0088c2; transform:translateY(-1px); }
.btn-danger { background:#e74c3c; color:#fff; }
.btn-danger:hover { background:#c0392b; }
.btn-secondary { background:#f1f3f5; color:#495057; border:1px solid #dee2e6; }
.btn-secondary:hover { background:#e9ecef; }
.btn-sm { padding:5px 12px; font-size:13px; }

/* Status badge */
.status-badge { display:inline-block; padding:3px 10px; border-radius:12px; font-size:12px; font-weight:600; }
.status-new { background:#fee2e2; color:#dc2626; }
.status-checking { background:#fef3c7; color:#d97706; }
.status-done { background:#d1fae5; color:#059669; }

/* Empty state */
.empty-state { text-align:center; padding:60px 20px; color:#999; }
.empty-state i { font-size:48px; margin-bottom:16px; color:#ddd; display:block; }
.empty-state p { font-size:15px; }

/* Table actions */
.tbl-actions { display:flex; gap:6px; justify-content:center; }
