@tailwind base;
@tailwind components;
@tailwind utilities;

/* OTSono Font Faces */
@font-face {
  font-family: 'OTSono';
  src: url(/assets/OTSono-Regular-037602b5b4acf448f8a1b26989397c5f21d7bdc79769f2a2258b7889d871dd5d.eot);
  src: url(/assets/OTSono-Regular-037602b5b4acf448f8a1b26989397c5f21d7bdc79769f2a2258b7889d871dd5d.eot?#iefix) format('embedded-opentype'),
       url(/assets/OTSono-Regular-f5449cd6aa622e6b25bd2f8edca0a2f53b53e5749c380d4c6672470c22dcb0ad.woff2) format('woff2'),
       url(/assets/OTSono-Regular-e3c6ee95c8bfbb00c8b98589db4d7f43fcc55b8246b9e28fb9f78835d6c2232a.woff) format('woff'),
       url(/assets/OTSono-Regular-b7610632296dd809c88d8ecb8c8e0713bb8b8b1cf2c48ecd77962ec8dd55172f.ttf) format('truetype'),
       url(/assets/OTSono-Regular-68170a43cb981660aa0d3d35921d6c6e830abddf35011557923c65a461e46fb1.svg#OTSono-Regular) format('svg');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OTSono';
  src: url(/assets/OTSono-Medium-2812cd116ca72317995340f0bac4ba816201d3e5146d49acb2c9d028533eb70a.eot);
  src: url(/assets/OTSono-Medium-2812cd116ca72317995340f0bac4ba816201d3e5146d49acb2c9d028533eb70a.eot?#iefix) format('embedded-opentype'),
       url(/assets/OTSono-Medium-4a7a5eb08709ab0b5777e54433dafd2127a59b423239a545e86c16c1d375f2e8.woff2) format('woff2'),
       url(/assets/OTSono-Medium-b51cfccf3702c117306f16957f6f886ad14c963b4abbdbeb9ff31a4c9822e384.woff) format('woff'),
       url(/assets/OTSono-Medium-4020368685fc57897f7b77efb8eba4a44c5cb16fb74b95483661311fa4d91370.ttf) format('truetype'),
       url(/assets/OTSono-Medium-37872fdfcd15c063365a99e482da96a956038c613a3ffca375c53a624bd9c2e2.svg#OTSono-Medium) format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@layer base {
  /* Base body text uses Regular weight */
  body, p, span, div, a, ul, li {
    font-family: 'OTSono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 400;
  }

  /* Headers use Medium weight */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'OTSono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 500;
  }

  /* Buttons use Medium weight */
  button, .btn {
    font-family: 'OTSono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-weight: 500;
  }
}

/* Subtle highlight effect */
@keyframes subtle-underline {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.highlight-text {
  position: relative;
  display: inline-block;
  color: #4848FF;
  font-weight: 700;
}

/* Custom utilities for stock selection modal */
@layer utilities {
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }

  /* Category tab styles */
  .category-tab {
    transition: all 0.2s ease-in-out;
  }

  .category-tab:hover {
    transform: translateY(-1px);
  }

  .inventory-category-tab {
    transition: all 0.2s ease-in-out;
  }

  .inventory-category-tab:hover {
    transform: translateY(-1px);
  }

  /* Logo carousel infinite scroll animation */
  @keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }

  .animate-infinite-scroll {
    animation: infinite-scroll 25s linear infinite;
  }

  .animate-infinite-scroll:hover {
    animation-play-state: paused;
  }

  .animate-infinite-scroll-merch {
    animation: infinite-scroll-merch 40s linear infinite;
  }

  .animate-infinite-scroll-merch:hover {
    animation-play-state: paused;
  }

  /* Grid pattern background */
  .bg-grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
}

/* Quote View Styles */
@layer utilities {
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Print Styles */
@media print {
  .bg-slate-50 {
    background: white !important;
  }
  .shadow-sm,
  .shadow-md,
  .shadow-lg,
  .shadow-xl {
    box-shadow: none !important;
  }
  .border {
    border-color: #e2e8f0 !important;
  }
  .bg-white {
    background: white !important;
  }
  .no-print {
    display: none !important;
  }
  .print-break {
    page-break-before: always;
  }
  .print-no-break {
    break-inside: avoid;
  }
}

/* Fix scrolling issues */
html, body {
  overflow-x: auto;
  overflow-y: auto;
}

/* Quote product cards - Force proper layout */
.quote-product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-height: 400px; /* Ensure consistent card heights */
}

.quote-product-card .product-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
}

/* Override any inline styles that might interfere */
.quote-product-card[style*="display"] {
  display: flex !important;
  flex-direction: column !important;
}

/* Ensure image is at top, content at bottom */
.quote-product-card > div:first-child {
  order: 1; /* Image container first */
}

.quote-product-card > .product-content {
  order: 2; /* Content container second */
  margin-top: auto; /* Push pricing to bottom */
}

/* Import custom utilities */
@import "utilities/scrollbar.css";

/* Tailwind CSS Variables for Buttons */
@layer base {
  :root {
    --color-primary: #4848FF;
    --color-primary-dark: #3a3ae6;
    --color-primary-darker: #2d2dcc;
    --color-secondary: #ffe7af;
    --color-secondary-dark: #ffd966;
    --color-secondary-darker: #ffcc33;
    --color-success: #10b981;
    --color-success-dark: #059669;
    --color-success-darker: #047857;
    --color-error: #dc2626;
    --color-error-dark: #b91c1c;
  }
}

/* Framer-style Button Base */
.btn {
  font-weight: 600;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
  border-radius: 14px;
}

/* Primary Button - Clean & Pro */
.btn.btn-primary {
  background-color: #4848FF !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(72, 72, 255, 0.15) !important;
  border-color: #4848FF !important;
}

.btn.btn-primary:hover {
  background-color: #3a3ae6 !important;
  box-shadow: 0 8px 16px rgba(72, 72, 255, 0.25) !important;
  border-color: #3a3ae6 !important;
  transform: translateY(-1px);
}

.btn.btn-primary:focus {
  box-shadow: 0 2px 8px rgba(72, 72, 255, 0.15), 0 0 0 3px rgba(72, 72, 255, 0.1) !important;
}

.btn.btn-primary:active {
  background-color: #2d2dcc !important;
  box-shadow: 0 2px 4px rgba(72, 72, 255, 0.15) !important;
  border-color: #2d2dcc !important;
  transform: translateY(0);
}

/* Secondary Button - Warm & Inviting */
.btn.btn-secondary {
  background-color: #ffe7af !important;
  color: #242424 !important;
  box-shadow: 0 2px 8px rgba(255, 214, 72, 0.15) !important;
  border-color: #ffe7af !important;
}

.btn.btn-secondary:hover {
  background-color: #ffd966 !important;
  box-shadow: 0 8px 16px rgba(255, 214, 72, 0.25) !important;
  border-color: #ffd966 !important;
  transform: translateY(-1px);
}

.btn.btn-secondary:focus {
  box-shadow: 0 2px 8px rgba(255, 214, 72, 0.15), 0 0 0 3px rgba(255, 214, 72, 0.1) !important;
}

.btn.btn-secondary:active {
  background-color: #ffcc33 !important;
  box-shadow: 0 2px 4px rgba(255, 214, 72, 0.15) !important;
  border-color: #ffcc33 !important;
  transform: translateY(0);
}

/* Success Button - Clean Green */
.btn.btn-success {
  background-color: #10b981 !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
}

.btn.btn-success:hover {
  background-color: #059669 !important;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25) !important;
  border-color: #059669 !important;
  transform: translateY(-1px);
}

.btn.btn-success:focus {
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15), 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.btn.btn-success:active {
  background-color: #047857 !important;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.15) !important;
  border-color: #047857 !important;
  transform: translateY(0);
}

/* Error Button - Clean Red */
.btn.btn-error {
  background-color: #dc2626 !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15) !important;
  border-color: #dc2626 !important;
}

.btn.btn-error:hover {
  background-color: #b91c1c !important;
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.25) !important;
  border-color: #b91c1c !important;
  transform: translateY(-1px);
}

