:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #333333;
  --card: #ffffff;
  --card-foreground: #333333;
  --popover: #ffffff;
  --popover-foreground: #333333;
  --primary: #475569;
  --primary-foreground: #ffffff;
  --secondary: #1e88b8;
  --secondary-foreground: #ffffff;
  --muted: #f4f6f8;
  --muted-foreground: #64748b;
  --accent: #1e88b8;
  --accent-foreground: #ffffff;
  --destructive: #d4183d;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f4f6f8;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: #1e88b8;
  --chart-1: #475569;
  --chart-2: #1e88b8;
  --chart-3: #f68b1f;
  --chart-4: #64748b;
  --chart-5: #94a3b8;
  --radius: 1rem;
  --sidebar: #475569;
  --sidebar-foreground: #ffffff;
  --sidebar-primary: #f68b1f;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #1e88b8;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgba(255, 255, 255, 0.1);
  --sidebar-ring: #1e88b8;
  /* Media Host Brand Colors */
  --brand-primary: #475569;
  --brand-secondary: #1e88b8;
  --brand-orange: #f68b1f;
  --brand-bg-light: #f4f6f8;
  --brand-text-dark: #333333;
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-input-background: var(--input-background);
  --color-switch-background: var(--switch-background);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

/**
 * Base typography. This is not applied to elements which have an ancestor with a Tailwind text class.
 */
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) h1 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) h4 {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) p {
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) label {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) button {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}
:where(:not(:has([class*=" text-"]), :not(:has([class^=text-])))) input {
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}

html {
  font-size: var(--font-size);
}

:root {
  --border-color: #ccc;
  --danger: #c9302c;
  --success-bg: #d4edda;
  --success-text: #155724;
  --error-bg: #f8d7da;
  --error-text: #721c24;
  --v-spacing: 24px;
  --tabs-padding: 16px;
  --text-default: #333333;
  --text-dark: #101010;
  --btn-radius: 4px;
  --max-width: 1340px;
  --shadow: 0 0 10px #d6d6d6;
  --st-space-lg: clamp(32px, 4vw, 48px);
  --st-space-md: clamp(20px, 3vw, 32px);
  --st-space-sm: clamp(12px, 2vw, 20px);
  --default-nav-bg-color: var(--primary);
  --default-nav-text-color: var(--primary-foreground);
  --default-footer-bg-color: var(--primary);
  --default-footer-text-color: var(--primary-foreground);
}

html,
body {
  height: 100%;
  color: #333333;
}

body {
  background-color: #f5f2f2;
  flex-direction: column;
  display: flex;
  font-size: 14px;
}

button {
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

.container,
.container-sm {
  max-width: var(--max-width);
  padding: 0 var(--v-spacing);
  width: auto;
}

.container-sm {
  margin: 0 auto;
  max-width: 600px;
}

a,
button {
  transition: all 0.2s ease-in-out;
}

h5 {
  margin-top: 0;
  padding-bottom: 8px;
  border-bottom: solid 1px var(--border-color);
  margin-bottom: 16px;
}

main {
  flex: 1;
}

body {
  font-family: "Inter", "Calibri", sans-serif;
  position: relative;
  margin: 0;
}

nav {
  z-index: 10;
  position: sticky;
  top: 0;
}

.icon-badge-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.icon-badge-container .badge {
  position: absolute;
  top: 0px;
  right: 0px;
  transform: translate(20%, -20%);
}

.icon-badge-container .material-icons.large {
  font-size: 36px;
}

.dropdown-trigger {
  cursor: pointer;
}

.site-footer {
  background-color: var(--default-footer-bg-color);
  color: var(--default-footer-text-color);
  text-align: center;
  padding: 24px 0;
  margin-top: auto;
}

.button {
  padding: 0 16px;
  line-height: 42px;
  border-radius: 4px;
  font-size: 14px;
  border: none;
}
.button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.button.default {
  background-color: #eee;
  border: solid 1px #ccc;
}
.button.default:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #bbb;
}
.button.dark {
  background-color: #222;
  color: var(--default-nav-text-color);
}
.button.dark:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: var(--default-nav-bg-color);
}
.button.spaced {
  margin-top: 26px;
}
.button.danger {
  background: var(--danger);
}
.button.small {
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
}

button.button.danger {
  border: none;
  cursor: pointer;
}

