/* ============================================
   Weesboten Dashboard — Design System
   Van Hattem Infratech
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #05193A;
  --primary-light: #0a2d5c;
  --primary-dark: #030f24;
  --secondary: #93C1D8;
  --secondary-light: #b3d5e4;
  --secondary-dark: #6fa8bf;
  --accent: #2980b9;
  --accent-light: #3498db;
  --accent-dark: #1f6da0;

  --bg-body: #f0f4f8;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-sidebar: #05193A;
  --bg-sidebar-hover: #0a2d5c;

  --text-primary: #1a2332;
  --text-secondary: #5a6a7e;
  --text-light: #8896a6;
  --text-white: #ffffff;
  --text-on-primary: #ffffff;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-xs: 0 1px 2px rgba(5, 25, 58, 0.04);
  --shadow-sm: 0 2px 8px rgba(5, 25, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(5, 25, 58, 0.08);
  --shadow-lg: 0 8px 32px rgba(5, 25, 58, 0.12);
  --shadow-xl: 0 16px 48px rgba(5, 25, 58, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --sidebar-width: 260px;
  --header-height: 70px;

  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: url('../Design/footer-bg-2.png') no-repeat center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.login-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.6s var(--transition-slow);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.login-logo img {
  height: 100px;
  width: auto;
}

.login-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.login-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ---- Form Elements ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(147, 193, 216, 0.25);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input-icon {
  position: relative;
}

.form-input-icon .form-input {
  padding-left: 2.75rem;
}

.form-input-icon svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  width: 18px;
  height: 18px;
}

.form-error {
  color: var(--accent);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.form-error.show {
  display: flex;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  outline: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(8, 68, 115, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 20px rgba(8, 68, 115, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  background: rgba(147, 193, 216, 0.05);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: var(--text-white);
}

.btn-danger:hover {
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  background: rgba(5, 25, 58, 0.05);
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---- Layout ---- */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---- Main Content ---- */
.main-content {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header ---- */
.header {
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-xs);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.header-breadcrumb a {
  color: var(--text-secondary);
}

.header-breadcrumb a:hover {
  color: var(--primary);
}

.header-breadcrumb span {
  color: var(--text-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---- Floating User Bubble ---- */
.user-bubble {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
}

.user-bubble-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-family);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.user-bubble-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

.user-bubble-dropdown {
  position: absolute;
  bottom: 60px;
  left: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  min-width: 220px;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
}

.user-bubble-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-bubble-info {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.5rem;
}

.user-bubble-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.user-bubble-email {
  font-size: 0.75rem;
  color: var(--text-light);
  word-break: break-all;
}

.user-bubble-logout {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-bubble-logout:hover {
  background: rgba(5, 25, 58, 0.05);
  color: var(--accent);
}

.user-bubble-logout svg {
  width: 16px;
  height: 16px;
}

/* ---- Page Content ---- */
.page-content {
  flex: 1;
  padding: 2rem;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-body);
}

/* ---- Vessel Cards (Dashboard) ---- */
.vessels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.vessel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vessel-card-image {
  width: 100%;
  height: 180px;
  background: var(--bg-body);
  overflow: hidden;
  position: relative;
}

.vessel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.vessel-card:hover .vessel-card-image img {
  transform: scale(1.05);
}

.vessel-card-image.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.vessel-card-image.empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.vessel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.vessel-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.vessel-card:hover::before {
  opacity: 1;
}

.vessel-card-header {
  padding: 1.5rem 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vessel-card-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vessel-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vessel-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  text-transform: capitalize;
}

.vessel-card-body {
  padding: 0.5rem 1.5rem 1.5rem;
}

.vessel-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.vessel-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vessel-card-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--text-light);
}

.vessel-card-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-body);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.vessel-card-footer span {
  color: var(--text-light);
}

