:root {
    --ss-font-color: #6a7282;
    --ss-highligh-color: #0056b3;
    --ss-font-placeholder-color: #d1d5db;
    --ss-font-selected-color: #6a7282; /* Selected value color */
}

.wavy span {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: bottom;
  }
  
  @keyframes wave {
  
    50% {
      transform: translateY(5px);
    }
  }
  
  .wavy span:nth-child(1) { animation-delay: 0s; }
  .wavy span:nth-child(2) { animation-delay: 0.1s; }
  .wavy span:nth-child(3) { animation-delay: 0.2s; }
  .wavy span:nth-child(4) { animation-delay: 0.3s; }
  .wavy span:nth-child(5) { animation-delay: 0.4s; }
  .wavy span:nth-child(6) { animation-delay: 0.5s; }
  .wavy span:nth-child(7) { animation-delay: 0.6s; }
  .wavy span:nth-child(8) { animation-delay: 0.7s; }
  .wavy span:nth-child(9) { animation-delay: 0.8s; }
  .wavy span:nth-child(10) { animation-delay: 0.9s; }
  .wavy span:nth-child(11) { animation-delay: 1.0s; }
  .wavy span:nth-child(12) { animation-delay: 1.1s; }
  .wavy span:nth-child(13) { animation-delay: 1.2s; }
  .wavy span:nth-child(14) { animation-delay: 1.3s; }
  .wavy span:nth-child(15) { animation-delay: 1.4s; }
  .wavy span:nth-child(16) { animation-delay: 1.5s; }
  .wavy span:nth-child(17) { animation-delay: 1.6s; }
  
  .calculating {
      color: #666;
      font-style: italic;
      animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
      0% { opacity: 0.6; }
      50% { opacity: 1; }
      100% { opacity: 0.6; }
  }
  
 /* Slim Select custom styles */
.ss-main {
    width: 100%;
    position: relative;
    height: 2.6rem;
    padding-left: 1rem;
}

.ss-main .ss-single-selected {
    height: 38px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    position: relative;
}

.ss-main .ss-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.ss-main .ss-content {
    margin-top: 4px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ss-search input:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5) !important;
    border-color: #9ca3af !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
  }


.ss-content .ss-list .ss-option {
    padding: 0.5rem 1rem;
    font-size: 0.875rem !important;
    color: var(--ss-font-color) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ss-main:focus,
.ss-main.focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5) !important;
    border-color: #9ca3af !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}


.ss-search input::placeholder {
    color: var(--ss-font-placeholder-color) !important;
  }
  
  /* For browsers that require vendor prefixes */
  .ss-search input::-webkit-input-placeholder {
    color: var(--ss-font-placeholder-color) !important;
  }
  .ss-search input::-moz-placeholder {
    color: var(--ss-font-placeholder-color) !important;
  }
  .ss-search input:-ms-input-placeholder {
    color: var(--ss-font-placeholder-color) !important;
  }
  .ss-search input:-moz-placeholder {
    color: var(--ss-font-placeholder-color) !important;
  }
  
.ss-content .ss-list .ss-option:hover {
    background-color: #6497b1!important;
    color: #fff !important;
}

.ss-content .ss-list .ss-option.ss-highlighted, .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    color: #fff !important;
    background-color: var(--ss-highligh-color) !important;
}

.ss-main .ss-values { 
    width: calc(100% - 30px); 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%);
    padding-left: 0.75rem;
}
    

.ss-content .ss-search {
    padding-left: 0.75rem;
    color: var(--ss-font-color) !important;
}

.ss-main .ss-values .ss-single  {
    color: var(--ss-font-color) !important;    
    display: block;    
    overflow: hidden;    
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.ss-content .ss-search {
    color: var(--ss-font-color) !important;
}

/* Make sure other elements are styled consistently */
.ss-main .ss-values { 
    width: calc(100% - 50px); 
    position: absolute;
    left: 0; 
    top: 50%;
    transform: translateY(-50%);
    padding-left: 0.75rem;
}

.ss-content .ss-search {
    padding-left: 0.75rem;
    font-size: 0.875rem !important;
    color: var(--ss-font-color) !important;
}

.ss-main .ss-values .ss-single {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}