@tailwind base;
@tailwind components;
@tailwind utilities;
@import url('global.css');
@import url('slick.css');
@import url('form.css');
@import url('type.css');
@import url('nav.css');
/*@import url('fonts.css');*/

/*
* Mobile Menu / Mobile Icon Styles
*/
.menu-icon {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    width: 45px;
    height: 3px;
    background-color: #000;
    position: absolute;
    right: 15px;
    transition: all 0.3s;
    transform-origin: center center;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 15px;
}

.menu-icon span:nth-child(3) {
    top: 30px;
}

.menu-open .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.menu-open .site-navigation {
    height: 100vh;
    display: block;
    position: absolute;
    inset: 0;
    background-color: #fff;
    z-index: 10;
    top: 75px;
    margin-top: 0;
    left: 0;
    width: 100%;
    padding-top: 0;
}

.indio-listing-detail-form {
  position: sticky;
  top:45px;
  height: fit-content;
}

/*
/ Container Div General Styles
*/
.indio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.indio-container>.indio-container {
    padding: 0;
}

.site-branding {
    max-width: 200px;
}

.indio-cart-inner-form div {
    width: 100%;
    margin: 0;
}

.slick-arrow {
    position: absolute;
    top: 40%;
    z-index: 10;
}

.slick-arrow i {
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.site-title,
#masthead,
.site-footer,
#header,
#footer,
.widget-area {
    display: none !important;
}

body {
    background-color: #f3f3f3;
}

.active {
    position: relative;
}

.active::after {
    /* content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1c69bb;
    bottom: 5px;
    left: 0; */
}

.site-main {
    padding-top: 0 !important;
}

.site-main > * {
    margin: 0 !important;
}

/* Reset default browser styles for select elements */
.indio-cart-inner-form input:not(.check-input),
.indio-form-selector {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    color: #717171;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 0;
}

.indio-cart-inner-form table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.indio-form-selector {
  background-image: url("/app/plugins/indio-shopping-cart/src/assets/Linear.svg");
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right .7em top 50%;
  background-size: auto;
}

/* Style the dropdown on hover or focus */
.indio-form-selector:hover, .indio-form-selector:focus {
    border-color: #0D9B7A;
}

.accordion-content {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: 0.6s;
    overflow-y: auto;
}

.selected-accordion {
    height: fit-content !important;
}

.accordion-wrapper {
    overflow-y: scroll;
}

.hide-view {
    visibility: collapse;
    height: 0px !important;
}

.guest-selector {
    position: relative;
    width: 200px;
    font-family: Arial, sans-serif;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

.guest-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 50;
}

.guest-type {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.input-group {
    display: flex;
    align-items: center;
}

button {
    padding: 5px 10px;
    background-color: #f2f2f2;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #e0e0e0;
}

#quote-form::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

#quote-form::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #d77068 !important;
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.datepicker-picker {
    padding-bottom: 15px;
    border-bottom: none;
}

.range-end, .range-start {
    background-color: #3273dc !important;
}

.datepicker-dropdown {
    left: 0 !important;
}

#arrival_date::-webkit-calendar-picker-indicator,
#departure_date::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

.open-map-modal {
    position: fixed !important;
    width: 100%;
}

.open-reservation-details {
    overflow: hidden;
    width: 100%;
}

.hasIscItem::before {
	content: "1";
	position: absolute;
	background-color: green;
	border: 2px solid white;
	color: white;
	font-size: 9px;
	border-radius: 100%;
	left: 30%;
	top: -4px;
	padding: 2px 4px;
}

#ajax-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White background with 80% opacity */
    z-index: 9999; /* Ensure it appears above other content */
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  
  /* Optional: Add a spinner or loading text */
  #ajax-overlay .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light border */
    border-radius: 50%;
    border-top: 4px solid #000; /* Darker border top */
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
  }
  
  /* Spinner animation */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  #mapModalMap {
    display: flex;
    width: 100%;
    clip-path: inset(0% 0% round 8px);
  }
  
  #mapModalMap #site_groups [id^="shape"] {
    &:hover {
      stroke-width: 1;
      stroke: black;
    }
  }
  
  #mapModalMap #site_groups #infogroup {
    display: none;
  }

  #isc-container .slick-list,
  #isc-container .slick-track {
	height: auto !important;
  }

  #isc-container .js-slider-nav .slick-track { 
    max-height: 200px;
    height: 100% !important;
  }

.slick-track {
    display: flex !important;
}

  .success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
  }
  .success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
  }
  .success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
  }
  .success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
    content: "";
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
  }
  .success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
  }
  .success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
  }
  .success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
  }
  .success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, 0.5);
  }
  .success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
  }
  
  @keyframes rotate-circle {
    0% {
      transform: rotate(-45deg);
    }
    5% {
      transform: rotate(-45deg);
    }
    12% {
      transform: rotate(-405deg);
    }
    100% {
      transform: rotate(-405deg);
    }
  }
  @keyframes icon-line-tip {
    0% {
      width: 0;
      left: 1px;
      top: 19px;
    }
    54% {
      width: 0;
      left: 1px;
      top: 19px;
    }
    70% {
      width: 50px;
      left: -8px;
      top: 37px;
    }
    84% {
      width: 17px;
      left: 21px;
      top: 48px;
    }
    100% {
      width: 25px;
      left: 14px;
      top: 45px;
    }
  }
  @keyframes icon-line-long {
    0% {
      width: 0;
      right: 46px;
      top: 54px;
    }
    65% {
      width: 0;
      right: 46px;
      top: 54px;
    }
    84% {
      width: 55px;
      right: 0px;
      top: 35px;
    }
    100% {
      width: 47px;
      right: 8px;
      top: 38px;
    }
  }

  .loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
  }
  .loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #0D9B7A;
    animation: prixClipFix 2s linear infinite ;
  }

  @keyframes rotate {
    100%   {transform: rotate(360deg)}
  }

  @keyframes prixClipFix {
      0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
      25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
      50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
      75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
      100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
  }

  #isc-site-type-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
  }
  
  #isc-site-type-slider.slick-initialized {
    visibility: visible;
    opacity: 1;
  }
  
  #isc_park_map_svg {
    width: 100%;
  }

  .indio-cart-inner-form {
    transition: max-height 0.6s ease-in;
  }

  .indio-cart-inner-form.active {
    max-height: 1000px !important;
  }

  #guest-portal-page .slick-track {
    gap: 0.1rem;
  }

  /* .site_types-template-default time {
    display: none;
  } */