.btn.btn-error:focus {
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15), 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.btn.btn-error:active {
  background-color: #991b1b !important;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.15) !important;
  border-color: #991b1b !important;
  transform: translateY(0);
}

/* Outline Button Variant - Minimal & Clean */
.btn.btn-outline {
  background-color: transparent !important;
  color: #4848FF !important;
  border-color: #4848FF !important;
  box-shadow: none !important;
}

.btn.btn-outline:hover {
  color: #3a3ae6 !important;
  border-color: #3a3ae6 !important;
  box-shadow: none !important;
  transform: translateY(-1px);
  background-color: transparent !important;
}

.btn.btn-outline:focus {
  box-shadow: 0 0 0 3px rgba(72, 72, 255, 0.1) !important;
}

.btn.btn-outline:active {
  color: #2d2dcc !important;
  border-color: #2d2dcc !important;
  box-shadow: none !important;
  transform: translateY(0);
  background-color: transparent !important;
}

/* Ghost Button - Minimal */
.btn.btn-ghost {
  background-color: transparent !important;
  color: #4848FF !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.btn.btn-ghost:hover {
  background-color: rgba(72, 72, 255, 0.08) !important;
  transform: translateY(-1px);
}

.btn.btn-ghost:focus {
  box-shadow: 0 2px 8px rgba(72, 72, 255, 0.15), 0 0 0 3px rgba(72, 72, 255, 0.1) !important;
}

