/* ─── KSeF Invoicing Platform — Custom Styles ────────────────────────────────── */

/* Auth layout */
.auth-body {
  background: linear-gradient(135deg, #e8f0fe 0%, #f3f4f6 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 560px;
  padding: 1rem;
}

.auth-logo {
  width: 64px;
  height: 64px;
  background: #1a56db;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 0.5rem;
}

.auth-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a56db;
}

.auth-card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

/* Main layout */
body {
  background-color: #f3f4f6;
}

/* Dashboard stats */
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

/* Cards */
.card {
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

/* Invoice table */
.invoice-table input,
.invoice-table select {
  border-radius: 4px;
}

/* Bootstrap override — tighter table in invoice form */
.invoice-table td,
.invoice-table th {
  padding: 0.35rem 0.4rem;
  vertical-align: middle;
}

/* Monospace amounts */
.font-monospace {
  font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
}

/* Status badges - larger */
.table .badge {
  font-size: 0.75rem;
}

/* Navbar */
.navbar-brand {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  margin-top: auto;
}

/* Responsive */
@media (max-width: 576px) {
  .stat-card .stat-value {
    font-size: 1.25rem;
  }
  .d-flex.gap-2 {
    flex-wrap: wrap;
  }
}

/* Print styles for PDF */
@media print {
  .navbar, .footer, .btn, form { display: none !important; }
}
