/**
 * RV Model Page Styles
 * Separate CSS file for RV model pages (gallery modal, 360 views, etc.)
 * Only load this file on RV model pages
 * Can be extended with additional model-specific styles in the future
 Ashish Pradhan
 */

/* ===== MODEL HERO SLIDER - FULL 1920x1080 (16:9) ASPECT RATIO ===== */
/* Override global hero caps so model detail pages show hero images at full 16:9 */

body.model-detail-page .hero-section,
body.model-detail-page .hero-stable {
  aspect-ratio: 16 / 9;
  min-height: 300px;
  max-height: 1080px; /* Lift the 800px cap to allow full 1920x1080 images */
}

/* Keep 16:9 on all screen sizes (override global 4:3 and 1:1 breakpoints) */
@media (max-width: 992px) {
  body.model-detail-page .hero-section,
  body.model-detail-page .hero-stable {
    aspect-ratio: 16 / 9;
    min-height: 250px;
    max-height: 1080px;
  }
}

@media (max-width: 768px) {
  body.model-detail-page .hero-section,
  body.model-detail-page .hero-stable {
    aspect-ratio: 16 / 9;
    min-height: 200px;
    max-height: 1080px;
  }
}

/* ===== STICKY SUB-NAVIGATION FOR MODEL PAGES ===== */

/* Add scroll offset to sections so headings appear below sticky nav */
#overview-section,
#specs-section,
#features-section,
#decor-section,
#inventory-section,
#build-section,
#gallery-section {
  scroll-margin-top: 160px;
}

/* Force remove underline from active state - only show on hover */
body.model-detail-page .submenu-items a {
  border-bottom-color: transparent !important;
}

body.model-detail-page .submenu-items a.active {
  border-bottom-color: transparent !important;
}

body.model-detail-page .submenu-items a:hover {
  border-bottom-color: var(--secondary-color) !important;
}

/* Override style.css sticky submenu to position below main header on model pages */
/* Use body.model-detail-page for maximum specificity */
body.model-detail-page nav.sticky-submenu,
body.model-detail-page .sticky-submenu {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 75px !important; /* Position below main nav (adjust based on main nav height) */
  background: var(--submenu-bg) !important;
  z-index: 1020 !important; /* Below main header (1030) but above content */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid #333 !important;
  width: 100% !important;
  overflow-x: hidden !important;
  transition: top 0.3s ease !important;
}

/* Ensure proper spacing when both navs are sticky */
body.model-detail-page.has-sticky-nav nav.sticky-submenu,
body.model-detail-page.has-sticky-nav .sticky-submenu,
body.model-detail-page nav.sticky-submenu,
body.model-detail-page .sticky-submenu {
  top: 75px !important;
}

/* Mobile submenu sticky adjustments */
@media (max-width: 767px) {
  body.model-detail-page nav.sticky-submenu,
  body.model-detail-page .sticky-submenu {
    top: 60px !important; /* Smaller top offset for mobile nav */
  }

  body.model-detail-page.has-sticky-nav nav.sticky-submenu,
  body.model-detail-page.has-sticky-nav .sticky-submenu {
    top: 60px !important;
  }
}

/* Tablet submenu sticky adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  body.model-detail-page nav.sticky-submenu,
  body.model-detail-page .sticky-submenu {
    top: 70px !important; /* Medium top offset for tablet */
  }

  body.model-detail-page.has-sticky-nav nav.sticky-submenu,
  body.model-detail-page.has-sticky-nav .sticky-submenu {
    top: 70px !important;
  }
}

/* ===== GALLERY SECTION STYLES ===== */

/* Gallery Section */
#gallery-section {
  padding: 3rem 0;
  overflow-x: hidden;
  overflow-y: visible;
}