.btn.btn-ghost:active {
  background-color: rgba(72, 72, 255, 0.12) !important;
  transform: translateY(0);
}

.fancy-doodle {
    /* The intrinsic width of the underline stroke (in pixels). */
  --underline-intrinsic-width: 8;

  /* The actual width of the underline stroke we want to render (in pixels). */
  --underline-width: 12;

  /* The colour used to draw the underline. */
  --underline-color: #B0B0EE;

  /* The width of the cap images. */
  --underline-cap-width: 4px;

  /* The border is positioned relative to the bottom of the line. */
  --underline-offset-y: -2px;

  /* The padding to add to the x axis. */
  --underline-padding-x: 0.12em;

  /* The cap images to use that form the left and right rounded shape. */
  --cap-image-left: url(/assets/doodle-left.svg);
  --cap-image-right: url(/assets/doodle-right.svg);
  display: inline;
  --underline-width-scale: calc(var(--underline-width) / var(--underline-intrinsic-width));
  padding: 0 calc(var(--underline-padding-x) + calc(var(--underline-cap-width) * var(--underline-width-scale)));
  box-decoration-break: clone;
  background-repeat: no-repeat;
  color: inherit;
  background-image:
    linear-gradient(180deg, var(--underline-color), var(--underline-color)),
    var(--cap-image-left),
    var(--cap-image-right);
  background-position-x:
    calc(var(--underline-cap-width) * var(--underline-width-scale)),
    0,
    100%;
  background-position-y: calc(100% - var(--underline-offset-y) * -1);
  background-size:
    calc(100% - calc(var(--underline-cap-width) * var(--underline-width-scale) * 2)) calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px);
}

.fancy-doodle-big {
    /* The intrinsic width of the underline stroke (in pixels). */
  --underline-intrinsic-width: 12;

  /* The actual width of the underline stroke we want to render (in pixels). */
  --underline-width: 18;

  /* The colour used to draw the underline. */
  --underline-color: #B0B0EE;

  /* The width of the cap images. */
  --underline-cap-width: 4px;

  /* The border is positioned relative to the bottom of the line. */
  --underline-offset-y: -2px;

  /* The padding to add to the x axis. */
  --underline-padding-x: 0.12em;

  /* The cap images to use that form the left and right rounded shape. */
  --cap-image-left: url(/assets/doodle-left.svg);
  --cap-image-right: url(/assets/doodle-right.svg);
  display: inline;
  --underline-width-scale: calc(var(--underline-width) / var(--underline-intrinsic-width));
  padding: 0 calc(var(--underline-padding-x) + calc(var(--underline-cap-width) * var(--underline-width-scale)));
  box-decoration-break: clone;
  background-repeat: no-repeat;
  color: inherit;
  background-image:
    linear-gradient(180deg, var(--underline-color), var(--underline-color)),
    var(--cap-image-left),
    var(--cap-image-right);
  background-position-x:
    calc(var(--underline-cap-width) * var(--underline-width-scale)),
    0,
    100%;
  background-position-y: calc(100% - var(--underline-offset-y) * -1);
  background-size:
    calc(100% - calc(var(--underline-cap-width) * var(--underline-width-scale) * 2)) calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px),
    auto calc(var(--underline-width) * 1px);
}


