/* Dropdown container style */
  #dropdown_for_search {
    display: none; /* Hidden by default */
    max-height: 600px; /* Maximum height */
    overflow-y: auto; /* Vertical scrolling if the dropdown is long */
    overflow-x: hidden; /* Hide horizontal scrolling */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    white-space: normal; /* Text will wrap to the next line if it's long */
    word-wrap: break-word; /* Words will break if they're too long */
  }

  /* Dropdown item style */
  .dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Will wrap to the next line if items don't fit */
    white-space: normal; /* Text inside dropdown will wrap */
    word-break: break-word; /* Long words will break and wrap */
  }

  /* Service badge style */
  .badge.service_id_badge {
    margin-right: 8px; /* Gap between the badge and name */
    font-size: 12px; /* Badge text size */
  }

  /* Centered "Please Wait" or loading message */
  #dropdown_for_search .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Correct positioning for the message */
    font-weight: bold;
  }
 
/* Container for the dropdown */
.balance-dropdown-container {
    position: relative;
    display: inline-block;
}

/* Style for the dropdown itself */
.balance-dropdown {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Dollar sign icon styling */
.balance-dropdown__name {
    font-size: 18px;
    color: #28a745;  /* Green color for dollar sign */
    display: flex;
    align-items: center;
}

/* Icon size */
.balance-dropdown__name i {
    font-size: 20px;
}

/* Dropdown menu container */
.balance-dropdown__container {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none;  /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
}

/* Display the dropdown on hover or when the toggle is active */
.balance-dropdown:hover .balance-dropdown__container {
    display: block;
}

/* Style for each dropdown list item */
.balance-dropdown__container li {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

/* Remove border from last list item */
.balance-dropdown__container li:last-child {
    border-bottom: none;
}

/* Hover effect for list items */
.balance-dropdown__container li:hover {
    background-color: #f1f1f1;
}

/* Style for links inside the list items */
.balance-dropdown__container li a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* Optional: active or selected currency */
.balance-dropdown__container li a.active {
    background-color: #28a745;
    color: white;
}

/* Ensure the dropdown stays visible */
.dropdown-menu.show {
    display: block;
}

/* Particle snow effect for festive themes */
.particle-snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}

.particle-snow canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Christmas garland styling */
.christmas-garland {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    padding: 0;
    pointer-events: none;
    width: 100%;
    height: 85px;
}

.christmas-garland .christmas-garland__item {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 20px;
}

.christmas-garland .christmas-garland__item .shape {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: flash-1;
    animation-name: flash-1;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}

.christmas-garland .christmas-garland__item .apple {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
}

.christmas-garland .christmas-garland__item .pear {
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6px;
}

.christmas-garland .christmas-garland__item:nth-child(2n+1) .shape {
    -webkit-animation-name: flash-2;
    animation-name: flash-2;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
}

.christmas-garland .christmas-garland__item:nth-child(4n+2) .shape {
    -webkit-animation-name: flash-3;
    animation-name: flash-3;
    -webkit-animation-duration: 1.1s;
    animation-duration: 1.1s;
}

.christmas-garland .christmas-garland__item:nth-child(odd) .shape {
    -webkit-animation-duration: 1.8s;
    animation-duration: 1.8s;
}

.christmas-garland .christmas-garland__item:nth-child(3n+1) .shape {
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
}

.christmas-garland .christmas-garland__item:before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    top: -1px;
    left: 9px;
}

.christmas-garland .christmas-garland__item:after {
    content: "";
    top: -9px;
    left: 14px;
    position: absolute;
    width: 52px;
    height: 18px;
    border-bottom: solid #222 2px;
    border-radius: 50%;
}

.christmas-garland .christmas-garland__item:last-child:after {
    content: none;
}

.christmas-garland .christmas-garland__item:first-child {
    margin-left: -40px;
}
 