.btn {
  border-radius: 999px;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  line-height: 42px;
  height: 42px;
  background-color: var(--default-nav-bg-color);
  color: var(--default-nav-text-color);
  padding: 0 24px;
}
.btn.btn-sm {
  line-height: 32px;
  padding: 0 12px;
  height: 32px;
  border-radius: 999px;
}
.btn:hover, .btn:focus, .btn:active {
  background-color: rgb(from var(--default-nav-bg-color) r g b/0.8);
  color: var(--default-nav-text-color);
  box-shadow: none;
}
.btn.btn-dark {
  background-color: var(--text-dark);
}
.btn.btn-dark:hover, .btn.btn-dark:focus, .btn.btn-dark:active {
  background-color: rgb(from var(--text-dark) r g b/0.8);
}
.btn.btn-success {
  background-color: var(--success-text);
}
.btn.btn-success:hover, .btn.btn-success:focus, .btn.btn-success:active {
  background-color: rgb(from var(--success-text) r g b/0.8);
}

.btn-outline {
  border: 2px solid #6366f1;
  background: transparent;
  color: #6366f1;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 400px;
}
.form-box input,
.form-box select,
.form-box button {
  padding: 0.6rem;
  font-size: 1rem;
}

.share-url {
  width: 250px;
  padding: 4px;
  font-size: 0.85rem;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.user-table th,
.user-table td {
  padding: 0.6rem;
  border-bottom: 1px solid #ddd;
}
.user-table tr:hover {
  background: #fafafa;
}

.pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.pagination .page-btn {
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
}

.alert {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.alert.success {
  background: var(--success-bg);
  color: var(--success-text);
}
.alert.error {
  background: var(--error-bg);
  color: var(--error-text);
}

.status-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #fff;
}
.status-badge.status-created {
  background: #6c757d;
}
.status-badge.status-in_qc {
  background: #007bff;
}
.status-badge.status-failed_qc {
  background: #c9302c;
}
.status-badge.status-approved {
  background: #28a745;
}
.status-badge.status-sent {
  background: #17a2b8;
}

.comment-box {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
}
.comment-box p {
  margin: 0.5rem 0;
}
.comment-box small {
  color: #777;
}

.tabs {
  border-bottom: 1px solid #b3c1ce;
}

.tabs .indicator {
  background-color: var(--default-nav-bg-color);
}

.tabs .tab a.active {
  color: #000;
}

.tabs .tab a {
  color: #1f282d;
  text-transform: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.tabs .tab a:hover,
.tabs .tab a:focus,
.tabs .tab a:focus.active {
  background: rgb(from var(--default-nav-bg-color) r g b/0.1);
  color: var(--default-nav-bg-color);
}

.tabs-static .tab a.active {
  border-bottom: solid 4px var(--default-nav-bg-color);
}

.tabs-with-header {
  width: 100%;
}
.tabs-with-header .btn {
  margin-left: auto;
}
.tabs-with-header .grid-item {
  display: flex;
  align-items: center;
}
.tabs-with-header .container {
  flex-direction: column;
  display: flex;
  width: 100%;
  gap: 4px;
}
.tabs-with-header .nav a {
  display: inline-block;
  line-height: 36px;
  padding: 0 var(--tabs-padding);
  text-align: center;
  vertical-align: middle;
  color: var(--text-default);
  text-decoration: none;
  margin: 2px 0 6px;
  border-radius: var(--btn-radius);
  display: flex;
  align-items: center;
}
.tabs-with-header .nav a.active {
  background: var(--text-dark);
  color: #ffffff;
  cursor: default;
}
.tabs-with-header .nav a.active .badge {
  background-color: #fff;
  color: #000;
}
.tabs-with-header .nav a:not(.active):hover {
  background: rgb(from var(--text-default) r g b/0.1);
}
.tabs-with-header h6 {
  padding: 4px 0;
  font-weight: bold;
}
.tabs-with-header .nav {
  display: flex;
  gap: 4px;
}

.tabs-with-header.card {
  margin-top: 0;
  border-radius: 0;
}

.tabs-variant-2-nav {
  display: flex;
  width: 100%;
  gap: 4px;
  padding-left: var(--tabs-padding);
  overflow: hidden;
  position: relative;
  margin-bottom: -1px;
  z-index: 2;
}
.tabs-variant-2-nav a {
  display: block;
  line-height: 36px;
  color: var(--text-default);
  padding: 0 var(--tabs-padding);
}
.tabs-variant-2-nav a:not(.active):hover {
  background: rgba(0, 0, 0, 0.1);
}
.tabs-variant-2-nav a.active {
  background-color: white;
  box-shadow: var(--shadow);
  border: solid 1px var(--border-color);
  border-bottom: none;
  border-top-right-radius: var(--btn-radius);
  border-top-left-radius: var(--btn-radius);
}

.tabs-variant-2-content {
  box-shadow: var(--shadow);
  background-color: white;
  padding: var(--v-spacing);
  border: solid 1px var(--border-color);
  margin-bottom: 42px;
}

nav {
  z-index: 10;
}
nav .brand-logo {
  height: 64px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
nav .brand-logo img {
  max-height: 44px;
  display: block;
  width: auto;
}

.color-card {
  max-width: 200px;
  border-radius: var(--btn-radius);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: sans-serif;
  border: solid 1px var(--border-color);
}
.color-card label:hover .tooltip-text {
  opacity: 1;
  transform: translateY(0px);
}
.color-card input {
  margin-top: 10px;
  width: 100%;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: var(--btn-radius);
  background: #f9f9f9;
  cursor: pointer;
}
.color-card .color-preview {
  background: var(--text-default);
  height: 80px;
  cursor: pointer;
  border-radius: var(--btn-radius) var(--btn-radius) 0 0;
}
.color-card .color-info {
  border-radius: 0 0 var(--btn-radius) var(--btn-radius);
  padding: 14px 14px 12px;
}
.color-card label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  cursor: help;
  justify-content: space-between;
}
.color-card .tooltip-icon {
  background: #e5e7eb;
  font-size: 11px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #555;
  font-weight: bold;
  float: right;
}
.color-card .tooltip-text {
  position: absolute;
  left: 0;
  top: 120%;
  background: #111;
  color: #fff;
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  width: 180px;
  transform: translateY(4px);
  transition: 0.2s ease;
  z-index: 10;
}
.color-card .color-value {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.color-card .color-input {
  width: 0;
  height: 0;
  border: none;
  padding: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.color-pickers {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.color-pickers .color-card {
  min-width: 200px;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 42px;
}
.grid-wrapper .grid-item-header-with-tabs {
  flex-direction: column;
  align-items: flex-start;
}
.grid-wrapper.grid-wrapper-row-md {
  row-gap: 24px;
}
.grid-wrapper.grid-wrapper-row-sm {
  row-gap: 12px;
}
.grid-wrapper.grid-wrapper-row-none {
  row-gap: 0;
}
@media (max-width: 1024px) {
  .grid-wrapper {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-wrapper {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 16px;
  }
}

.grid-item {
  grid-column: span 6;
}
.grid-item.span-12 {
  grid-column: span 9;
}
.grid-item.span-8 {
  grid-column: span 8;
}
.grid-item.span-7 {
  grid-column: span 7;
}
.grid-item.span-5 {
  grid-column: span 5;
}
.grid-item.span-4 {
  grid-column: span 4;
}
.grid-item.span-3 {
  grid-column: span 3;
}
@media (max-width: 1024px) {
  .grid-item {
    grid-column: span 6;
  }
  .grid-item.span-12, .grid-item.span-11, .grid-item.span-10, .grid-item.span-9, .grid-item.span-8, .grid-item.span-7, .grid-item.span-5 {
    grid-column: span 6;
  }
  .grid-item.span-4 {
    grid-column: span 3;
  }
  .grid-item.span-3 {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .grid-item {
    grid-column: span 1;
  }
  .grid-item.span-12, .grid-item.span-11, .grid-item.span-10, .grid-item.span-9, .grid-item.span-8, .grid-item.span-7, .grid-item.span-6, .grid-item.span-5, .grid-item.span-4, .grid-item.span-3 {
    grid-column: span 1 !important;
  }
}

.dropzone {
  max-width: 280px;
  min-height: 100px;
  border: 2px dashed var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s ease;
  padding: 10px 16px;
  text-align: center;
  position: relative;
  color: #888;
}
.dropzone figure {
  background-color: var(--default-nav-bg-color);
}
.dropzone input {
  position: absolute;
}
.dropzone.dragover {
  background: #e8f3ff;
  border-color: #1c7fe0;
}
.dropzone .preview {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
}
.dropzone .dz-label {
  font-size: 12px;
  margin-top: 0;
  display: block;
  color: #555;
  font-weight: 400;
  text-align: center;
}

.dropzone {
  position: relative;
}

.dz-inner-label {
  width: 100%;
  text-align: center;
  background: white;
  color: #333;
  pointer-events: none;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 12px;
}
.dz-inner-label + input + p {
  margin-top: 0;
  margin-bottom: 12px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.doc-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-card.uploaded {
  border-color: #26a69a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  background: #fafffd;
}

.doc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.doc-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.doc-required {
  display: inline-block;
  background: #26a69a;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.doc-status {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 12px;
}

.doc-status.uploaded {
  color: #26a69a;
  font-weight: 600;
}

.doc-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.doc-footer button {
  border: none;
  background: none;
  color: #26a69a;
  cursor: pointer;
  font-weight: 600;
}

.doc-footer button:hover {
  text-decoration: underline;
}

.preview-btn {
  display: none;
}

.doc-card.uploaded .preview-btn {
  display: inline-block;
}

.custom-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  gap: 20px;
}
.custom-accordion-header .left-section,
.custom-accordion-header .middle-section,
.custom-accordion-header .right-section {
  display: flex;
  align-items: center;
}
.custom-accordion-header .left-section {
  flex-direction: column;
  min-width: 120px;
}
.custom-accordion-header .middle-section {
  flex: 1;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.custom-accordion-header .left-section .item,
.custom-accordion-header .middle-section .item {
  display: flex;
  flex-direction: column;
}
.custom-accordion-header .label {
  font-size: 13px;
  color: #999;
}
.custom-accordion-header .value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.custom-accordion-header .right-section {
  display: flex;
  align-items: center;
  gap: 16px;
}
.custom-accordion-header .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6d6d6d;
}
.custom-accordion-header .more-btn {
  border: none;
  background: #000;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-wrapper {
  display: none;
}

.step-wrapper.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 40px;
  align-items: center;
}

.step-indicator .step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(from var(--primary) r g b/0.2);
  color: var(--text-dark);
  font-weight: 600;
}

.step-indicator .active {
  background: var(--default-nav-bg-color);
  color: white;
}

.step-line {
  flex: 1;
  height: 3px;
  background: rgb(from var(--primary) r g b/0.1);
  margin: 0 10px;
}

.step-line.active {
  background: rgb(from var(--brand-secondary) r g b/0.5);
}

.step-circle.done {
  background-color: var(--brand-secondary);
  color: white;
}

.vertical-stepper .step-item {
  gap: 8px;
}
.vertical-stepper .stepper-active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.vertical-stepper .stepper-active .step-label {
  color: var(--primary-foreground);
}
.vertical-stepper .step-line {
  max-height: 46px;
  min-height: 46px;
  width: 2px;
  margin-left: 18px;
  margin-bottom: 10px;
}
.vertical-stepper {
  /* ACTIVE STEP */
}
.vertical-stepper .stepper-active {
  background-color: var(--default-nav-bg-color) !important;
  color: #fff !important;
}
.vertical-stepper {
  /* COMPLETED STEP */
}
.vertical-stepper .stepper-complete {
  background-color: var(--color-green-500) !important;
  color: #fff !important;
}
.vertical-stepper {
  /* FUTURE STEP */
}
.vertical-stepper .stepper-inactive {
  background-color: var(--color-slate-200) !important;
  color: var(--color-slate-600) !important;
}

#wizard-buttons {
  margin-bottom: 42px;
}

#vertical-step-bar {
  max-width: 300px;
}
@media (max-width: 1024px) {
  #vertical-step-bar {
    max-width: none;
  }
}

.searchable-dropdown {
  position: relative;
}
.searchable-dropdown .dropdown-input {
  cursor: pointer;
}
.searchable-dropdown .dropdown-panel {
  position: absolute;
  top: 60px;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  display: none;
  z-index: 999;
}
.searchable-dropdown .dropdown-panel.open {
  display: block;
}
.searchable-dropdown .dropdown-panel .search-wrapper {
  padding: 10px 12px 0 12px;
}
.searchable-dropdown .dropdown-panel .search-wrapper .search-input {
  width: 100%;
}
.searchable-dropdown .dropdown-panel .dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.searchable-dropdown .dropdown-panel .dropdown-list li {
  padding: 12px 16px;
  cursor: pointer;
}
.searchable-dropdown .dropdown-panel .dropdown-list li:hover {
  background: #eee;
}

.breadcrumbs .breadcrumb {
  color: var(--primary);
  font-size: 14px;
}
.breadcrumbs .breadcrumb:last-child {
  color: var(--default-nav-bg-color);
}
.breadcrumbs .breadcrumb:before {
  margin: -8px 4px 8px 4px;
  color: var(--muted-foreground);
}

/* Base dropdown container */
.advanced-searchable-dropdown {
  position: relative;
  width: 100%;
}
.advanced-searchable-dropdown .dropdown-input {
  width: 100%;
  height: 3rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid #9e9e9e;
  outline: none;
  font-size: 1rem;
}
.advanced-searchable-dropdown .dropdown-input:focus {
  border-bottom: 2px solid var(--text-dark);
}
.advanced-searchable-dropdown .dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 0.25rem;
  padding: 0.25rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.advanced-searchable-dropdown .dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}
.advanced-searchable-dropdown .dropdown-empty {
  padding: 0.5rem 0.75rem;
}
.advanced-searchable-dropdown .dropdown-list li {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.advanced-searchable-dropdown .dropdown-list li:hover {
  background: rgb(from var(--default-nav-bg-color) r g b/0.1);
  color: var(--text-dark);
}
.advanced-searchable-dropdown .add-option {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.advanced-searchable-dropdown .hidden {
  display: none !important;
}

/* Only affect labels that belong to advanced dropdowns */
.input-field > label + .advanced-searchable-dropdown.is-active ~ label,
.input-field > label + .advanced-searchable-dropdown.is-active + label {
  /* nothing */
}
.input-field {
  /* Label BEFORE the dropdown */
}
.input-field > label {
  transition: 0.2s ease all;
}
.input-field .selected-items {
  display: contents; /* KEY TRICK */
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.input-field .dropdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 13px;
  background: #e5edff;
  border-radius: 999px;
  white-space: nowrap;
}
.input-field .dropdown-pill button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.input-field {
  /* When dropdown is active, move the label */
}
.input-field > label:has(+ .advanced-searchable-dropdown.is-active) {
  transform: translateY(-14px) scale(0.8);
}
.input-field > label:has(+ .advanced-searchable-dropdown.is-active).has-multiple {
  transform: translateY(-26px) scale(0.8);
}
.input-field .advanced-searchable-dropdown.is-active .dropdown-control {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.asset-browser {
  --bg: #f6f7fb;
  --text: var(--brand-text-dark);
  --muted: #6b7280;
  --accent: rgba(0, 0, 0, 0.2);
  --card-bg: #ffffff;
  --panel-bg: #ffffff;
  /* =========================
     Layout
     ========================= */
}
.asset-browser .asset-layout {
  display: grid;
}
.asset-browser {
  /* =========================
     Grid
     ========================= */
}
.asset-browser .asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.asset-browser .asset-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.asset-browser .asset-card:hover, .asset-browser .asset-card:focus-visible {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  outline: none;
}
.asset-browser .asset-card--active {
  border-color: var(--primary);
}
.asset-browser .asset-thumb {
  height: 120px;
  background: #e5e7eb;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-browser .asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-browser .asset-file-icon {
  font-size: 44px;
  color: #374151;
}
.asset-browser .asset-type-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-transform: uppercase;
}
.asset-browser .asset-card-body {
  padding: 12px;
}
.asset-browser .asset-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.asset-browser .asset-meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.asset-browser {
  /* =========================
     Side Panel
     ========================= */
}
.asset-browser .asset-panel {
  background: var(--panel-bg);
  border-left: 1px solid var(--border);
  padding: 24px 28px;
  overflow-y: auto;
  display: none;
}
.asset-browser .asset-panel--active {
  display: block;
}
.asset-browser .asset-panel-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.asset-browser .asset-panel-header h2 {
  margin: 0;
  font-size: 18px;
}
.asset-browser .asset-panel-header .material-icons {
  color: var(--muted);
  cursor: pointer;
}
.asset-browser .asset-panel-preview {
  height: 200px;
  background: #e5e7eb;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asset-browser .asset-panel-preview .material-icons {
  font-size: 56px;
  color: #374151;
}
.asset-browser .asset-section {
  margin-bottom: 22px;
}
.asset-browser .asset-section h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.asset-browser .asset-meta-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 8px;
  font-size: 13px;
}
.asset-browser .asset-meta-list div:nth-child(odd) {
  color: var(--muted);
}
.asset-browser .asset-actions {
  position: sticky;
  bottom: 0;
  padding-top: 16px;
  display: flex;
  gap: 10px;
  background: linear-gradient(transparent, #fff 40%);
}
@media (max-width: 1200px) {
  .asset-browser .asset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .asset-browser .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .asset-browser .asset-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Overlay
   ========================= */
.asset-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.asset-overlay--active {
  opacity: 1;
  pointer-events: auto;
}
.asset-overlay--active .asset-drawer {
  transform: translateX(0);
}

/* Prevent body scroll */
body.asset-overlay-open {
  overflow: hidden;
}

/* =========================
   Drawer
   ========================= */
.asset-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 400px;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* =========================
   Header
   ========================= */
.asset-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}
.asset-drawer-header h2 {
  font-size: 18px;
  margin: 0;
}
.asset-drawer-header button {
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   Content
   ========================= */
.asset-drawer-content {
  padding: 18px;
  overflow-y: auto;
}

/* =========================
   Metadata
   ========================= */
.asset-meta-section {
  margin-bottom: 22px;
}
.asset-meta-section h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.asset-meta-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 8px;
  font-size: 13px;
}
.asset-meta-list dt {
  color: #6b7280;
}
.asset-meta-list dd {
  margin: 0;
  font-weight: 500;
}

.upload-btn-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 16px;
}
.upload-btn-wrapper .js-upload-filename {
  display: none !important;
}

.destination-field {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.destination-field .tag {
  background: #111;
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.destination-field .tag button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.modal .row {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.modal .modal-footer {
  text-align: center;
  height: 66px;
}

.badge {
  margin-left: auto;
  font-size: 12px;
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
}

.modal-title {
  margin: 0 0 16px;
  font-size: 24px;
}

.modal .modal-content {
  padding-top: 16px;
}

.destination-list h4 {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.modal-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.destinations-list {
  flex-direction: column;
  display: flex;
  width: 100%;
  gap: 8px;
}

.order-files .order-file {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.order-files .order-file:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.order-files .order-file-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
}
.order-files .order-file .file-left .file-thumb {
  width: 84px;
  height: auto;
  border-radius: 4px;
  display: block;
}
.order-files .order-file .file-middle .file-title {
  font-weight: 600;
}
.order-files .order-file .file-middle .file-subtitle {
  font-size: 0.85rem;
  color: #777;
}
.order-files .order-file .file-meta {
  text-align: right;
}
.order-files .order-file .file-meta .file-date {
  font-size: 0.85rem;
  color: #555;
}
.order-files .order-file .file-meta .file-status {
  font-size: 0.85rem;
  font-weight: 500;
}
.order-files .order-file .file-toggle {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.order-files .order-file .file-toggle.open {
  transform: rotate(180deg);
}
.order-files .order-file .file-toggle i {
  font-size: 1.5rem;
}
.order-files .order-file-body {
  display: none;
  padding: 12px 0 0;
  align-items: center;
  gap: 24px;
}
.order-files .order-file-body.open {
  display: flex;
}
.order-files .order-file-body .section-title {
  font-weight: 500;
  margin: 0;
}
.order-files .order-file-body .destination {
  margin-bottom: 1rem;
  flex: 1;
}
.order-files .order-file-body .destination:last-child {
  margin-bottom: 0;
}
.order-files .order-file-body .destination-name {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.order-files .order-file-body .destination .status-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.order-files .order-file-body .destination .status-steps .step {
  padding: 0.4rem 0.8rem;
  background: #f3f3f3;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.order-files .order-file-body .destination .status-steps .step.active {
  background: #000;
  color: #fff;
}

.order-file-body .destination-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 0.75rem 0 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px 0 0 999px;
  white-space: nowrap;
  min-width: 135px;
  margin-bottom: 16px;
}
.order-file-body .destination-tag::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 11px solid var(--primary);
}
.order-file-body .destination {
  margin-bottom: 1.5rem;
}
.order-file-body .destination .destination-name {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.order-file-body .destination .stepper {
  display: flex;
  flex-wrap: nowrap;
}
.order-file-body .destination .stepper .step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  white-space: nowrap;
  flex-direction: column;
}
.order-file-body .destination .stepper .step .circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  color: transparent;
}
.order-file-body .destination .stepper .step .label {
  font-size: 0.8rem;
  color: #666;
}
.order-file-body .destination .stepper .step.completed .circle {
  background: #000;
  border-color: #000;
  color: #fff;
}
.order-file-body .destination .stepper .step.completed .label {
  color: #000;
  font-weight: 700;
}
.order-file-body .destination .stepper .step.active .circle {
  border-color: var(--primary);
  background: #fff;
  color: var(--primary);
}
.order-file-body .destination .stepper .step.active .label {
  color: #000;
  font-weight: 500;
}
.order-file-body .destination .stepper .line {
  flex: 1;
  height: 2px;
  background: #ddd;
  margin: 10px 0 0 0;
}
.order-file-body .destination .stepper .line.completed {
  background: #000;
}
.order-file-body .destination .stepper .line.active {
  background: linear-gradient(to right, #000 50%, #ddd 50%);
}
.order-file-body .step {
  transition: color 0.15s ease;
}
.order-file-body .step .circle {
  transition: all 0.15s ease;
}
.order-file-body .stepper {
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.order-files {
  padding: 24px 16px;
}

.flight-codes-card .collection-item .input-field {
  margin: 0;
}
.flight-codes-card .collection-item.line-item {
  display: grid;
  grid-template-columns: 2fr 2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0.75rem;
  background: #fff;
}
.flight-codes-card .collection-item.line-item:hover {
  border-color: rgba(0, 0, 0, 0.15);
}
.flight-codes-card .collection-item.line-item input,
.flight-codes-card .collection-item.line-item select {
  width: 100%;
  margin: 0;
}
.flight-codes-card .collection-item.line-item .remove-flight-code {
  white-space: nowrap;
}
.flight-codes-card .collection {
  margin: 0;
  gap: 0;
}
.flight-codes-card {
  /* Mobile: stack everything */
}
@media (max-width: 640px) {
  .flight-codes-card .collection-item.line-item {
    grid-template-columns: 1fr;
  }
  .flight-codes-card .collection-item.line-item .remove-flight-code {
    align-self: flex-start;
  }
}

#flight-codes-list {
  margin-bottom: 16px;
}

.flight-code-panel {
  display: none;
}

.flight-code-panel.active {
  display: block;
}

.flight-codes-tabs {
  max-width: 220px;
  width: 100%;
  flex: 1;
}

.flight-code-tab {
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-left: 3px solid transparent;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flight-code-tab.active {
  border-left-color: #2196f3;
  font-weight: 600;
}

.flight-codes-layout {
  display: flex;
  gap: 32px;
}
.flight-codes-layout .flight-codes-panels {
  flex: 1;
}

.flight-code-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.flight-code-tab .delete-flight-code {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.4;
}

.flight-code-tab:hover .delete-flight-code {
  opacity: 1;
}

.flight-code-tab .delete-flight-code:hover {
  color: #e53935;
}

#addFlightCode {
  margin-top: 24px;
}

#order-form {
  min-height: calc(100% - 46px);
  flex-direction: column;
  display: flex;
}
#order-form #wizard-wrapper {
  min-height: 100%;
  flex: 1;
}
#order-form #wizard-wrapper .step-content {
  min-height: 100%;
}
#order-form #wizard-wrapper #step-content-4 {
  flex-direction: column;
  display: flex;
}
#order-form #wizard-wrapper #step-content-4 #assetsStep {
  flex: 1;
}
#order-form #assetsHelper {
  flex-direction: column;
  display: flex;
  gap: 16px;
}