/* ---- Status Badges ---- */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-actief {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-afgerond {
  background: rgba(5, 25, 58, 0.1);
  color: var(--primary);
}

.status-in_afwachting {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* New order statuses */
.status-behandeling {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.status-on_hold {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.status-in_uitvoering {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-13_weken_depot {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.status-demontage {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.status-openbare_verkoop {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

.status-verwerkt {
  background: rgba(5, 25, 58, 0.1);
  color: var(--primary);
}

/* ---- Form Sections (for expanded modals) ---- */
.form-section {
  margin-bottom: 1.75rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title svg {
  width: 16px;
  height: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-grid .form-group.full-width {
  grid-column: 1 / -1;
}

/* Wider modal variant for the expanded forms */
.modal.modal-wide {
  max-width: 720px;
}

/* ---- Dashboard Controls ---- */
.dashboard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-controls-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.875rem;
  width: 280px;
  background: var(--bg-white);
  transition: all var(--transition-fast);
  outline: none;
}

.search-box input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(147, 193, 216, 0.25);
}

.search-box svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.sort-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25rem;
}

.sort-btn {
  padding: 0.5rem 0.875rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sort-btn.active {
  background: var(--primary);
  color: var(--text-white);
}

.sort-btn:hover:not(.active) {
  background: var(--bg-body);
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  gap: 0;
}

.tab {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-family);
}

.tab:hover {
  color: var(--primary);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab svg {
  width: 16px;
  height: 16px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Tables ---- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

thead {
  background: var(--bg-body);
}

th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

tbody tr {
  transition: background var(--transition-fast);
}

tbody tr:hover {
  background: rgba(147, 193, 216, 0.04);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -1.625rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg-body);
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-item:first-child .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-type {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(5, 25, 58, 0.08);
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-description {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ---- OnnTrack Embed ---- */
.onntrack-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-body);
}

.onntrack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.onntrack-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.onntrack-badge.valid {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.onntrack-badge.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.onntrack-badge.expired {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.onntrack-iframe {
  width: 100%;
  height: 600px;
  border: none;
  background: var(--bg-body);
  border-radius: var(--radius-md);
}

.onntrack-empty {
  padding: 3rem;
  text-align: center;
  color: var(--text-light);
}

.onntrack-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--border);
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.125rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-body);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ---- File Upload ---- */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-body);
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--secondary);
  background: rgba(147, 193, 216, 0.05);
}

.upload-zone svg {
  width: 40px;
  height: 40px;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.upload-zone p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.upload-zone strong {
  color: var(--primary);
}

.file-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.file-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  transition: all var(--transition-fast);
  width: fit-content;
  max-width: 100%;
}

.file-item:hover {
  box-shadow: var(--shadow-sm);
}

.file-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-icon.img {
  background: rgba(147, 193, 216, 0.15);
  color: var(--secondary-dark);
}

.file-icon.doc {
  background: rgba(5, 25, 58, 0.1);
  color: var(--primary);
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  display: block;
}

.file-size {
  font-size: 0.6875rem;
  color: var(--text-light);
}

.file-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* ---- Photo Preview Grid (Add Vessel Form) ---- */
.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}

.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.photo-preview-remove:hover {
  background: rgb(220, 38, 38);
}

/* ---- Photo Grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;

}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.5rem;
}

.photo-item:hover .photo-item-overlay {
  opacity: 1;
}

.photo-item-overlay button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.375rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.photo-item-overlay button:hover {
  background: var(--text-white);
}

/* ---- Communication Log ---- */
.comm-item {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--bg-white);
  transition: all var(--transition-fast);
}

.comm-item:hover {
  box-shadow: var(--shadow-sm);
}

.comm-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comm-direction {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
}

.comm-direction.inkomend {
  background: rgba(147, 193, 216, 0.15);
  color: var(--secondary-dark);
}

.comm-direction.uitgaand {
  background: rgba(5, 25, 58, 0.1);
  color: var(--primary);
}

.comm-subject {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.comm-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.comm-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---- Finance Summary ---- */
.finance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.finance-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.finance-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 0.375rem;
}

.finance-card-value {
  font-size: 1.5rem;
  font-weight: 800;
}

.finance-card-value.income {
  color: #059669;
}

.finance-card-value.expense {
  color: var(--accent);
}

.finance-card-value.net {
  color: var(--primary);
}

.finance-card-value.hours {
  color: var(--secondary-dark);
}

/* ---- Info Grid ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---- Empty States ---- */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-light);
}

.empty-state svg {
  width: 45px;
  height: 45px;
  color: var(--border);
}

.empty-state h4 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.875rem;
  max-width: 320px;
  margin: 0 auto 1.5rem;
}

/* ---- Toast Notifications ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

.toast-success {
  background: #059669;
  color: white;
}

.toast-error {
  background: var(--accent);
  color: white;
}

.toast-warning {
  background: #d97706;
  color: white;
}

.toast button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
}

/* ---- Loading Spinner ---- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.spinner-dark {
  border-color: rgba(8, 68, 115, 0.15);
  border-top-color: var(--primary);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  gap: 0.75rem;
  color: var(--text-secondary);
}

/* ---- Document Sections ---- */
.document-section {
  margin-bottom: 2rem;
}

.document-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.document-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.document-section-title svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

/* ---- Vessel Detail Header ---- */
.vessel-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.vessel-detail-info {
  flex: 1;
}

.vessel-detail-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.vessel-detail-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.vessel-detail-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ---- Responsive Design ---- */

/* Tablet Landscape and Smaller */
@media (max-width: 1200px) {
  .vessels-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
  }
  
  .page-content {
    padding: 1.5rem;
  }
}

