/* app.css — Kiểu dùng chung của webapp (bổ sung cho Tailwind CDN) */
* { font-family: 'Be Vietnam Pro', system-ui, sans-serif; }
body { background: #f1f5f9; min-height: 100vh; }
[x-cloak] { display: none !important; }

.card  { background: #fff; border-radius: 12px; box-shadow: 0 1px 8px rgba(15, 23, 42, .06); }
.input { width: 100%; padding: 8px 12px; border: 1.5px solid #e2e8f0; border-radius: 8px;
         font-size: 14px; background: #f8fafc; outline: none; }
.input:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.label { display: block; font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 4px; }

.btn { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary   { background: #2563eb; color: #fff; }
.btn-primary:hover:not(:disabled) { background: #1d4ed8; }
.btn-secondary { background: #f1f5f9; color: #334155; }
.btn-secondary:hover:not(:disabled) { background: #e2e8f0; }
.btn-danger    { background: #dc2626; color: #fff; }
.btn-danger:hover:not(:disabled) { background: #b91c1c; }
.btn-sm { padding: 4px 9px; font-size: 12px; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red   { background: #fee2e2; color: #991b1b; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-slate { background: #e2e8f0; color: #334155; }
.badge-blue  { background: #dbeafe; color: #1e40af; }

.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: flex;
            align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; }
.modal    { background: #fff; border-radius: 12px; width: 100%; max-width: 480px; padding: 20px; }