.order-view .collapsible-body .collapsible-header {
  align-items: center;
  display: flex;
  gap: 16px;
}

.order-assets {
  margin: 16px 0 32px;
}
.order-assets .asset-layout {
  width: 100%;
}
.order-assets .asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.order-assets .asset-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
}
.order-assets .asset-card.is-placeholder {
  cursor: default;
  opacity: 0.9;
}
.order-assets .asset-thumb {
  aspect-ratio: 16/9;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
.order-assets .asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-assets .asset-thumb .asset-file-icon {
  font-size: 48px;
  color: #475569;
}
.order-assets .asset-upload-cta {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #475569;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.order-assets .asset-upload-cta button {
  border: none;
  background: #475569;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.order-assets .asset-card.is-placeholder:hover .asset-upload-cta {
  opacity: 1;
}
.order-assets {
  /* Skeletons */
}
.order-assets .asset-card.is-loading {
  pointer-events: none;
}
.order-assets .asset-card.is-loading .asset-thumb,
.order-assets .asset-card.is-loading .asset-card-body {
  background: linear-gradient(90deg, #e5e7eb 25%, #f1f5f9 37%, #e5e7eb 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.json-pretty {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 11px;
  border-radius: 4px;
  max-height: 200px;
  overflow: auto;
  white-space: pre-wrap;
}

.pagination {
  margin-top: 1rem;
}

.dropdown-content {
  min-width: 180px;
  z-index: 3;
}

table thead td,
table thead th {
  background-color: #f5f5f5;
}
table tbody td {
  padding-bottom: 5px;
  padding-top: 5px;
}
table .btn-small:hover {
  background-color: var(--border-color);
  color: #111;
}

.pagination {
  gap: 4px;
  margin-top: 16px;
}
.pagination li a {
  font-size: 14px;
}

span.badge,
span.badge.new {
  min-width: 26px;
  margin-left: 8px;
  border-radius: 5px;
  font-weight: 500;
}

.section-card {
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 24px;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e0e0e0;
  color: #333;
  letter-spacing: 0.5px;
}

.mt-0 {
  margin-top: 0;
}

.mt-10 {
  margin-top: var(--st-space-lg);
}

.mt-5 {
  margin-top: var(--st-space-md);
}

.gap-10 {
  gap: var(--st-space-lg);
}

.actions form {
  display: inline;
}

.section-header {
  justify-content: space-between;
  align-items: center;
  display: flex;
  gap: 16px;
}

.switch .switch-label {
  display: inline-block;
  min-width: 135px;
  margin-left: 10px;
  vertical-align: middle;
  color: var(--text-default);
  font-size: 1rem;
}
.switch label .lever {
  margin: 0;
}
.switch label input[type=checkbox]:checked + .lever {
  background-color: var(--default-nav-bg-color);
}
.switch label input[type=checkbox]:checked + .lever::after {
  background-color: #000;
}

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

.buttons-group {
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  gap: 8px;
}

.card-panel {
  border-radius: 8px;
}

.material-tooltip {
  border-radius: 8px;
  background-color: #1f2937;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 12px;
  line-height: 1.4;
  overflow: visible;
}
.material-tooltip .backdrop {
  display: none;
}
.material-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #1f2937; /* same as tooltip bg */
  top: 100%;
}

.delivery-confirmation {
  margin: 0 auto;
}

.dc-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dc-header h4 {
  margin-bottom: 0.25rem;
}

.dc-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
}

