.dash-ticket-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}
.dash-ticket-modal-backdrop.is-open {
  display: flex;
}
.dash-ticket-modal {
  width: min(760px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(900px 280px at 0% -20%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(700px 240px at 100% 0%, rgba(16, 185, 129, 0.1), transparent 50%),
    linear-gradient(180deg, #151820, #0f1116);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.dash-ticket-modal-head {
  padding: 1.15rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-ticket-modal-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
}
.dash-ticket-modal-title {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}
.dash-ticket-modal-sub {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
}
.dash-ticket-form {
  padding: 1.15rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.dash-ticket-grid {
  display: grid;
  gap: 0.85rem;
}
.dash-ticket-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dash-ticket-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .dash-ticket-grid--2,
  .dash-ticket-grid--3 {
    grid-template-columns: 1fr;
  }
}
.dash-ticket-field label,
.dash-ticket-field .dash-ticket-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}
.dash-ticket-field input,
.dash-ticket-field select,
.dash-ticket-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #f4f4f5;
  padding: 0.62rem 0.72rem;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.dash-ticket-field input:focus,
.dash-ticket-field select:focus,
.dash-ticket-field textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
  background: rgba(0, 0, 0, 0.48);
}
.dash-ticket-field input[readonly] {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  cursor: default;
}
.dash-ticket-field select {
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.dash-ticket-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.dash-ticket-upload {
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
  padding: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dash-ticket-upload.is-dragover {
  border-color: rgba(16, 185, 129, 0.65);
  background: rgba(16, 185, 129, 0.08);
}
.dash-ticket-upload-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.dash-ticket-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}
.dash-ticket-upload-copy {
  flex: 1;
  min-width: 180px;
}
.dash-ticket-upload-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.dash-ticket-upload-hint {
  margin-top: 0.15rem;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}
.dash-ticket-upload-btn {
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
  border-radius: 9px;
  padding: 0.45rem 0.85rem;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.dash-ticket-upload-btn:hover {
  background: rgba(56, 189, 248, 0.2);
}
.dash-ticket-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dash-ticket-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.dash-ticket-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.45rem 0.25rem 0.55rem;
  font-size: 11px;
  color: #e2e8f0;
}
.dash-ticket-file-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.dash-ticket-file-remove {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 0.15rem;
  line-height: 1;
}
.dash-ticket-file-remove:hover {
  color: #fca5a5;
}
.dash-ticket-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  padding-top: 0.15rem;
}
.dash-ticket-submit {
  border: 0;
  border-radius: 10px;
  padding: 0.58rem 1.1rem;
  font-size: 13px;
  font-weight: 700;
  color: #042f2e;
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
  cursor: pointer;
}
.dash-ticket-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.dash-ticket-error {
  font-size: 13px;
  color: #fca5a5;
  line-height: 1.45;
}
.dash-ticket-error.hidden,
.dash-ticket-file-list.hidden,
.hidden {
  display: none !important;
}