#gallery-section .container-fluid {
  overflow: hidden;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  position: relative;
  min-height: 400px;
  overflow: visible;
  padding: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
  transition: none;
  will-change: transform;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img-wrapper:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px) scale(1);
  z-index: 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img-wrapper:hover .gallery-img {
  transform: scale(1.1) rotate(0.5deg);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  gap: 15px;
}

.gallery-img-wrapper:hover .gallery-overlay {
  opacity: 1;
}

.gallery-link {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: none;
}

.gallery-img-wrapper:hover .gallery-link {
  transform: scale(1.15);
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 5px 20px rgba(213, 164, 25, 0.4);
}

.gallery-360 {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.gallery-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #d4202f;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(212, 32, 47, 0.3);
}

.gallery-item.hidden {
  display: none;
}

/* Gallery Filters */
.gallery-filter {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
}

/* ===== GALLERY MODAL STYLES ===== */

/* Gallery Modal Styling */
#galleryModal .modal-dialog {
  max-width: 85vw;
  width: 85vw;
  height: 85vh;
  margin: 7.5vh auto;
}

.gallery-modal-content {
  background: white;
  border: none;
  border-radius: 8px;
  height: 85vh;
  display: flex;
  flex-direction: column;
}

.gallery-modal-content .modal-body {
  position: relative;
  background: white;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-modal-content .modal-footer {
  background: var(--primary-color);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.gallery-modal-content .modal-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.gallery-modal-content .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.gallery-modal-content .btn-close-white:hover {
  opacity: 1;
}

#galleryModalImage {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(85vh - 80px);
  object-fit: contain;
  background: white;
}

#galleryModalIframe {
  width: 100%;
  height: 100%;
  min-height: calc(85vh - 80px);
  background: white;
}

.gallery-img-wrapper {
  cursor: pointer;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--primary-color);
  font-size: 20px;
}

.gallery-nav-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(213, 164, 25, 0.4);
}

.gallery-prev-btn {
  left: 20px;
}

.gallery-next-btn {
  right: 20px;
}

/* Responsive gallery navigation */
@media (max-width: 768px) {
  #galleryModal .modal-dialog {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    margin: 0;
  }

  .gallery-modal-content {
    height: 100vh;
    border-radius: 0;
  }

  #galleryModalImage {
    max-height: calc(100vh - 70px);
  }

  #galleryModalIframe {
    min-height: calc(100vh - 70px);
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .gallery-prev-btn {
    left: 10px;
  }

  .gallery-next-btn {
    right: 10px;
  }

  .gallery-modal-content .modal-footer {
    padding: 15px 20px;
  }

  .gallery-modal-content .modal-title {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  #galleryModal .modal-dialog {
    max-width: 80vw;
    width: 80vw;
    height: 80vh;
  }

  .gallery-modal-content {
    height: 80vh;
  }

  #galleryModalImage {
    max-height: calc(80vh - 80px);
  }

  #galleryModalIframe {
    min-height: calc(80vh - 80px);
  }

  /* Gallery grid - 3 columns on tablet */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
}

/* Gallery responsive - Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }
}

/* ========================================
   FLOORPLAN SECTION STYLES
   ======================================== */
.floorplan-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.floorplan-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floorplan-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.floorplan-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.floorplan-wrapper:hover .floorplan-img {
  transform: scale(1.05);
}

.floorplan-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 61, 122, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floorplan-wrapper:hover .floorplan-overlay {
  opacity: 1;
}

.floorplan-expand-icon {
  color: white;
  font-size: 3rem;
  transition: transform 0.3s ease;
}

.floorplan-wrapper:hover .floorplan-expand-icon {
  transform: scale(1.1);
}

.floorplan-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 61, 122, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1;
}

/* Floorplan Responsive Styles */
@media (max-width: 991.98px) {
  .floorplan-container {
    max-width: 100%;
  }
}

/* ========================================
   TRUCK CAMPERS PAGE STYLES
   ======================================== */

/* Reduce spacing between floorplan image and model name */
#truck-camper-models-section .rv-type-image {
  margin-bottom: 0;
}