.dc-order {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.dc-card {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.dc-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 0.5fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  align-items: center;
}

.dc-grid-head {
  font-size: 0.85rem;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
}

.dc-grid-row {
  font-weight: 500;
}

.dc-grid-subhead {
  background: #f3f4f6;
  font-size: 0.85rem;
  font-weight: 500;
}

.right {
  text-align: right;
}

.dc-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

.dc-checkbox input {
  accent-color: #111827;
}

.dc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dc-billing {
  background: #111827;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.dc-actions {
  display: flex;
  gap: 0.75rem;
}

.has-icon {
  align-items: center;
  display: flex;
}
.has-icon .material-icons {
  margin-left: 8px;
}

.collection {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: none;
}
.collection .collection-item {
  border: solid 1px var(--border);
  background-color: #fff;
}
.collection .collection-item:last-child {
  border: solid 1px var(--border);
}

.destination-list .option {
  border: solid 1px #aaa;
  border-radius: 4px;
  padding: 2px 4px 0;
}
.destination-list .option [type=checkbox] + span:not(.lever) {
  padding-left: 20px;
}
.destination-list .row {
  align-items: center;
  margin-bottom: 12px;
}
.destination-list .row .name {
  margin-right: 12px;
}

/*# sourceMappingURL=main.css.map */
