[x-cloak] { display: none !important; }

.input, .select {
  display: block; width: 100%; border-radius: .5rem; border: 1px solid #cbd5e1; background: #fff;
  padding: .5rem .75rem; font-size: .875rem; line-height: 1.25rem; color: #1e293b;
}
.input:focus, .select:focus { outline: none; border-color: #2f6fed; box-shadow: 0 0 0 3px rgba(47,111,237,.15); }

.btn-primary, .btn-secondary, .btn-danger {
  display: inline-flex; align-items: center; gap: .375rem; border-radius: .5rem; padding: .5rem .9rem;
  font-size: .875rem; font-weight: 500; line-height: 1.25rem; cursor: pointer; transition: background .15s;
}
.btn-primary { background: #1f5ad6; color: #fff; }
.btn-primary:hover { background: #1848ad; }
.btn-secondary { background: #fff; color: #334155; border: 1px solid #cbd5e1; }
.btn-secondary:hover { background: #f1f5f9; }
.btn-danger { background: #fff; color: #b91c1c; border: 1px solid #fecaca; }
.btn-danger:hover { background: #fef2f2; }
button:disabled { opacity: .6; cursor: not-allowed; }

.card { background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem; }
.card-head { padding: .875rem 1.25rem; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.card-body { padding: 1.25rem; }

.table { width: 100%; font-size: .875rem; }
.table th { text-align: left; font-weight: 600; color: #475569; background: #f8fafc; padding: .6rem .9rem; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.table td { padding: .6rem .9rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.table tr:hover td { background: #f8fafc; }

.badge { display: inline-flex; align-items: center; border-radius: 9999px; padding: .1rem .55rem; font-size: .75rem; font-weight: 500; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }

.bar { height: .4rem; border-radius: 9999px; background: #e2e8f0; overflow: hidden; }
.bar > span { display: block; height: 100%; background: #2f6fed; }
