*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #1F3A5F;
  --accent-hover: #2a4f80;
  --accent-deep: #152d4a;
  --white: #ffffff;
  --bg: #f4f6f9;
  --black: #111;
  --gray: #555;
  --border: #e2e6ec;
  --radius: 10px;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--black); line-height: 1.6; }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f1723 0%, #1F3A5F 50%, #0f1723 100%);
  padding: 2rem;
}
.login-wrapper {
  width: 100%;
  max-width: 440px;
}
.login-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo {
  height: 50px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.login-brand h1 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.login-brand h1 span { font-weight: 400; }
.login-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--black);
}
.login-sub {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--black);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row-check {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}
.check-label { color: var(--gray); display: flex; align-items: center; gap: 0.4rem; }
.forgot-link { color: var(--accent); text-decoration: none; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.btn-portal {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-portal:hover { background: var(--accent-hover); }
.login-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1.25rem;
}
.login-switch a { color: var(--accent); font-weight: 600; text-decoration: none; }
.login-switch a:hover { text-decoration: underline; }
.login-footer {
  text-align: center;
  margin-top: 1.5rem;
}
.login-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.82rem;
}
.login-footer a:hover { color: #fff; }

/* ===== DASHBOARD ===== */
.dashboard-page {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: var(--accent-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo { height: 32px; border-radius: 4px; }
.sidebar-brand span {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-item.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-left-color: #fff;
}
.nav-icon { font-size: 1.1rem; width: 22px; text-align: center; }
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
}

/* MAIN */
.dash-main {
  flex: 1;
  margin-left: 250px;
  min-height: 100vh;
}
.dash-header {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.dash-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dash-greeting {
  font-size: 0.85rem;
  color: var(--gray);
}
.dash-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

/* SECTIONS */
.dash-section {
  display: none;
  padding: 2rem;
}
.dash-section.active { display: block; }

/* STAT CARDS */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}
.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.stat-card-icon.blue { background: #e8f0fe; }
.stat-card-icon.green { background: #e6f7ed; }
.stat-card-icon.orange { background: #fff3e0; }
.stat-card-icon.red { background: #fce8e8; }
.stat-card-num { font-size: 1.8rem; font-weight: 800; color: var(--black); line-height: 1; }
.stat-card-label { font-size: 0.78rem; color: var(--gray); margin-top: 0.15rem; }

/* GRID */
.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* CARDS */
.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}
.dash-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--black);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.card-header h3 { margin-bottom: 0; }
.badge-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: #e8f0fe;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* ACTIVITY */
.activity-list { display: flex; flex-direction: column; gap: 1rem; }
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.activity-dot.blue { background: var(--accent); }
.activity-dot.green { background: #22c55e; }
.activity-dot.orange { background: #f59e0b; }
.activity-text { font-size: 0.88rem; color: var(--black); }
.activity-date { font-size: 0.75rem; color: #999; margin-top: 0.15rem; }

/* DEAL PREVIEW */
.deal-preview {
  padding: 1.25rem;
  background: #f8f9fb;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
}
.deal-preview:last-child { margin-bottom: 0; }
.deal-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.deal-preview h4 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.35rem;
}
.deal-preview p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.deal-exp {
  font-size: 0.72rem;
  color: #999;
  font-weight: 500;
}

/* TABLE */
.table-wrap { overflow-x: auto; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.dash-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: #f8f9fb;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.dash-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f0f2f5;
  color: var(--black);
}
.dash-table tr:hover td { background: #fafbfc; }

/* STATUS BADGES */
.status {
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.status.completed, .status.paid { background: #e6f7ed; color: #16a34a; }
.status.in-progress { background: #e8f0fe; color: var(--accent); }
.status.scheduled { background: #f3e8ff; color: #7c3aed; }
.status.pending { background: #fff3e0; color: #d97706; }

/* BUTTONS */
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.btn-sm:hover { background: var(--accent-hover); }
.btn-sm-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--gray);
}
.btn-sm-outline:hover {
  background: #f8f9fb;
  border-color: #ccc;
}

/* INVOICE SUMMARY */
.invoice-summary {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 1rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  background: #f8f9fb;
  border-radius: 0 0 var(--radius) var(--radius);
}
.inv-sum-item span { font-size: 0.78rem; color: var(--gray); display: block; }
.inv-sum-item strong { font-size: 1.15rem; color: var(--black); }
.green-text { color: #16a34a !important; }
.orange-text { color: #d97706 !important; }

/* WARRANTY */
.warranty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.warranty-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.warranty-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.warranty-status.active-w { background: #e6f7ed; color: #16a34a; }
.warranty-card h4 {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}
.warranty-type {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.warranty-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f8f9fb;
  border-radius: 6px;
}
.warranty-details span { font-size: 0.72rem; color: var(--gray); display: block; }
.warranty-details strong { font-size: 0.82rem; }
.warranty-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

/* DEALS */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.deal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.deal-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.deal-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.deal-tag.hot { background: #fce8e8; color: #dc2626; }
.deal-tag.seasonal { background: #fff3e0; color: #d97706; }
.deal-tag.referral { background: #e6f7ed; color: #16a34a; }
.deal-tag.bundle { background: #e8f0fe; color: var(--accent); }
.deal-card h4 {
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.deal-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.deal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PROFILE */
.profile-form { max-width: 600px; }
.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.profile-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}
.profile-member { font-size: 0.82rem; color: var(--gray); }

/* SUPPORT */
.support-contact {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.support-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.support-item span:first-child { font-size: 1.5rem; }
.support-item strong { display: block; font-size: 0.82rem; }
.support-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .warranty-grid { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .dash-main { margin-left: 0; }
  .mobile-menu-btn { display: block; }
  .dash-section { padding: 1.25rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1rem; }
  .stat-card-num { font-size: 1.4rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .support-contact { flex-direction: column; gap: 1rem; }
  .dash-header { padding: 0.75rem 1rem; }
  .dash-greeting { display: none; }
  .invoice-summary { flex-direction: column; gap: 0.75rem; }

  /* Mobile invoice cards */
  .inv-table thead { display: none; }
  .inv-table, .inv-table tbody, .inv-table tr, .inv-table td { display: block; width: 100%; }
  .inv-table tr.inv-row {
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: 1rem; margin-bottom: 0.75rem; position: relative;
  }
  .inv-table tr.inv-row:hover { background: #f8f9fb; }
  .inv-table td { padding: 0.2rem 0; border: none; font-size: 0.88rem; }
  .inv-table td:nth-child(1) { font-size: 1rem; margin-bottom: 0.25rem; }
  .inv-table td:nth-child(2) { color: #333; font-weight: 500; margin-bottom: 0.5rem; }
  .inv-table td:nth-child(3)::before { content: "Amount: "; color: #999; font-weight: 400; }
  .inv-table td:nth-child(3) { font-weight: 600; color: var(--accent); }
  .inv-table td:nth-child(4)::before { content: "Due: "; color: #999; font-weight: 400; }
  .inv-table td:nth-child(4) { color: #666; }
  .inv-table td:nth-child(5) { margin-top: 0.5rem; }
  .inv-table td:nth-child(6) { margin-top: 0.5rem; }
  .inv-table td:nth-child(6) .btn-sm { width: 100%; text-align: center; }

  /* Mobile work performed table */
  .dash-table { font-size: 0.75rem; }
  .dash-table th, .dash-table td { padding: 0.5rem 0.35rem; }
  .dash-table th:nth-child(4), .dash-table td:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
  .login-card { padding: 1.75rem; }
  .stat-cards { grid-template-columns: 1fr; }
}

/* ===== SERVICES DASHBOARD ===== */
.services-dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-dash-card {
  display: flex; flex-direction: column; padding: 1.5rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; text-decoration: none; color: inherit;
  transition: all 0.2s; cursor: pointer;
}
.service-dash-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(31,58,95,0.1); transform: translateY(-2px); }
.service-dash-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-dash-card h4 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--accent); }
.service-dash-card p { font-size: 0.82rem; color: #666; line-height: 1.5; flex: 1; }
.service-dash-link { font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-top: 0.75rem; }
.service-dash-card:hover .service-dash-link { text-decoration: underline; }

@media (max-width: 768px) { .services-dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-dash-grid { grid-template-columns: 1fr; } }

/* ===== INVOICE FILTERS ===== */
.inv-filters {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem;
  padding: 1rem; background: #f8f9fb; border-radius: 8px;
}
.inv-filter-group { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 140px; }
.inv-filter-group label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: #999; font-weight: 600; }
.inv-filter-group select, .inv-filter-group input {
  padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.85rem; font-family: inherit; background: #fff; color: #333;
}
.inv-filter-group select:focus, .inv-filter-group input:focus { outline: none; border-color: var(--accent); }

@media (max-width: 768px) {
  .inv-filters { gap: 0.75rem; }
  .inv-filter-group { min-width: 100%; }
}

/* ===== INVOICE MODAL ===== */
.inv-row { cursor: pointer; transition: background 0.15s; }
.inv-row:hover { background: #f0f4ff; }

.inv-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: fadeIn 0.2s;
}
.inv-modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 720px;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.inv-modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; color: #666; z-index: 2;
}
.inv-modal-close:hover { color: #000; }
.inv-modal-body { padding: 2.5rem; }

/* Invoice header */
.inv-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.inv-company h2 { font-size: 1.4rem; color: var(--accent); margin-bottom: 0.25rem; }
.inv-company p { font-size: 0.85rem; color: #666; line-height: 1.5; }
.inv-meta { text-align: right; }
.inv-meta h3 { font-size: 1.6rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.inv-meta p { font-size: 0.85rem; color: #666; margin-bottom: 0.15rem; }
.inv-meta strong { color: #111; }

/* Invoice status badge */
.inv-status-badge { display: inline-block; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-top: 0.5rem; }
.inv-status-badge.paid { background: #e6f7ee; color: #1a7d42; }
.inv-status-badge.due { background: #fff3e0; color: #c67600; }

/* Bill to */
.inv-bill-to { background: #f8f9fb; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; }
.inv-bill-to span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 600; }
.inv-bill-to strong { display: block; font-size: 1rem; margin-top: 0.25rem; color: #111; }

/* Line items table */
.inv-items { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.inv-items thead th { background: var(--accent); color: #fff; padding: 0.65rem 0.75rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; text-align: left; }
.inv-items thead th:first-child { border-radius: 6px 0 0 0; }
.inv-items thead th:last-child { border-radius: 0 6px 0 0; text-align: right; }
.inv-items tbody td { padding: 0.65rem 0.75rem; border-bottom: 1px solid #eee; font-size: 0.88rem; }
.inv-items tbody td:last-child { text-align: right; font-weight: 600; }
.inv-items tbody tr:last-child td { border-bottom: none; }

/* Totals */
.inv-totals { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; margin-bottom: 1.5rem; }
.inv-totals .inv-total-row { display: flex; gap: 2rem; font-size: 0.9rem; }
.inv-totals .inv-total-row span:first-child { color: #666; min-width: 100px; text-align: right; }
.inv-totals .inv-total-row strong { color: #111; }
.inv-totals .inv-total-row.grand { font-size: 1.15rem; border-top: 2px solid var(--accent); padding-top: 0.5rem; margin-top: 0.25rem; }
.inv-totals .inv-total-row.grand strong { color: var(--accent); }

/* Notes */
.inv-notes { background: #fffde7; border-left: 3px solid #f5b301; padding: 0.75rem 1rem; border-radius: 0 6px 6px 0; margin-bottom: 1.5rem; }
.inv-notes span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #999; font-weight: 600; }
.inv-notes p { font-size: 0.85rem; color: #555; margin-top: 0.25rem; }

/* Action buttons */
.inv-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.inv-btn { padding: 0.6rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem; cursor: pointer; border: none; transition: 0.2s; }
.inv-btn-primary { background: var(--accent); color: #fff; }
.inv-btn-primary:hover { background: var(--accent-hover); }
.inv-btn-outline { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.inv-btn-outline:hover { background: #f0f4ff; }

@media (max-width: 600px) {
  .inv-modal-body { padding: 1.5rem; }
  .inv-header { flex-direction: column; }
  .inv-meta { text-align: left; }
  .inv-items thead th, .inv-items tbody td { padding: 0.5rem; font-size: 0.78rem; }
}
