:root {
  --bg-dark: #0a0d14;
  --bg-card: #111726;
  --bg-card-hover: #172033;
  --border-color: #1e293b;
  --border-highlight: #334155;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(17, 23, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top Navigation Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 13, 20, 0.7);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tag-status {
  color: var(--accent-emerald);
  font-weight: 600;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mode-switch {
  display: flex;
  background: #0f172a;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.btn-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-toggle.active {
  background: var(--accent-indigo);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
}

/* Workspace Grid */
.workspace-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  flex: 1;
  min-height: calc(100vh - 77px);
}

/* Left Sidebar */
.sidebar-panel {
  background: #0d121f;
  border-right: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 77px);
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
}

.panel-card.highlight-card {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(17, 23, 38, 0.9) 100%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.badge {
  background: #1e293b;
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

.search-box input,
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.search-box input:focus,
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Deal List */
.deal-list-container {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #090d16;
}

.deal-item {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.15s;
}

.deal-item:last-child {
  border-bottom: none;
}

.deal-item:hover {
  background: #131b2e;
}

.deal-item.selected {
  background: rgba(6, 182, 212, 0.15);
  border-left: 3px solid var(--accent-cyan);
}

.deal-item-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.deal-item-company {
  color: var(--accent-cyan);
}

.deal-item-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-emerald);
}

/* Catalog Tags */
.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-btn {
  background: #0f172a;
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.catalog-btn:hover {
  background: var(--border-color);
  color: #fff;
  border-color: var(--accent-cyan);
}

/* Workflow Actions */
.hint-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.workflow-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-wf {
  background: #172033;
  border: 1px solid var(--border-color);
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-wf:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-indigo);
  color: #fff;
}

/* Right Studio Workspace */
.studio-workspace {
  padding: 24px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-title h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.editor-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Line Items Table */
.items-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
}

.items-table th {
  background: #0d121f;
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.items-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.items-table input,
.items-table select {
  width: 100%;
  background: #090d16;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
}

.items-table input.num-input {
  text-align: right;
  font-family: var(--font-mono);
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.15s;
}

.btn-remove-item:hover {
  color: var(--accent-rose);
}

/* Totals Dashboard */
.totals-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.total-metric {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.total-metric.highlight-metric {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(17, 23, 38, 0.9) 100%);
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 4px 0;
}

.total-metric.highlight-metric .metric-value {
  color: var(--accent-cyan);
}

.metric-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Preview Section Bar */
.preview-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.preview-tip {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 500;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
}

/* Printable Document Canvas (White Sheet Look) */
.printable-document-wrapper {
  background: #1e293b;
  padding: 30px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
}

.printable-document {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 45px 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  font-family: var(--font-sans);
}

/* Document Internal Styling */
.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 24px;
}

.doc-logo-mark {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.doc-company-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #334155;
  margin-top: 2px;
}

.doc-meta-line {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.doc-meta-line a {
  color: #2563eb;
  text-decoration: none;
}

.doc-title-block {
  text-align: right;
}

.doc-type-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.doc-meta-pair {
  font-size: 0.84rem;
  margin-bottom: 3px;
}

.doc-meta-pair .meta-label {
  color: #64748b;
  margin-right: 6px;
}

.doc-meta-pair .meta-val {
  font-weight: 600;
  color: #0f172a;
}

/* Client & Deal Grid */
.doc-client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.client-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 18px;
}

.client-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}

.client-name,
.solution-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.client-contact {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 2px;
}

.client-detail {
  font-size: 0.82rem;
  color: #475569;
  margin-top: 2px;
}

.solution-pipeline {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284c7;
  margin-top: 2px;
}

.solution-carrier {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
}

.solution-scope {
  font-size: 0.82rem;
  color: #475569;
  margin-top: 6px;
  line-height: 1.4;
}

/* Document Table */
.doc-items-container {
  margin-bottom: 24px;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-table th {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 12px;
}

.doc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.84rem;
  color: #1e293b;
}

.doc-table tr:nth-child(even) {
  background: #f8fafc;
}

.badge-nrc {
  background: #e2e8f0;
  color: #334155;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-mrc {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Document Summary Grid */
.doc-summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding-top: 14px;
  border-top: 2px solid #e2e8f0;
  margin-bottom: 30px;
}

.doc-notes-block h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}

.doc-notes-block p {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
}

.remittance-info {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 0.74rem;
  color: #334155;
  line-height: 1.4;
}

.doc-financials-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.financial-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #475569;
}

.financial-row.highlight-row {
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  padding: 4px 8px;
  border-radius: 4px;
}

.financial-row.subtotal {
  font-weight: 700;
  color: #0f172a;
  border-top: 1px solid #cbd5e1;
  padding-top: 6px;
}

.financial-row.acv-row {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  border-top: 2px solid #0f172a;
  padding-top: 6px;
}

/* Signature Block */
.doc-signature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}

.sig-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0f172a;
}

.sig-sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 24px;
}

.sig-line {
  border-bottom: 1px solid #0f172a;
  margin-top: 20px;
}

.sig-line.second {
  margin-top: 26px;
}

.sig-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 4px;
}

.sig-signed-stamp {
  border: 2px solid #16a34a;
  border-radius: 6px;
  padding: 12px 16px;
  background: #f0fdf4;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stamp-check {
  font-weight: 800;
  font-size: 0.85rem;
  color: #16a34a;
  letter-spacing: 0.04em;
}

.stamp-signer {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.stamp-title {
  font-size: 0.74rem;
  color: #475569;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #fff;
  border: 1px solid var(--accent-cyan);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Auth & Modal Overlays */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.auth-card {
  background: #111726;
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(6, 182, 212, 0.12);
}

.auth-brand {
  text-align: center;
  margin-bottom: 24px;
}

.auth-brand h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.auth-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0 12px 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 12px;
}

.btn-google-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-google-sso:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Tab Views */
.tab-view {
  display: none;
  width: 100%;
}

.tab-view.active {
  display: block;
}

/* Post-Sale Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 24px 28px 0 28px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
}

.kpi-card.cyan::before { background: var(--accent-cyan); }
.kpi-card.emerald::before { background: var(--accent-emerald); }
.kpi-card.amber::before { background: var(--accent-amber); }
.kpi-card.violet::before { background: var(--accent-violet); }

.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.kpi-sub {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* Data Tables */
.data-table-container {
  padding: 24px 28px;
}

.data-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.table-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 13, 20, 0.4);
}

.table-header-bar h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.full-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.full-table th {
  background: #0d121f;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.full-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.full-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-green { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.3); }

/* Time Logger Form Card */
.time-logger-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  padding: 24px 28px;
}


/* PRINT MEDIA QUERIES (CRITICAL FOR VECTOR PDF EXPORTS) */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print {
    display: none !important;
  }
  .printable-document-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .printable-document {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 25px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  @page {
    margin: 1cm;
    size: auto;
  }
}