#truck-camper-models-section .rv-type-content {
  padding-top: 0;
}

#truck-camper-models-section .rv-type-content h3 {
  margin-top: 0.1rem;
}

/* Awards Section Styles */
.awards-section {
  background: linear-gradient(135deg, #003d7a 0%, #002a5c 100%);
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.why-choose-eyebrow {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.text-lance-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a8d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-choose-description {
  color: rgba(255, 255, 255, 0.9);
}

.why-feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.why-feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-feature-icon-bg {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.why-feature-icon-bg i {
  font-size: 2rem;
  color: #ffffff;
}

.why-feature-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Awards Section within Why Choose */
.awards-section-tc {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.award-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.award-card:hover {
  box-shadow: 0 8px 30px rgba(0, 61, 122, 0.35);
  border-color: #003d7a;
}

.award-image {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 8px;
  padding: 15px;
}

.award-image img {
  transition: none;
  max-width: 100%;
  height: auto;
}

.award-content h5 {
  color: #003d7a;
  font-size: 1.1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Guidelines Section Styles */
.guidelines-box {
  transition: all 0.3s ease;
}

.guidelines-box:hover {
  box-shadow: 0 8px 30px rgba(0, 61, 122, 0.15) !important;
  transform: translateY(-3px);
}

.guidelines-box .bi-info-circle-fill {
  flex-shrink: 0;
}

.guidelines-box p {
  font-size: 1rem;
}

/* Compare Bar Styles */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #003d7a 0%, #002a5c 100%);
  color: white;
  padding: 15px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.compare-bar.show {
  transform: translateY(0);
}

.compare-bar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.compare-bar .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.compare-bar .btn-light {
  background: white;
  color: #003d7a;
  font-weight: 600;
}

.compare-bar .btn-light:hover {
  background: #f8f9fa;
}

.compare-bar .btn-light:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-check-input.compare-checkbox {
  cursor: pointer;
  width: 1.2em;
  height: 1.2em;
}

.form-check-input.compare-checkbox:checked {
  background-color: #003d7a;
  border-color: #003d7a;
}

/* Floorplan Modal Styles for Truck Campers */
#floorplanModal .modal-dialog,
#modal360 .modal-dialog {
  max-width: 90vw;
  width: auto;
  margin: 1.75rem auto;
}

#floorplanModal .modal-content,
#modal360 .modal-content {
  background: #fff;
}

#floorplanModal .modal-header,
#modal360 .modal-header {
  background: #003d7a;
  padding: 1rem 1.5rem;
}

#floorplanModal .modal-footer,
#modal360 .modal-footer {
  background: #003d7a;
  padding: 1rem 1.5rem;
}

#floorplanModal .modal-title,
#modal360 .modal-title {
  color: #fff;
}

#floorplanModal .btn-close,
#modal360 .btn-close {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* 360 Modal Styles */
#modal360 .modal-body {
  min-height: 400px;
  height: 70vh;
  padding: 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

#modal360 iframe {
  width: 100%;
  height: 100%;
  border: none;
  touch-action: pan-y pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.floorplan-container {
  min-height: 300px;
  max-height: 70vh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.floorplan-container img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

/* Responsive Styles for Truck Campers Page */
@media (max-width: 768px) {
  .awards-section-tc {
    padding: 30px 15px 40px;
  }

  .award-card {
    margin-bottom: 0;
  }

  .award-content h5 {
    min-height: auto;
    font-size: 1rem;
  }

  .why-feature-icon-bg {
    width: 60px;
    height: 60px;
  }

  .why-feature-icon-bg i {
    font-size: 1.5rem;
  }

  .guidelines-box {
    padding: 2rem !important;
  }

  .guidelines-box .bi-info-circle-fill {
    font-size: 1.5rem !important;
  }

  #floorplanModal .modal-dialog {
    max-width: 92vw !important;
    max-height: 60vh !important;
    margin: 1rem auto !important;
  }

  #floorplanModal .modal-content {
    max-height: 60vh;
  }

  .floorplan-container {
    min-height: 150px;
    max-height: 35vh !important;
    padding: 0.5rem;
    overflow-y: auto;
  }

  #floorplanModal .modal-header,
  #modal360 .modal-header {
    padding: 0.75rem 1rem;
    flex-shrink: 0;
  }

  #modal360 .modal-body {
    height: 60vh;
    min-height: 300px;
  }

  #floorplanModal .modal-body {
    overflow-y: auto;
  }

  /* Compare bar button spacing on mobile */
  .compare-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .compare-actions button {
    flex: 1;
    min-width: 120px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #floorplanModal .modal-dialog {
    max-width: 85vw;
    margin: 1.5rem auto;
  }

  .floorplan-container {
    max-height: 65vh;
    padding: 1.25rem;
  }

  #modal360 .modal-body {
    height: 65vh;
  }
}