/* Enhanced Order Now Button */
.btn-secondary.group {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-secondary.group span.absolute {
  z-index: -1;
}

.btn-secondary.group:hover svg {
  color: #242424;
}



@layer utilities {
  .bg-grid {
    background-image: linear-gradient(to right, #eee 1px, transparent 1px),
                      linear-gradient(to bottom, #eee 1px, transparent 1px);
    background-size: 30px 30px;
  }

  /* Animation for successful uploads */
  @keyframes highlight-pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.2);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
  }

  .highlight-pulse {
    animation: highlight-pulse 1s ease-out;
  }

  /* Calendar animations */
  @keyframes fade-in-up {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in-up {
    animation: fade-in-up 0.5s ease-out forwards;
  }

  @keyframes scale-in {
    0% {
      opacity: 0;
      transform: scale(0.95);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .animate-scale-in {
    animation: scale-in 0.3s ease-out forwards;
  }

  /* Tooltip styles */
  .tooltip {
    position: relative;
  }

  .tooltip .tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1000; /* Higher z-index to ensure it's above other elements */
    background-color: rgba(17, 24, 39, 0.9);
    color: white;
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  }

  .tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(17, 24, 39, 0.9) transparent transparent transparent;
  }

  .tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }

  /* Add a cute bounce animation to the add button */
  @keyframes bounce-in {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1.1);
    }
    70% {
      transform: scale(0.95);
    }
    100% {
      transform: scale(1);
    }
  }

  .group:hover .absolute.right-2.bottom-2 {
    animation: bounce-in 0.4s ease-out forwards;
  }
}

@layer components {
    /* Custom Tab Styling */
    .tabs-container {
      @apply flex gap-2 mb-4;
    }

    .tab-styled {
      @apply rounded-lg px-6 py-3 font-medium text-sm transition-all duration-200
             border border-blueGray-200/60 bg-white text-gray-600
             hover:bg-blueGray-50/80 hover:border-gray-300 hover:shadow-sm
             focus:outline-none focus:ring-2 focus:ring-indigo-500/20
             flex items-center gap-3;
    }

    .tab-styled[data-state="active"] {
      color: white!important;
      @apply bg-indigo-500 text-white shadow-md
             border-indigo-500
             hover:bg-indigo-600 hover:border-indigo-600
             transform scale-[1.02] transition-transform;
    }

    .tab-styled[data-state="active"] > div,
    .tab-styled[data-state="active"] div {
      @apply text-white;
    }

    /* Badge/Counter styling for tabs */
    .tab-counter {
      @apply ml-2 inline-flex items-center justify-center px-2 py-0.5
             rounded-full text-xs font-medium bg-gray-100 text-gray-800;
    }

    .tab-styled[data-state="active"] .tab-counter {
      @apply bg-white/20 text-white;
    }

    /* Tab variants */
    .tab-styled.tab-danger[data-state="active"] {
      @apply bg-red-500 border-red-500 hover:bg-red-600;
    }

    .tab-styled.tab-warning[data-state="active"] {
      @apply bg-indigo-500 border-indigo-500 hover:bg-indigo-600;
    }

    /* Wizard tabs styling */
    [data-tabs-target="tab"][data-state="active"] {
      @apply border-b-2 border-primary text-primary font-semibold;
    }

    [data-tabs-target="tab"][data-state=""] {
      @apply text-gray-500 font-medium;
    }

    /* Font selector styling */
    .font-option {
      transition: background-color 0.2s ease;
    }

    .font-option:hover {
      @apply bg-primary/10;
    }

    [data-font-select-initialized] .ts-dropdown .option {
      @apply py-2 px-3;
    }

    [data-font-select-initialized] .ts-dropdown .option.active {
      @apply bg-primary text-white;
    }

    /* Framer-like animations for templates */
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-fade-in-up {
      animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      opacity: 0;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .no-scrollbar {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .navbar-menu.compact nav {
      @apply w-20;
    }

    .navbar-menu.compact .menu-label,
    .navbar-menu.compact .menu-title {
      @apply hidden;
    }

    @media (max-width: 1024px) {
      .navbar-menu nav {
        transform: translateX(-100%);
      }

      .navbar-menu:not(.hidden) nav {
        transform: translateX(0);
      }
    }

    /* Highlight pulse animation for successful uploads */
    @keyframes highlight-pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
      }
    }

    .highlight-pulse {
      animation: highlight-pulse 2s 1;
    }
}

