:root {
  --ds-ink: #102033;
  --ds-panel: #ffffff;
  --ds-navy: #071923;
  --ds-blue: #0f6bcb;
  --ds-cyan: #23d3c3;
  --ds-border: #d8e8f2;
}

body {
  font-family: Inter, "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ds-ink);
}

.brand-link .brand-image {
  width: 38px;
  height: 38px;
  max-height: 38px;
  object-fit: contain;
  margin-left: .55rem;
  margin-right: .55rem;
}

.brand-link .brand-text {
  font-weight: 800 !important;
  letter-spacing: 0;
}

.sidebar-drone-help {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(35, 211, 195, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24px 24px, rgba(35, 211, 195, .22), transparent 34px),
    linear-gradient(145deg, rgba(12, 37, 53, .98), rgba(15, 107, 203, .28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
  padding: 14px 14px 12px;
}

.sidebar-help-copy {
  position: relative;
  z-index: 2;
}

.sidebar-help-title {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.sidebar-help-email {
  display: block;
  width: 100%;
  margin-top: 8px;
  color: #dffbff !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sidebar-help-email:hover {
  color: #fff !important;
  text-decoration: none;
}

.sidebar-drone-flight {
  position: relative;
  height: 78px;
  margin-top: 10px;
  border-top: 1px solid rgba(223, 251, 255, .14);
  overflow: hidden;
}

.sidebar-drone-flight::before {
  position: absolute;
  inset: 12px 34px 8px;
  border-left: 1px dashed rgba(223, 251, 255, .22);
  content: "";
}

.sidebar-drone-animated {
  position: absolute;
  left: 50%;
  top: 0;
  width: 118px;
  height: 78px;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 8px rgba(35, 211, 195, .5));
  animation: dsDroneFloat 4.6s ease-in-out infinite;
}

.sidebar-drone-trail {
  fill: none;
  stroke: rgba(223, 251, 255, .28);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 8;
}

.sidebar-drone-body {
  animation: dsDroneBob 1.8s ease-in-out infinite;
  transform-origin: center;
}

.sidebar-drone-rotor {
  animation: dsRotorSpin .5s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes dsDroneFloat {
  0%, 100% { transform: translate(-50%, -8px); }
  50% { transform: translate(-50%, 9px); }
}

@keyframes dsDroneBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(3px) rotate(1deg); }
}

@keyframes dsRotorSpin {
  0%, 100% { transform: scaleX(1); opacity: .9; }
  50% { transform: scaleX(.35); opacity: .55; }
}

.modal-content,
.swal2-popup.dronescan-swal {
  border: 1px solid var(--ds-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(7, 25, 35, .22) !important;
  font-family: Inter, "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.modal-header {
  background: linear-gradient(135deg, #071923, #0f6bcb);
  color: #fff;
  border-bottom: 0;
}

.modal-header .close,
.modal-header .close span {
  color: #fff;
  opacity: .9;
  text-shadow: none;
}

.modal-title,
.swal2-title {
  font-weight: 800 !important;
  letter-spacing: 0;
}

.swal2-popup.dronescan-swal {
  padding: 1.6rem !important;
}

.swal2-icon.swal2-question,
.swal2-icon.swal2-info {
  border-color: rgba(35, 211, 195, .7) !important;
  color: var(--ds-blue) !important;
}

.swal2-html-container,
.swal2-footer {
  color: #465568 !important;
  line-height: 1.55;
}

.dronescan-swal-confirm,
.btn-primary {
  border-color: var(--ds-blue) !important;
  background: linear-gradient(135deg, var(--ds-blue), #0f8b8d) !important;
  color: #fff !important;
  font-weight: 700;
}

.dronescan-swal-cancel {
  border: 1px solid #bccbd8 !important;
  background: #f5f9fc !important;
  color: #26384b !important;
  font-weight: 700;
}

.dronescan-swal-confirm,
.dronescan-swal-cancel {
  border-radius: 6px !important;
  padding: .58rem 1rem !important;
}

.ds-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.ds-choice-btn {
  min-height: 132px;
  border: 1px solid rgba(35, 211, 195, .28);
  border-radius: 8px;
  padding: 16px 14px;
  color: #fff;
  text-align: left;
  background: linear-gradient(145deg, #0c2535, #0f6bcb);
}

.ds-choice-btn.secondary {
  background: linear-gradient(145deg, #26384b, #0f8b8d);
}

.ds-choice-btn .small {
  opacity: .88;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .ds-choice-grid {
    grid-template-columns: 1fr;
  }
}
