/* ============================================================
   MOBILE FIRST - Small Devices (< 480px)
   ============================================================ */

/* ------ Layout & Spacing ------ */

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
}

.content {
  padding: var(--space-sm);
  width: 100%;
}

#actions-sidebar {
  width: 100%;
  margin-top: var(--space-md);
}

/* ------ Header Mobile ------ */

header {
  background: none;
  color: #ffffff;
  font-size: 20px;
  height: auto;
  line-height: 1.3;
  padding: 0;
  width: 100%;
}

header .header-title {
  padding-left: 0;
  font-size: var(--font-size-lg);
  margin: 0;
}

header .header-title h1 {
  margin: 0;
  font-size: 18px;
}

header .header-help {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  margin: 0;
  float: none;
}

/* ------ Navigation Mobile ------ */

nav.top-bar {
  background: #116d76;
  padding: 0;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

nav.top-bar.expanded {
  background: #116d76;
}

/* Hide the checkbox itself but keep it focusable/clickable behind the label */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.title-area {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-area .header-title {
  margin: 0;
  padding: var(--space-sm) var(--space-md);
}

.title-area .header-title a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: var(--space-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger-icon {
  position: relative;
}

.hamburger-icon::before {
  content: "";
  position: absolute;
  top: -7px;
}

.hamburger-icon::after {
  content: "";
  position: absolute;
  top: 7px;
}

.nav-toggle:checked ~ .title-area .hamburger-icon {
  background: transparent;
}

.nav-toggle:checked ~ .title-area .hamburger-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked ~ .title-area .hamburger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Collapsed menu panel, opened by the checkbox */
.top-bar-section {
  width: 100%;
  display: none;
  flex-direction: column;
}

.nav-toggle:checked ~ #main-nav {
  display: flex;
}

.top-bar-section ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-bar-section ul li {
  display: block;
  width: 100%;
  margin: 0;
}

.top-bar-section ul li > a:not(.button) {
  display: block;
  padding: var(--space-md);
  background: #0f5c67;
  color: #fff;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.top-bar-section ul li > a:not(.button):hover {
  background: #308e97;
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.header-actions li {
  width: 100%;
}

.header-actions li a {
  display: block;
  padding: var(--space-md);
  background: #0f5c67;
  color: #fff;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.header-actions li a:hover {
  background: #308e97;
}

/* ------ Menu użytkownika (dropdown) ------ */

.user-dropdown {
  position: relative;
}

.user-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: var(--space-md);
  color: #fff;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f5c67;
  user-select: none;
}

.user-dropdown summary::-webkit-details-marker {
  display: none;
}

.user-dropdown summary:hover {
  background: #308e97;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.user-name {
  font-weight: 600;
  white-space: nowrap;
}

.user-caret {
  font-size: 10px;
  opacity: 0.8;
  transition: transform var(--transition-fast);
}

.user-dropdown[open] .user-caret {
  transform: rotate(180deg);
}

/* Mobile: pozycje dropdownu renderują się w nurcie menu, wcięte */
.user-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-dropdown-list li {
  margin: 0;
}

.user-dropdown-list li a {
  display: block;
  padding: var(--space-sm) var(--space-md) var(--space-sm) calc(var(--space-md) + 34px);
  background: #0b4a53;
  color: #fff;
  font-size: var(--font-size-sm);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-dropdown-list li a:hover {
  background: #308e97;
}

/* ------ Shift/plan cards (Propos index) Mobile ------ */

.shift-board-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.shift-board {
  width: auto;
  min-width: 100%;
}

.shift-card {
  min-width: 140px;
}

/* ------ Kalendarz: tydzień zamiast miesiąca na małych ekranach ------ */

.calendar-grid {
  width: 100%;
}

.calendar-grid tr:not(.current-week):not(:first-child) {
  display: none;
}

.calendar-week-nav {
  display: flex;
}

.day-summary-bar {
  flex-direction: column;
  align-items: flex-start;
}

/* ------ Tables Mobile ------ */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-md);
}

/* Tabele z wieloma kolumnami (np. lista użytkowników): niech szerokość
   kolumn dopasuje się do treści zamiast dzielić się po równo (table-layout:
   fixed z innego pliku). width: auto zdejmuje sztywne 100% (z reguły
   `table` niżej w tym pliku), więc tabela może być szersza niż kontener,
   a .table-responsive daje wtedy przewijanie w poziomie zamiast zawijania.
   nowrap na komórkach jest kluczowe: dopóki nagłówki MOGĄ się złamać
   (word-break: break-word niżej), auto-layout i tak dociska tabelę do
   szerokości kontenera zamiast ją poszerzyć. */
.table-responsive table {
  table-layout: auto;
  width: auto;
  font-size: 0.78rem;
}

.table-responsive th,
.table-responsive td {
  white-space: nowrap;
  padding: 6px 7px;
}

table {
  width: 100%;
  font-size: var(--font-size-sm);
  border-collapse: collapse;
  background: var(--color-bg-white);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

table thead {
  display: table-header-group;
  background: #f7fafb;
}

table th,
table td {
  padding: var(--space-sm);
  text-align: left;
  border: 1px solid var(--color-border);
  word-break: break-word;
  color: #1a1a1a;
  font-weight: 500;
}

table th {
  font-weight: 700;
  color: #0f4555;
  background: #f3f7f8;
  font-size: var(--font-size-xs);
}

table tbody tr:nth-child(even) {
  background: var(--color-bg-lighter);
}

table tbody tr:hover {
  background: #f0f7f8;
}

.table-responsive table {
  min-width: 500px;
}

/* ------ Forms Mobile ------ */

form {
  width: 100%;
}

.form-group {
  margin-bottom: var(--space-md);
}

fieldset {
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  background: var(--color-bg-lighter);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

fieldset legend {
  border-bottom: 2px solid var(--color-primary);
  width: 100%;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-weight: 700;
  color: #0f4555;
  font-size: var(--font-size-lg);
  padding: 0 0 var(--space-sm) 0;
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  color: #1a1a1a;
  font-size: var(--font-size-sm);
}

label.required:after {
  content: ' *';
  color: var(--color-danger);
  font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
  display: block;
  width: 100%;
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  background: var(--color-bg-white);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(23, 152, 165, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-xs) center;
  background-size: 20px;
  padding-right: 40px;
  appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  margin-right: var(--space-xs);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ------ Buttons Mobile ------ */

button,
.button,
input[type="submit"] {
  display: block;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  display: block;
  min-height: 44px;
  min-width: 44px;
}

button.primary,
.button.primary,
input[type="submit"] {
  background: var(--color-secondary);
  color: #fff;
}

button.primary:hover,
.button.primary:hover,
input[type="submit"]:hover {
  background: var(--color-secondary-dark);
}

button.secondary,
.button.secondary {
  background: var(--color-bg-lighter);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

button.secondary:hover,
.button.secondary:hover {
  background: var(--color-border);
}

button.success,
.button.success {
  background: var(--color-success);
  color: #fff;
}

button.success:hover,
.button.success:hover {
  opacity: 0.9;
}

button.danger,
.button.danger,
button.alert,
.button.alert {
  background: var(--color-danger);
  color: #fff;
}

button.danger:hover,
.button.danger:hover,
button.alert:hover,
.button.alert:hover {
  opacity: 0.9;
}

button:disabled,
.button:disabled,
button[disabled],
.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ------ Messages/Alerts Mobile ------ */

.alert-box,
.flash,
.message {
  width: 100%;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.alert-box.success,
.flash.success,
.message.success {
  background: var(--color-success);
  color: #fff;
}

.alert-box.error,
.flash.error,
.message.error {
  background: var(--color-danger);
  color: #fff;
}

.alert-box.warning,
.flash.warning,
.message.warning {
  background: var(--color-warning);
  color: #000;
}

.alert-box.info,
.flash.info,
.message.info {
  background: var(--color-info);
  color: #fff;
}

/* ------ Typography Mobile ------ */

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
  color: #1a1a1a;
  font-weight: 700;
}

h1 { font-size: var(--font-size-2xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
  margin-bottom: var(--space-md);
  line-height: var(--line-height-base);
  color: #1a1a1a;
  font-weight: 500;
}

/* ------ List Mobile ------ */

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

ul li, ol li {
  margin-bottom: var(--space-xs);
}

/* ============================================================
   TABLET - Medium Devices (480px - 768px)
   ============================================================ */

@media (min-width: 480px) {
  :root {
    --font-size-base: 16px;
  }

  .container {
    padding: var(--space-md);
  }

  .content {
    padding: var(--space-lg);
  }

  /* Od tabletu wzwyż pokazujemy cały miesiąc, nie tylko aktualny tydzień.
     Selektor musi mieć tę samą specyficzność co reguła mobilna chowająca wiersze,
     inaczej (mimo media query) tamta wygrywa i zostaje tylko bieżący tydzień. */
  .calendar-grid tr:not(.current-week):not(:first-child) {
    display: table-row;
  }

  .calendar-week-nav {
    display: none;
  }

  .day-summary-bar {
    flex-direction: row;
    align-items: center;
  }

  /* Header Tablet */
  header {
    font-size: 24px;
    padding: var(--space-md) var(--space-lg);
  }

  header .header-title h1 {
    font-size: 20px;
  }

  header .header-help {
    display: flex;
    gap: var(--space-xs);
  }

  /* Navigation Tablet */
  .top-bar-section ul li > a:not(.button) {
    padding: var(--space-md);
    font-size: var(--font-size-sm);
  }

  .header-actions {
    flex-direction: row;
    gap: var(--space-sm);
  }

  .header-actions li {
    width: auto;
  }

  .header-actions li a {
    padding: 0.5rem 1rem;
    display: inline-block;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-actions li:last-child a {
    border-right: none;
  }

  /* Tables Tablet */
  table {
    min-width: auto;
    font-size: var(--font-size-sm);
  }

  table th,
  table td {
    padding: var(--space-sm);
  }

  table thead {
    background: #f4f7f8;
  }

  /* Forms Tablet */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px;
  }

  button,
  .button,
  input[type="submit"] {
    display: inline-block;
    width: auto;
    min-width: 120px;
    margin: var(--space-sm);
  }

  /* Typography Tablet */
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
}

/* ============================================================
   DESKTOP - Large Devices (768px+)
   ============================================================ */

@media (min-width: 768px) {
  :root {
    --font-size-base: 16px;
  }

  .container {
    max-width: 1024px;
    margin: 0 auto;
    padding: var(--space-lg);
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .content {
    padding: 0 var(--space-lg) var(--space-lg);
    width: 70%;
    flex-shrink: 1;
    min-width: 0;
  }

  #actions-sidebar {
    width: 28%;
    flex-shrink: 1;
    min-width: 0;
    padding: var(--space-lg);
    background: var(--color-bg-lighter);
    border-radius: var(--radius-md);
    margin-top: 0;
  }

  /* Header Desktop */
  header {
    background: none;
    padding: 0;
    width: 100%;
  }

  header .header-title {
    flex: 1;
    padding-left: 20px;
  }

  header .header-title h1 {
    font-size: 28px;
  }

  header .header-help {
    float: none;
    margin: 0;
    flex-shrink: 0;
  }

  /* Navigation Desktop */
  nav.top-bar {
    background: #116d76;
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    justify-content: space-between;
    padding: 0 var(--space-lg);
  }

  .toggle-topbar {
    display: none !important;
  }

  .title-area {
    width: auto;
    padding: 0 var(--space-md);
  }

  .title-area .header-title {
    padding: 0;
  }

  .title-area .header-title a {
    font-size: var(--font-size-lg);
  }

  .top-bar-section {
    display: flex !important;
    flex: 1;
    width: auto !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .top-bar-section ul {
    display: flex;
    flex-direction: row;
    width: auto;
    margin: 0;
  }

  .top-bar-section ul li {
    display: inline-block;
    width: auto;
  }

  .top-bar-section ul li > a:not(.button) {
    display: block;
    padding: 0 var(--space-md);
    line-height: 56px;
    color: #fff;
    background: transparent;
    border: none;
    font-size: var(--font-size-sm);
    text-align: center;
    transition: background-color var(--transition-fast);
  }

  .top-bar-section ul li > a:not(.button):hover {
    background: var(--color-primary-light);
  }

  .header-actions {
    flex-direction: row;
    gap: 0;
  }

  .header-actions li {
    display: inline-block;
  }

  .header-actions li a {
    display: inline-block;
    padding: 0 var(--space-md);
    line-height: 56px;
    color: #fff;
    background: transparent;
    border: none;
    font-size: var(--font-size-sm);
  }

  .header-actions li a:hover {
    background: var(--color-primary-light);
  }

  /* Menu użytkownika: desktop - dropdown jako biała karta pod nazwą */
  .user-menu {
    position: relative;
  }

  .user-dropdown summary {
    padding: 0 var(--space-md);
    height: 56px;
    border-bottom: none;
    background: transparent;
  }

  .user-dropdown summary:hover,
  .user-dropdown[open] summary {
    background: var(--color-primary-light);
  }

  .user-dropdown-list {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 50;
  }

  .user-dropdown-list li a {
    padding: 0.65rem 1rem;
    background: var(--color-bg-white);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .user-dropdown-list li:last-child a {
    border-bottom: none;
  }

  .user-dropdown-list li a:hover {
    background: rgba(23, 152, 165, 0.1);
    color: var(--color-secondary);
  }

  /* Tables Desktop */
  table {
    width: 100%;
    border-collapse: collapse;
  }

  table thead {
    display: table-header-group;
    background: #f5f5f5;
  }

  table thead tr {
    border-bottom: 2px solid var(--color-primary);
  }

  table thead th {
    padding: var(--space-sm);
    text-align: left;
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
  }

  table tbody tr {
    display: table-row;
    border-bottom: 1px solid var(--color-border);
  }

  table tbody tr:nth-child(even) {
    background: #fafafa;
  }

  table tbody tr:hover {
    background: #f0f7f8;
  }

  table td {
    display: table-cell;
    padding: var(--space-sm);
    text-align: left;
    border: none;
  }

  /* Forms Desktop */
  .input {
    margin-bottom: var(--space-md);
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    width: 100%;
    max-width: 500px;
    font-size: var(--font-size-sm);
  }

  textarea {
    max-width: 100%;
  }

  /* Buttons Desktop */
  button,
  .button,
  input[type="submit"] {
    display: inline-block;
    width: auto;
    padding: var(--space-sm) var(--space-lg);
    margin-right: var(--space-sm);
  }

  button.expand,
  .button.expand {
    width: 100%;
  }

  /* Typography Desktop */
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  /* Sidebar */
  .actions.columns {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-md);
    padding: var(--space-md);
  }

  .actions.columns h3 {
    color: var(--color-primary);
    margin-top: 0;
  }
}

/* ============================================================
   XLARGE DEVICES (1024px+)
   ============================================================ */

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }

  .content {
    width: 72%;
  }

  #actions-sidebar {
    width: 26%;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    max-width: 550px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.hidden { display: none; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-nowrap { white-space: nowrap; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.mr-1 { margin-right: var(--space-xs); }
.mr-2 { margin-right: var(--space-sm); }
.mr-3 { margin-right: var(--space-md); }

.pt-2 { padding-top: var(--space-sm); }
.pt-3 { padding-top: var(--space-md); }
.pt-4 { padding-top: var(--space-lg); }

.pb-2 { padding-bottom: var(--space-sm); }
.pb-3 { padding-bottom: var(--space-md); }
.pb-4 { padding-bottom: var(--space-lg); }

.px-2 { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-3 { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-4 { padding-left: var(--space-lg); padding-right: var(--space-lg); }

.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }
.gap-4 { gap: var(--space-lg); }

.width-full { width: 100%; }
.max-width-100 { max-width: 100%; }

.color-primary { color: var(--color-primary); }
.color-secondary { color: var(--color-secondary); }
.color-danger { color: var(--color-danger); }
.color-success { color: var(--color-success); }

.bg-light { background: var(--color-bg-lighter); }
.bg-white { background: var(--color-bg-white); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ------ Additional Utilities --

@media print {
  body { background: white; }
  .no-print { display: none; }
  .content { padding: 0; }
  table { page-break-inside: avoid; }
  tr { page-break-inside: avoid; }
}
