body {
    font-family: "Titillium Web"
}

.fi {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    width: 24px !important;
    height: 19px !important;
}

.circle-container {
    display: inline-block;
}

.circle {
    width: 18px;
    height: 18px;
    background-color: #1E90FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.circle-number {
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

/* Tom Select Custom Styles - A365 Design System */
.ts-wrapper.single .ts-control {
    background: #fff;
    border: 1px solid rgb(194, 223, 255);
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.ts-wrapper.single .ts-control:hover {
    border-color: rgb(51, 140, 237);
}

.ts-wrapper.single.focus .ts-control {
    outline: none;
    border-color: rgb(194, 223, 255);
    box-shadow: 0 0 0 2px rgb(194, 223, 255);
}

.ts-wrapper .ts-control .item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ts-wrapper.single .ts-control:after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #31363A;
    pointer-events: none;
}

.ts-dropdown {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    margin-top: 0.25rem;
    border: none;
    overflow: hidden;
}

.ts-dropdown .option {
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #f2f2f2;
    color: #31363A;
}

.ts-dropdown .option .flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ts-wrapper.single .ts-control .item .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.ts-dropdown .option .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* Hide native dropdown arrow */
.ts-wrapper.single .ts-control input {
    display: none;
}

/* Placeholder style */
.ts-wrapper.single .ts-control.dropdown-active:before {
    display: none;
}

.ts-wrapper .ts-control > * {
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

/* Input hidden when item selected */
.ts-wrapper.single.has-items .ts-control input {
    display: none !important;
}

/* Max height for dropdown */
.ts-dropdown-content {
    max-height: 256px;
    overflow-y: auto;
}

/* Scrollbar style */
.ts-dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.ts-dropdown-content::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 0.75rem;
}

.ts-dropdown-content::-webkit-scrollbar-thumb {
    background: #c2dfff;
    border-radius: 0.75rem;
}

.ts-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #338ced;
}

.modal__overlay {
    /* position: fixed; */
    /* top: 0; */
    /* left: 0;
    right: 0;
    bottom: 0; */
    /* background: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center; */
}

.ts-dropdown-content {
    background: #FFF;
}

.ts-dropdown [data-selectable].option {
    opacity: 1;
    cursor: pointer;
    padding: 12px 16px;
}
.ts-dropdown .option:hover, .ts-dropdown .option.active
 {
    background-color: #f2f2f2;
    color: #31363A;
}

.ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    background: #fff;
    margin: 0.25rem 0 0;
    border-top: 0 none;
    box-sizing: border-box;
    border: 0!important;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.10), 0 10px 15px -3px rgba(0, 0, 0, 0.10);
    border-radius: 0 0 12px 12px!important;
}

/**************************\
  Spinner Animation
\**************************/
@keyframes spinnerRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-container {
  animation: spinnerRotate 1.4s linear infinite;
}

.spinner-wrapper {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