@media (min-width: 1025px) {
  #floorplanModal .modal-dialog {
    max-width: 1100px;
    margin: 2rem auto;
  }

  .floorplan-container {
    max-height: 75vh;
    padding: 1.5rem;
  }

  #modal360 .modal-body {
    height: 75vh;
  }
}

/* ===== MODEL CONTENT ACCORDION ===== */
#modelContentAccordion .accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 0;
}

#modelContentAccordion .accordion-header {
  scroll-margin-top: 120px; /* Account for fixed header */
}

#modelContentAccordion .accordion-button {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
  /* Touch-friendly sizing */
  min-height: 60px;
  display: flex;
  align-items: center;
}

#modelContentAccordion .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  box-shadow: none;
}

#modelContentAccordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 61, 122, 0.25);
  border-color: var(--primary-color);
  z-index: 3;
}

#modelContentAccordion .accordion-button::after {
  filter: brightness(0) invert(1); /* Make chevron white */
  flex-shrink: 0;
  margin-left: auto;
}

#modelContentAccordion .accordion-button:hover {
  background-color: #00315f;
}

#modelContentAccordion .accordion-button i {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Mobile & Tablet Responsive */
@media (max-width: 991px) {
  #modelContentAccordion .accordion-button {
    font-size: 1rem;
    padding: 1.25rem 1rem;
    min-height: 65px; /* Larger touch targets on mobile */
  }

  #modelContentAccordion .accordion-header {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 576px) {
  #modelContentAccordion .accordion-button {
    font-size: 0.95rem;
    padding: 1rem 0.875rem;
    min-height: 60px;
  }

  #modelContentAccordion .accordion-button i {
    font-size: 0.9rem;
  }

  #modelContentAccordion .accordion-header {
    scroll-margin-top: 70px;
  }
}

/* Accordion body spacing */
#modelContentAccordion .accordion-body {
  padding: 0;
}

#modelContentAccordion .accordion-collapse {
  border: none;
}

/* Force 360 Modal Header/Footer to display on mobile - CRITICAL FIX */
@media (max-width: 991.98px) {
  body.modal-open #modal360 .modal-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 50px !important;
    min-height: 50px !important;
    background-color: #003d7a !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  body.modal-open #modal360 .modal-header .modal-title {
    display: block !important;
    color: white !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
  }

  body.modal-open #modal360 .modal-header .btn-close {
    display: block !important;
    opacity: 1 !important;
  }

  body.modal-open #modal360 .modal-footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 50px !important;
    min-height: 50px !important;
    background-color: #003d7a !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  body.modal-open #modal360 .modal-content {
    display: flex !important;
    flex-direction: column !important;
    height: 60vh !important;
  }

  body.modal-open #modal360 .modal-body {
    flex: 1 1 auto !important;
    height: calc(60vh - 100px) !important;
    overflow: hidden !important;
  }
}