p,a,h1,h2,h3,h4,h5,h6,span,div {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
}

.pagy-nav.pagination {
  @apply isolate inline-flex -space-x-px rounded-md shadow-sm;
}

.page.next a {
  @apply relative inline-flex items-center rounded-r-md border bg-primary border-indigo-100 px-2 py-2 text-sm font-medium text-white hover:bg-indigo-800 focus:z-20;
}

.page.prev a {
  @apply relative inline-flex items-center rounded-l-md border bg-primary border-indigo-100 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-blueGray-50 focus:z-20;
}

.page.next.disabled {
  @apply relative inline-flex items-center rounded-r-md border border-indigo-100 bg-gray-100 px-2 py-2 text-sm font-medium text-gray-500 hover:bg-blueGray-50 focus:z-20;
}

.page.prev.disabled {
  @apply relative inline-flex items-center rounded-l-md border border-indigo-100 bg-gray-100 px-2 py-2 text-sm font-medium text-gray-500 hover:bg-blueGray-50 focus:z-20;
}

.page a, .page.gap {
  @apply bg-white border-indigo-100 text-gray-500 hover:bg-blueGray-50 relative inline-flex items-center border px-4 py-2 text-sm font-medium focus:z-20;
}

.page.active {
  @apply z-10 border-indigo-500 bg-indigo-50 text-indigo-600 relative inline-flex items-center border px-4 py-2 text-sm font-medium focus:z-20;
}


label {
  @apply font-semibold text-primary;
}

a, button {
  cursor: pointer!important;
}

.btn {
  font-weight: 700;
}


.image-radio:checked + label {
  @apply border-2 border-indigo-400;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}



/**
 * tom-select.css (v2.0.1)
 * Copyright (c) contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the License at:
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
 * ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 *
 */
 .ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
  cursor: pointer;
}

