* {
    box-sizing: border-box
}

body{
    /* background-color: #fff !important; */
    background: url(../img/bg2.jpg) no-repeat center center fixed;
    background-size: cover;
    /* background: linear-gradient(to bottom right, #8f8bcf, #fff); */
}
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(203, 12, 159, 0.15), transparent 70%);
    z-index: -1; /* Keep it in the background */
  }


.text-align-left{
    text-align: left !important;
}
/* Custom CSS to override Bootstrap 5 styles for a more compact look */

.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.no-border-radius{
    border-radius: 0!important;
}

.sellect-element {
    display: inline-block;
    vertical-align: baseline;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0 4px 2px;
}

.sellect-element:focus {
    outline: 0;
}

.sellect-block {
    position: relative;
    margin-bottom: 24px;
    font-size: 16px;
}

.sellect-container {
    align-items: center;
    vertical-align: top;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d2d6da;
    border-radius: 0.5rem;
    font-size: 14px;
    min-height: 40px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.focused .sellect-container {
    box-shadow: 0 0 0 3px rgba(226, 147, 211, 0.5);
    /* Adjust the shadow size and color */
    border: none;
}

.sellect-destination-list {
    display: inline-block
}

.sellect-destination-list .sellect-item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #cb0c9f;
    border: 1px solid #cb0c9f;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
}

.sellect-destination-list .sellect-item .sellect-close-icon {
    margin-left: 5px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
}

.sellect-origin-list {
    visibility: hidden;
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    top: 100%;
    margin-top: -1px;
    border-bottom-left-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
    word-break: break-all;
    will-change: visibility;
}

.sellect-origin-list.open {
    visibility: visible;
}

.sellect-origin-list:focus {
    outline: 0;
}

.sellect-origin-list.open {
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    top: 100%;
    margin-top: -1px;
    border-bottom-left-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
    word-break: break-all;
}


.sellect-origin-list .sellect-item {
    display: block;
    position: relative;
    padding: 0.3rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sellect-origin-list .sellect-item:last-child {
    margin-bottom: 5px
}

.sellect-origin-list .sellect-item:hover,
.sellect-origin-list .sellect-item.active {
    background: #e2e2e2
}

.sellect-origin-list .sellect-item .sellect-close-icon {
    display: none
}

.sellect-arrow-icon {
    position: absolute;
    cursor: pointer;
    /* top: 0; */
    right: 0;
    padding: 8px
}

.loader-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black background */
    z-index: 9999;
    /* Ensure loader is on top of everything */
}

.loader {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #cb0c9f;
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    top: 50%;
    right: 50%;
    position: inherit;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.main-content {
    /* background-color: #f5f5f5; */
    padding: 20px 15px;
    min-height: 100vh;
    /* text-align: center; */
}

.hidden {
    display: none;
}

/* badge */

.badge_image {
    height: 35px;
    width: 35px;
    min-height: auto;
    min-width: auto;
    margin: 0 0.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.badge_avatar {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.333333;
    margin: 0;
    text-align: center;
    align-items: center;
    display: flex;
    flex: 1 1;
    justify-content: center;
}

.badge_small {
    width: 35px;
    height: 35px;
}
.user_badge .badge_image{
    width: 50px;
    height: 50px;
}
.user_badge .badge_image .badge_avatar{
    font-size: 25px;
    width: 50px;
    height: 50px;
}

.badge-lg{
    font-size: 11px !important;
}

.bg-grey{
    background-color: #f5f5f5;
}

/* switch slider  */

.switch {
    position: relative;
    display: inline-block;
    width: 35px !important;
    height: 19px !important;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(208, 213, 210);
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px !important;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  
  input:checked + .slider {
    background-color: #cb0c9f;
  }
  */ input:focus + .slider {
    box-shadow: 0 0 1px #cb0c9f;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(14px) !important;
    -ms-transform: translateX(14px) !important;
    transform: translateX(14px) !important;
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 28px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .search_button {
    position: relative;
    border: 0;
    border-radius: 5px;
    width: 385px;
    height: 42px;
    cursor: pointer;
    background: #fafafa;
    text-align: left;
    padding-left: 40px;
    outline: none;
    box-shadow: none;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.search_button i {
    width: 14px;
    height: 14px;
    position: absolute;
    top: 13px;
    left: 13px;
}

.search_button p {
    font-size: 13px;
    margin-left: 4px;
    font-weight: 400;
}
.search_button span {
    position: absolute;
    right: 5px;
    top: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    width: 50%;
    max-width: 600px;
    max-height: 600px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
}


#master_search_results{
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}
.search-container .form-control {
    border: 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

#searchOverlay input{
    font-size: 22px !important;
    border: 1px solid #cacaca !important;
}

#master_search_results div.row{
    border-bottom: 1px solid #fafafa !important;
}