/* commercial.css - Shared Commercial Licensing Modal & PRO Badges for AeroTrack & AstroRidge */

.pro-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.08));
  color: #fde68a;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.pro-status-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  border-color: rgba(251, 191, 36, 0.8);
}

.pro-status-btn.unlocked {
  border-color: rgba(16, 185, 129, 0.55);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
  color: #6ee7b7;
}

.comm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.comm-modal-backdrop.open {
  display: flex;
}

.comm-modal {
  width: 100%;
  max-width: 480px;
  background: #0d1424;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 22px 24px;
  color: #f8fafc;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}

.comm-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.comm-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
}

.comm-modal-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 3px;
}

.comm-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.comm-plan-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #cbd5e1;
}

.comm-plan-box ul {
  margin: 6px 0 0 18px;
}

.comm-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.comm-key-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  outline: none;
}

.comm-key-input:focus {
  border-color: #00e5ff;
}

.comm-btn-primary {
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #04101f;
  border: none;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}

.comm-btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.comm-status-msg {
  font-size: 12px;
  min-height: 18px;
  margin-bottom: 10px;
}

.comm-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #94a3b8;
}

.comm-modal-footer a {
  color: #38bdf8;
  text-decoration: none;
}

.export-progress-overlay {
  position: fixed;
  bottom: 76px;
  right: 24px;
  width: 340px;
  background: rgba(11, 17, 32, 0.96);
  border: 1px solid rgba(0, 229, 255, 0.55);
  border-radius: 12px;
  padding: 12px 14px;
  z-index: 9500;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  display: none;
}

.export-progress-overlay.visible {
  display: block;
}

.export-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0;
}

.export-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #10b981);
  transition: width 0.08s linear;
}