.ts-wrapper.plugin-drag_drop.multi > .ts-control > div.ui-sortable-placeholder {
  visibility: visible !important;
  background: #f2f2f2 !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border: 0 none !important;
  box-shadow: inset 0 0 12px 4px #fff;
}
.ts-wrapper.plugin-drag_drop .ui-sortable-placeholder::after {
  content: "!";
  visibility: hidden;
}
.ts-wrapper.plugin-drag_drop .ui-sortable-helper {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.plugin-checkbox_options .option input {
  margin-right: 0.5rem;
}

.plugin-clear_button .ts-control {
  padding-right: calc(1em + (3 * 6px)) !important;
}
.plugin-clear_button .clear-button {
  opacity: 0;
  position: absolute;
  top: 8px;
  right: calc(8px - 6px);
  margin-right: 0 !important;
  background: transparent !important;
  transition: opacity 0.5s;
  cursor: pointer;
}
.plugin-clear_button.single .clear-button {
  right: calc(8px - 6px + 2rem);
}
.plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {
  opacity: 1;
}

.ts-wrapper .dropdown-header {
  position: relative;
  padding: 10px 8px;
  border-bottom: 1px solid #d0d0d0;
  background: #f8f8f8;
  border-radius: 3px 3px 0 0;
}
.ts-wrapper .dropdown-header-close {
  position: absolute;
  right: 8px;
  top: 50%;
  color: #303030;
  opacity: 0.4;
  margin-top: -12px;
  line-height: 20px;
  font-size: 20px !important;
}
.ts-wrapper .dropdown-header-close:hover {
  color: black;
}

.plugin-dropdown_input.focus.dropdown-active .ts-control {
  box-shadow: none;
  border:none;
}
.plugin-dropdown_input .dropdown-input {
  border: 1px solid #d0d0d0;
  border-width: 0 0 1px 0;
  display: block;
  padding: 8px 8px;
  box-shadow: none;
  width: 100%;
  background: transparent;
}
.ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {
  min-width: 0;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {
  flex: none;
  min-width: 4px;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::-webkit-input-placeholder {
  color: transparent;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::-ms-input-placeholder {
  color: transparent;
}
.ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {
  color: transparent;
}

.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
  display: flex;
}
.ts-dropdown.plugin-optgroup_columns .optgroup {
  border-right: 1px solid #f2f2f2;
  border-top: 0 none;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}
.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
  border-right: 0 none;
}
.ts-dropdown.plugin-optgroup_columns .optgroup:before {
  display: none;
}
.ts-dropdown.plugin-optgroup_columns .optgroup-header {
  border-top: 0 none;
}

.ts-wrapper.plugin-remove_button .item {
  display: inline-flex;
  align-items: center;
  padding-right: 0 !important;
}
.ts-wrapper.plugin-remove_button .item .remove {
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
  display: inline-block;
  padding: 0 6px;
  border-left: 1px solid #d0d0d0;
  border-radius: 0 2px 2px 0;
  box-sizing: border-box;
  margin-left: 6px;
}
.ts-wrapper.plugin-remove_button .item .remove:hover {
  background: rgba(0, 0, 0, 0.05);
}
.ts-wrapper.plugin-remove_button .item.active .remove {
  border-left-color: #cacaca;
}
.ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
  background: none;
}
.ts-wrapper.plugin-remove_button.disabled .item .remove {
  border-left-color: white;
}
.ts-wrapper.plugin-remove_button .remove-single {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 23px;
}

.ts-wrapper {
  position: relative;
}

.ts-control > input {
  min-width: auto!important;
  cursor: pointer;
}


.ts-dropdown,
.ts-control,
.ts-control input {
  color: #303030;
  font-family: inherit;
  font-size: 13px;
  line-height: 18px;
  font-smoothing: inherit;
}

.ts-control,
.ts-wrapper.single.input-active .ts-control {
  background: #fff;
  cursor: text;
}

.ts-control {
  border: none;
  height: 100%;
  align-items: center;
  padding: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  box-shadow: none;
  border-radius: 3px;
  display: flex;
  flex-wrap: wrap;
}
.ts-wrapper.multi.has-items .ts-control {
  padding: calc( 8px - 2px - 0) 8px calc( 8px - 2px - 3px - 0);
}
.full .ts-control {
  background-color: #fff;
}
.disabled .ts-control, .disabled .ts-control * {
  cursor: default !important;
}
.focus .ts-control {
  box-shadow: none;
}
.ts-control > * {
  vertical-align: baseline;
  display: inline-block;
}
.ts-wrapper.multi .ts-control > div {
  cursor: pointer;
  margin: 0 3px 3px 0;
  padding: 2px 6px;
  background: #f2f2f2;
  color: #303030;
  border: 0 solid #d0d0d0;
}
.ts-wrapper.multi .ts-control > div.active {
  background: #e8e8e8;
  color: #303030;
  border: 0 solid #cacaca;
}
.ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
  color: #7d7d7d;
  background: white;
  border: 0 solid white;
}
.ts-control > input {
  flex: 1 1 auto;
  min-width: 7rem;
  display: inline-block !important;
  padding: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-indent: 0 !important;
  border: 0 none !important;
  background: none !important;
  line-height: inherit !important;
  -webkit-user-select: auto !important;
     -moz-user-select: auto !important;
      -ms-user-select: auto !important;
          user-select: auto !important;
  box-shadow: none !important;
}
.ts-control > input::-ms-clear {
  display: none;
}
.ts-control > input:focus {
  outline: none !important;
}
.has-items .ts-control > input {
  margin: 0 4px !important;
}
.ts-control.rtl {
  text-align: right;
}
.ts-control.rtl.single .ts-control:after {
  left: 15px;
  right: auto;
}
.ts-control.rtl .ts-control > input {
  margin: 0 4px 0 -2px !important;
}
.disabled .ts-control {
  opacity: 0.5;
  background-color: #fafafa;
}
.input-hidden .ts-control > input {
  opacity: 0;
  position: absolute;
  left: -10000px;
}

