/* ==========================================================================
   JAIPUR TRAVELS — Cookie consent banner & settings modal
   The banner sits at the bottom and never blocks forms or floating actions.
   ========================================================================== */

.jt-cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080;
  background: var(--jt-navy); color: #eaf0f4;
  box-shadow: 0 -12px 40px rgba(23,43,58,.28);
  border-top: 3px solid var(--jt-gold);
  animation: jtBannerUp .4s ease;
}
.jt-cookie-banner[hidden] { display: none; }
@keyframes jtBannerUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.jt-cookie-banner-inner {
  max-width: var(--jt-maxw); margin: 0 auto; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.jt-cookie-text { flex: 1 1 380px; }
.jt-cookie-title { color: #fff; font-size: 1.15rem; margin: 0 0 6px; }
.jt-cookie-title i { color: var(--jt-gold); margin-right: 6px; }
.jt-cookie-desc { font-size: .9rem; color: #c4d0d9; margin: 0; max-width: 640px; }
.jt-cookie-desc a { color: var(--jt-sandstone); text-decoration: underline; }
.jt-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.jt-cookie-actions .btn { padding: .55rem 1.15rem; font-size: .9rem; }

/* Shift floating action buttons above the banner when it is visible */
body.jt-banner-visible .jt-floating { bottom: 170px; }

/* ---------- Settings modal ---------- */
.jt-cookie-modal { border-radius: var(--jt-radius); border: none; }
.jt-cookie-modal .modal-header { background: var(--jt-ivory); border-bottom: 1px solid var(--jt-border); }
.jt-cookie-modal .modal-title { font-family: var(--jt-font-head); color: var(--jt-maroon); }
.jt-cookie-modal-lead { font-size: .92rem; color: var(--jt-muted); }
.jt-cookie-cat {
  border: 1px solid var(--jt-border); border-radius: var(--jt-radius-sm);
  padding: 1rem 1.1rem; margin-bottom: 1rem; background: #fff;
}
.jt-cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jt-cookie-cat-name { font-weight: 700; color: var(--jt-navy); margin: 0; }
.jt-cookie-cat p { font-size: .86rem; color: var(--jt-muted); margin: .5rem 0 0; }
.jt-badge-always {
  background: #e7f6ec; color: #1e7e46; font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px;
}
.jt-cookie-modal .form-switch .form-check-input { cursor: pointer; width: 2.6em; height: 1.4em; }
.jt-cookie-modal .form-switch .form-check-input:checked { background-color: var(--jt-gold); border-color: var(--jt-gold); }
.jt-cookie-modal .form-switch .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(201,154,61,.25); border-color: var(--jt-gold); }
.jt-cookie-modal .modal-footer { gap: 8px; }

/* Mobile: stack banner content */
@media (max-width: 575.98px) {
  .jt-cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .jt-cookie-actions { justify-content: flex-start; }
  .jt-cookie-actions .btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .jt-cookie-banner { animation: none; }
}
