/* Keep previous styles */

.Background {
  background-color: #003;
  color: #003;
}

.style2 {
  position: absolute;
  top: 150px;
  right: 0px;
}

.style14 {
  position: absolute;
  top: 10px;
  right: 0px;
}

.style15 {
  position: absolute;
  top: 10px;
  left: 0px;
}
.style19 {
  position: absolute;
  bottom: 50px;
  right: 0px;
}

.style20 {
  position: absolute;
  bottom: 80px;
  right: 0px;
}

.style21 {
  position: absolute;
  bottom: 80px;
  left: 0px;
}

.style_top_20_right {
  position: absolute;
  top: 20px;
  right: 0px;
}

.style22 {
  margin-left: auto;
  margin-right: 0;
  margin-top: 40px;
}

#col_3d {
  position: relative;
}
.style23 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#selectCat {
}

.SearchBox {
  font-size: 24pt;
  background-color: transparent;
  color: white;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
}
.big_field {
  font-size: 24pt;
  background-color: transparent;
  color: grey;
  text-align: left;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
}
.big_field:focus {
  font-size: 24pt;
  background-color: transparent;
  color: white;
  text-align: left;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
}

.SearchBoxBAK {
  background-color: rgba(0, 0, 0, 0.4);
  border-color: #000;
  border-style: none;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  font-size: 1.5rem;
}

.style4 {
  position: absolute;
  top: 0px;
}

.style5 {
  color: rgba(196, 196, 196, 0.5) !important;
}

.style6 {
  position: absolute;
  bottom: 15px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
}
.style7 {
  position: absolute;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 5px;
  width: 100%;
}
.style8 {
  position: absolute;
  bottom: 50px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
}

.style9 {
  position: absolute;
  top: 20px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
  z-index: 1;
  right: 20px;
}

.style18 {
  position: absolute;
  bottom: 35px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
}
.style16 {
  position: absolute;
  bottom: -10px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
}

#video {
}

.modal-content {
  background-color: transparent !important;
}

@media (min-width: 992px) {
  .glassmorphic1 {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
}
@media print {
  .print_body {
    overflow: visible !important;
  }
  * {
    color: black !important;
    background: white !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body,
  html,
  div,
  span,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  table,
  tr,
  td,
  th,
  ul,
  li,
  ol,
  dl,
  dt,
  dd {
    color: black !important;
    background: white !important;
  }
}

.rounded_squared {
  border-top-left-radius: 0px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0px;
}

.rounded_squared50 {
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  color: #141424;
}
.rounded_bottom_left_20 {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0px;
}

.rounded_top_right_20 {
  border-top-left-radius: 0px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.black-30-trans {
  /* background-color: rgba(0, 0, 0, 0.80) */
}

.blur_effect {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.NavyFormInput {
  background-color: #2d2d4f;
  border-color: #f2f2f2;
  margin-bottom: 10px;
}

.swiper1 {
  height: 100vh;
}

.round_top_left {
  border-width: 2px;
  border-top-left-radius: 40px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 0px;
}

.round_both_left {
  border-width: 2px;
  border-top-left-radius: 40px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 0px;
}

.round_bottom_left {
  border-width: 2px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 0px;
}

.round_bottom_right {
  border-width: 2px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 40px;
}

.round_bottom_left20 {
  border-width: 1px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0px;
}

.round_bottom_right20 {
  border-width: 1px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 20px;
}

.round_bottom_both20 {
  border-width: 1px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.selected-element {
  border: 5px solid #ffffff !important;
  -webkit-box-shadow:
    0 0 12px #ffffff,
    0 0 4px #fff;
  box-shadow:
    0 0 12px #ffffff,
    0 0 4px #fff;
  background: rgba(255, 255, 255, 0) !important;
  opacity: 1 !important;
  -webkit-transition:
    border 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
  transition:
    border 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
  transition:
    border 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  transition:
    border 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
}

.selected-element2 {
  border-bottom: 2px solid #ffffff !important;

  background: rgba(255, 255, 255, 0) !important;
  opacity: 1 !important;
  -webkit-transition:
    border 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
  transition:
    border 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
  transition:
    border 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  transition:
    border 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    -webkit-box-shadow 0.2s;
}

.style1 {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.half-pill {
  border-top-left-radius: 25px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 0px;
}
.half-pill-left {
  border-top-left-radius: 0px;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 25px;
}

.style3 {
  width: 100%;
  position: absolute;
  bottom: 100px;
}

.style10 {
  border-top-left-radius: 300px;
  border-top-right-radius: 300px;
  border-bottom-left-radius: 300px;
  border-bottom-right-radius: 300px;
}

.style11 {
  position: absolute;
  bottom: 30px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
  width: 100%;
}

.style12 {
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  top: 10px;
  max-height: 10px;
  width: 100%;
}
.top50 {
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  top: 50px;
}
.style13 {
  position: absolute;
  top: 20px;
  right: 0px;
}

.all_rounded_20 {
  border-width: 2px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.rounded_top_rt {
  border-top-right-radius: 20px;
}

.style17 {
  position: absolute;
  bottom: -8px;
  background-color: rgba(41, 41, 41, 0.5);
  padding: 10px;
}

.center_page {
  position: absolute;
  top: 25%;
  padding: 10px;
}

.input_50px {
  width: 80px;
}
.clickable {
  cursor: pointer;
}

.submenu-row {
  padding-top: 4px;
  padding-bottom: 18px;
}

.submenu-column {
  padding-left: 4px;
  padding-right: 4px;
}

.submenu-button {
  padding-left: 4px !important;
  padding-right: 4px !important;
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 0;
  width: 100%;
}

.hover_highlight:hover {
  cursor: pointer;
  -webkit-box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background-color: #727272;
}
.white_shadow {
  -webkit-box-shadow: 0 0px 15px rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}
.underline {
  text-decoration: underline;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.03); /* Transparent white */
  -webkit-backdrop-filter: blur(5px) saturate(100%);
  backdrop-filter: blur(5px) saturate(100%);
  -webkit-box-shadow:
    inset 0 0 5px rgba(65, 106, 194, 0.5),
    0 4px 6px rgba(0, 0, 0, 0.1);
  box-shadow:
    inset 0 0 5px rgba(255, 255, 255, 0.5),
    0 4px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.glass-effect:hover {
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);

  -webkit-box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.6),
    0 6px 10px rgba(0, 0, 0, 0.15);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.6),
    0 6px 10px rgba(0, 0, 0, 0.1);
}

/* rowCLK-border: 2px solid white, fully rounded, margin for dark backgrounds */
.rowCLK-border {
  border: 2px solid #fff;
  border-radius: 1rem;
  margin: 0.5rem;
  background: rgba(0, 0, 0, 0.2); /* subtle for dark bg */
}

/* Ensure offcanvas (login) appears above modals */
.offcanvas {
  z-index: 1080 !important; /* Higher than Bootstrap's modal z-index (1055) */
}

.modal {
  z-index: 1060 !important; /* Below offcanvas */
}

.modal-backdrop {
  z-index: 1055 !important;
}

.lazyload-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0.1)),
    color-stop(50%, rgba(255, 255, 255, 0.2)),
    to(rgba(255, 255, 255, 0.1))
  );
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  background-size: 200% 100%;
  -webkit-animation: shimmer 1.5s infinite;
  animation: shimmer 1.5s infinite;
  border-radius: inherit;
}