/* Tablet Portrait and Smaller */
@media (max-width: 992px) {
  .header {
    padding: 0 1.5rem;
  }

  .dashboard-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-controls-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-box input {
    width: 100%;
  }

  .sort-toggle {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .sort-btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }

  .vessels-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Mobile Large and Smaller */
@media (max-width: 768px) {
  :root {
    --header-height: auto; /* Allow header to expand if needed */
  }

  .header {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }
  
  .header-right {
    width: 100%;
  }

  .header-right .btn {
    width: 100%;
    justify-content: center;
  }

  .header-title {
    font-size: 1.125rem;
  }

  .header-divider,
  .header-breadcrumb span:not(:last-child),
  .header-breadcrumb svg {
     display: none;
  }

  .page-content {
    padding: 1rem;
  }

  /* Dashboard Controls Stacking */
  .dashboard-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .dashboard-controls-left {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .search-box input {
    width: 100% !important; /* Force full width on search box */
  }
  
  .sort-toggle {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--bg-body);
  }
  
  .sort-btn {
    flex: 1 1 calc(33.33% - 0.25rem); /* Default to 3 across */
    text-align: center;
    min-width: 80px;
  }

  .vessels-grid {
    grid-template-columns: 1fr;
  }

  .vessel-card-image {
    height: 200px;
  }

  .vessel-detail-header {
    flex-direction: column;
    padding: 1.25rem;
  }

  .vessel-detail-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .vessel-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .info-grid, 
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .modal {
    margin: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  /* Reposition User Bubble to avoid obscuring text on the left */
  .user-bubble {
    bottom: 1rem;
    left: auto;
    right: 1rem;
  }

  .user-bubble-dropdown {
    left: auto;
    right: 0;
  }

  .modal-header {
    padding: 1rem 1.25rem;
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 10;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .modal-footer {
    padding: 1rem 1.25rem;
    position: sticky;
    bottom: 0;
    background: var(--bg-white);
    z-index: 10;
  }

  .tabs {
    padding: 0.5rem;
    margin: 0 0 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: none;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
  }

  .tab {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    flex: 1 1 calc(50% - 0.5rem); /* Two tabs per row */
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    margin-bottom: 0;
  }

  .tab.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
  }

  .tab:hover:not(.active) {
    background: var(--bg-card);
  }

  /* Transfer document mobile adjustments */
  .transfer-document {
    padding: 1.5rem !important;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .transfer-field-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}



/* Mobile Small */
@media (max-width: 480px) {
  .header-title {
    display: none; /* Hide title to save space for logo and button */
  }

  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .btn svg {
    width: 16px;
    height: 16px;
  }

  .dashboard-controls {
    gap: 0.75rem;
  }
}


/* ---- Sidebar overlay for mobile ---- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
}

.sidebar-overlay.active {
  display: block;
}

/* ---- Section dividers ---- */
.section-divider {
  height: 1px;
  background: var(--border-light);
  margin: 1.5rem 0;
}

/* ---- Vessel status edit ---- */
.inline-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  background: var(--bg-white);
  cursor: pointer;
  outline: none;
}

.inline-select:focus {
  border-color: var(--secondary);
}

/* ---- Scrollbar styling ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(5, 25, 58, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 25, 58, 0.25);
}

/* ---- Transfer Document ---- */
.transfer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.transfer-document {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.transfer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.transfer-subtitle {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.transfer-party {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.transfer-object {
  background: rgba(147, 193, 216, 0.08);
  border: 1px solid var(--secondary-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.transfer-object strong {
  color: var(--primary);
}

.transfer-clause {
  margin-bottom: 0.75rem;
  text-align: justify;
}

.transfer-clauses-list {
  margin: 1rem 0 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transfer-clauses-list li {
  text-align: justify;
  line-height: 1.6;
}

.transfer-signature-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-body);
}

.transfer-signature-block h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.transfer-signer {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.transfer-field-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.transfer-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transfer-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.transfer-field span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.transfer-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  padding: 0.25rem 0.5rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.transfer-input:focus {
  border-bottom-color: var(--secondary);
}

.transfer-input::placeholder {
  color: var(--text-light);
  font-style: italic;
}

/* Signature Pad */
.signature-pad {
  position: relative;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
}

.signature-pad canvas {
  display: block;
  width: 100%;
  height: 200px;
  cursor: crosshair;
  touch-action: none;
}

.signature-clear-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-family: var(--font-family);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.signature-clear-btn:hover {
  background: var(--bg-body);
  color: var(--accent);
  border-color: var(--accent);
}

/* Signature Display (for saved signature A) */
.signature-display {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-white);
}

.signature-display img {
  max-height: 120px;
  max-width: 100%;
}

/* Transfer Photo */
.transfer-photo-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.transfer-photo-section h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.transfer-photo {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-body);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transfer-photo img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.transfer-submit {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-light);
}

/* Transfer signed state */
.transfer-document.signed .signature-pad,
.transfer-document.signed .transfer-input,
.transfer-document.signed .transfer-submit {
  pointer-events: none;
  opacity: 0.7;
}

.transfer-signed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .transfer-document {
    padding: 1.5rem;
  }

  .transfer-field-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Ensure background colors are printed */
@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}