/* Zowa Logistics Modal Styles */
:root {
  --zlm-primary: #0891b2;
  --zlm-primary-hover: #0e7490;
  --zlm-dark: #0f172a;
  --zlm-surface: #1e293b;
  --zlm-border: rgba(255, 255, 255, 0.12);
  --zlm-text: #f8fafc;
  --zlm-text-muted: #94a3b8;
  --zlm-accent: #f59e0b;
}

.zlm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: zlmFadeIn 0.2s ease-out;
}

.zlm-modal {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(8, 145, 178, 0.35);
  border-radius: 14px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), 0 0 35px rgba(8, 145, 178, 0.2);
  display: flex;
  flex-direction: column;
  animation: zlmSlideUp 0.25s ease-out;
}

@keyframes zlmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zlmSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.zlm-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.18) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.zlm-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zlm-title-icon {
  font-size: 1.5rem;
}

.zlm-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.zlm-subtitle {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.zlm-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}
.zlm-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.zlm-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zlm-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #1e293b;
  padding: 4px;
  border-radius: 8px;
}

.zlm-tab {
  padding: 8px 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.zlm-tab.active {
  background: #0891b2;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}

.zlm-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zlm-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.zlm-input, .zlm-select, .zlm-textarea {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  color: #f8fafc;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.zlm-input:focus, .zlm-select:focus, .zlm-textarea:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);
}

.zlm-footer {
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(15, 23, 42, 0.5);
}

.zlm-btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.zlm-btn-primary {
  background: #0891b2;
  border: none;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}

.zlm-btn-primary:hover {
  background: #0e7490;
}