.lazyload-placeholder::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
}

@-webkit-keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@-webkit-keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Lazy loaded image styles */
.lazyload {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.lazyloaded {
  opacity: 1;
}

/* Hide placeholder when image is loaded */
.lazyloaded + .lazyload-placeholder {
  display: none;
}

/* Error state for failed image loads */
.lazyload-error {
  position: relative;
  background-color: rgba(255, 0, 0, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.lazyload-error::before {
  content: "⚠";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive lazy loading optimization */
@media (max-width: 768px) {
  .lazyload-placeholder::before {
    width: 30px;
    height: 30px;
  }
}

/* Load More Button Styles */
#load_more_btn {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#load_more_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    color-stop(rgba(255, 255, 255, 0.2)),
    to(transparent)
  );
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  -webkit-transition: left 0.6s;
  transition: left 0.6s;
}

#load_more_btn:hover::before {
  left: 100%;
}

#load_more_btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

#load_more_btn:active {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Pagination Container Animations */
.pagination-container {
  -webkit-animation: fadeInUp 0.5s ease-out;
  animation: fadeInUp 0.5s ease-out;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Loading State for Load More Button */
#load_more_btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

#load_more_btn.loading .fa-plus {
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Responsive adjustments for load more button */
@media (max-width: 768px) {
  #load_more_btn {
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #load_more_btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
  }
}

/* iOS iframe scroll-through fix */
#swatch_rolled_iframe {
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  /* Explicitly tell iOS this element shouldn't intercept touches */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Ensure the parent container allows touch propagation */
#swatch_rolled_iframe::-webkit-scrollbar {
  display: none;
}

/* Stripe Card Input Styling for Dark Backgrounds */
/* Fix for deprecated Stripe component (dmx-stripe-card) on dark backgrounds */
#input1,
dmx-stripe-card,
.dmx-stripe-card {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px;
  padding: 12px;
}

/* Target the Stripe iframe elements directly */
#input1 iframe,
dmx-stripe-card iframe,
.dmx-stripe-card iframe {
  background-color: transparent !important;
}

/* Ensure Stripe Elements have light text on dark backgrounds */
.StripeElement {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px;
  padding: 12px;
  color: #ffffff !important;
}

.StripeElement--focus {
  border-color: rgba(255, 255, 255, 0.6) !important;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.StripeElement--invalid {
  border-color: #dc3545 !important;
}

/* Additional styling for the Stripe input container in modalAddPay */
#modalAddPay #input1 {
  min-height: 45px;
  margin-bottom: 15px;
}

/* Ensure placeholder and input text are visible */
#modalAddPay .bg-dark #input1,
#modalAddPay .bg-dark dmx-stripe-card {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
