/* ==========================================================================
   AIMS 10 VERTICALS NAVIGATION & ACTION SUITE STYLESHEET
   Clean, Elegant, Responsive Jump Rails & Inquiries
   ========================================================================== */

/* Universal Jump Rail across all vertical pages */
.v-jump-rail {
  background: var(--surface-card, #ffffff);
  border-bottom: 1px solid var(--border-subtle, rgba(13, 78, 56, 0.12));
  padding: 10px 0;
  position: sticky;
  top: 72px;
  z-index: 95;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.theme-dark .v-jump-rail {
  background: rgba(8, 26, 19, 0.94);
  border-bottom-color: rgba(44, 181, 136, 0.18);
}

.v-jump-rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden !important;
  touch-action: pan-x !important;
  overscroll-behavior-y: none !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 8px;
}

.v-jump-rail-inner::-webkit-scrollbar {
  display: none;
}

.v-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(18, 99, 72, 0.08);
  color: var(--primary-600, #0d4e38);
  font-weight: 700;
  font-size: var(--text-xs, 0.8125rem);
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-subtle, rgba(13, 78, 56, 0.15));
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.v-back-btn:hover {
  background: var(--primary-600, #0d4e38);
  color: #ffffff;
  transform: translateX(-3px);
}

body.theme-dark .v-back-btn {
  background: rgba(44, 181, 136, 0.12);
  color: #6ee7b7;
  border-color: rgba(44, 181, 136, 0.25);
}

body.theme-dark .v-back-btn:hover {
  background: #10b981;
  color: #041c14;
}

.v-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--cream-bg, #faf8f3);
  color: var(--text-muted, #576b63);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.v-pill-nav:hover {
  background: rgba(18, 99, 72, 0.1);
  color: var(--primary-700, #0a3d2c);
  border-color: var(--border-subtle);
}

.v-pill-nav.active {
  background: var(--primary-700, #0a3d2c);
  color: #ffffff;
  border-color: var(--primary-700);
  box-shadow: 0 2px 8px rgba(10, 61, 44, 0.25);
}

body.theme-dark .v-pill-nav {
  background: rgba(255, 255, 255, 0.05);
  color: #d8e5df;
}

body.theme-dark .v-pill-nav:hover {
  background: rgba(44, 181, 136, 0.15);
  color: #ecfdf5;
}

body.theme-dark .v-pill-nav.active {
  background: #10b981;
  color: #041c14;
  border-color: #10b981;
}

/* Action Modal Popup */
.v-action-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 28, 20, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.v-action-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.v-action-modal-card {
  background: var(--surface-card, #ffffff);
  border-radius: var(--radius-lg, 22px);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold-400, #fbbf24);
  max-height: 90vh;
  overflow-y: auto;
}

body.theme-dark .v-action-modal-card {
  background: #081a13;
  color: #f1f7f4;
}

.v-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-medium, rgba(13, 78, 56, 0.2));
  background: var(--cream-bg, #faf8f3);
  color: var(--text-color, #1c2723);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.v-modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.v-calc-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-medium, rgba(13, 78, 56, 0.22));
  background: var(--surface-card, #ffffff);
  color: var(--text-color, #1c2723);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

body.theme-dark .v-calc-select {
  background: #0d261d;
  color: #f1f7f4;
  border-color: rgba(44, 181, 136, 0.25);
}

.v-calc-action-btn {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm, 8px);
  background: linear-gradient(135deg, var(--gold-500, #f59e0b) 0%, var(--gold-600, #d97706) 100%);
  color: #041c14;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.v-calc-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Mobile Responsiveness for Universal Jump Rail & Modals (Strictly max-width: 768px) */
@media screen and (max-width: 768px) {
  .v-jump-rail {
    top: 54px;
    padding: 6px 0;
  }

  .v-jump-rail-inner {
    padding: 0 4px;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    overscroll-behavior-y: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .v-back-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .v-pill-nav {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .v-action-modal-card {
    padding: 20px 16px;
    border-radius: 18px;
    max-width: 95vw;
    width: 95vw;
    margin: 10px auto;
  }
}

