/* Grand Hotel De Djokja - Marcomm Hub Styles (Charcoal & Electric Lime Agency System) */
:root {
  color-scheme: light;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
  font-size: max(1rem, 1em);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #dc2626;
}

:focus-visible {
  outline: 2px solid #3a4d00;
  outline-offset: 2px;
}

.bg-navy-900 :focus-visible,
.bg-navy-950 :focus-visible,
header :focus-visible {
  outline-color: #d4f637;
}

/* Fluid agency display typography */
.display-hero {
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  line-height: 1.08;
}

.display-section {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.14;
}

.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Creative studio mobile menu popover */
.creative-menu-popover {
  box-shadow: 5px 5px 0 0 #d4f637;
}

.creative-menu-popover::backdrop {
  background: rgba(10, 13, 18, 0.55);
}

/* Native dialog rules per modern web standards */
dialog:modal {
  overscroll-behavior: contain;
  margin: auto;
  max-height: 90dvh;
}

dialog::backdrop {
  background: rgba(17, 21, 28, 0.62);
  backdrop-filter: blur(2px);
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Responsive table wrapper */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
}

@container (width < 640px) {
  .responsive-table table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td {
    display: block;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody tr {
    margin-block-end: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
  }

  .responsive-table tbody td,
  .responsive-table tbody th {
    padding: 0.3rem 0;
    border: 0;
    text-align: start;
  }

  .responsive-table tbody td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: #475569;
  }
}