.ts-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
  border: 1px solid #d0d0d0;
  background: #fff;
  margin: 0.25rem 0 0 0;
  border-top: 0 none;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 3px 3px;
}
.ts-dropdown [data-selectable] {
  cursor: pointer;
  overflow: hidden;
}
.ts-dropdown [data-selectable] .highlight {
  background: rgba(125, 168, 208, 0.2);
  border-radius: 1px;
}
.ts-dropdown .option,
.ts-dropdown .optgroup-header,
.ts-dropdown .no-results,
.ts-dropdown .create {
  padding: 5px 8px;
}
.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
  cursor: inherit;
  opacity: 0.5;
}
.ts-dropdown [data-selectable].option {
  opacity: 1;
  cursor: pointer;
}
.ts-dropdown .optgroup:first-child .optgroup-header {
  border-top: 0 none;
}
.ts-dropdown .optgroup-header {
  color: #303030;
  background: #fff;
  cursor: default;
}
.ts-dropdown .create:hover,
.ts-dropdown .option:hover,
.ts-dropdown .active {
  background-color: #f5fafd;
  color: #495c68;
}
.ts-dropdown .create:hover.create,
.ts-dropdown .option:hover.create,
.ts-dropdown .active.create {
  color: #495c68;
}
.ts-dropdown .create {
  color: rgba(48, 48, 48, 0.5);
}
.ts-dropdown .spinner {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 5px 8px;
}
.ts-dropdown .spinner:after {
  content: " ";
  display: block;
  width: 24px;
  height: 24px;
  margin: 3px;
  border-radius: 50%;
  border: 5px solid #d0d0d0;
  border-color: #d0d0d0 transparent #d0d0d0 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ts-dropdown-content {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 200px;
  overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.ts-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
          clip-path: inset(50%) !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}
/*# sourceMappingURL=tom-select.css.map */


.background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.content {
  position: relative;
  z-index: 1;
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  white-space: nowrap;
  overflow-x: auto; /* Enable horizontal scrolling for content */
}


.scroll {
  overflow-y: auto;
  overflow-x: hidden;
}
.scroll::-webkit-scrollbar {
  margin-left: 10px;
   width: 6px;
}

.scroll::-webkit-scrollbar-track {
   -webkit-box-shadow: none;
   border-radius: 30px;
}

.scroll::-webkit-scrollbar-thumb {
  background-color: #b3bdd2;
  border-radius: 30px;
  border: 0px none #ffffff;
}

.scrollable {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  transition: all 0.2s;
  transform: scale(0.98);
  will-change: transform;
  user-select: none;
  cursor: pointer;
}

.whatsapp-ico{
  fill: white;
  width: 50px;
  height: 50px;
  padding: 3px;
  background-color: #4dc247;
  border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  /* box-shadow: 2px 2px 11px rgba(0,0,0,0.7); */
  position: fixed;
  bottom: 20px;
  right : 20px;
  z-index: 10;
}

.whatsapp-ico:hover{
  box-shadow: 2px 2px 11px rgba(0,0,0,0.7);
}


.spinner {
  animation: rotate 2s linear infinite;
  z-index: 2;
  width: 50px;
  height: 50px;

  & .path {
    stroke: hsl(237, 51%, 51%);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }

}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}


.avatar-blur {
  overflow: hidden;
}

.avatar-blur:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  opacity: 70%;
}

.rotate-180 {
  transform: rotate(180deg);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

