/* Seabeck v0.1 — Custom styles (Tailwind is loaded via CDN) */

.line-item-row {
  transition: background-color 0.1s;
}
.line-item-row:hover {
  background-color: #f8fafc;
}

.stat-card {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.quote-preview {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  background: white;
  max-width: 210mm;
  margin: 0 auto;
}

.print-area {
  width: 210mm;
  min-height: 297mm;
  padding: 15mm 18mm;
  background: white;
  margin: 0 auto;
  box-shadow: 0 0 0 1px #e2e8f0;
}

.uk-badge {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.table-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

/* Nice focus styles for form controls inside cards */
input[type="text"], input[type="number"], input[type="date"], 
input[type="email"], input[type="password"], textarea, select {
  transition: border-color 0.1s, box-shadow 0.1s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
}

/* Status pills */
.status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 1px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-draft   { background: #f1f5f9; color: #475569; }
.status-sent    { background: #dbeafe; color: #1e40af; }
.status-accepted { background: #dcfce7; color: #166534; }
.status-declined { background: #fee2e2; color: #991b1b; }
.status-invoiced { background: #f3e8ff; color: #581c87; }

/* Sidebar active state override (we also toggle via JS) */
.nav-item.active {
  background-color: #1e40af !important;
  color: white !important;
}

/* Small utility for money columns */
.money {
  font-variant-numeric: tabular-nums;
}
