html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Tom Select Dark Theme Overrides */
.ts-control {
    background-color: transparent !important;
    border: 1px solid rgba(13, 202, 240, 0.5) !important;
    color: #fff !important;
}
.ts-control input {
    color: #fff !important;
}
.ts-control input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.ts-dropdown {
    background-color: #164e58 !important;
    color: #fff !important;
    border: 1px solid rgba(13, 202, 240, 0.4) !important;
}
.ts-dropdown .option {
    color: #fff !important;
}
.ts-dropdown .option.active, .ts-dropdown .option:hover {
    background-color: rgba(13, 202, 240, 0.2) !important;
    color: #22d3ee !important;
}
.ts-wrapper.single .ts-control:after {
    border-color: #0dcaf0 transparent transparent transparent !important;
}

/* Premium Dropdown Item Hover */
.dropdown-premium {
    color: #cbd5e1 !important;
    transition: all 0.3s ease;
}
.dropdown-premium:hover {
    background-color: rgba(13, 202, 240, 0.15) !important;
    padding-left: 1.5rem !important;
    color: #22d3ee !important;
}

/* Passed By Pill Badge Style */
.ts-control .item {
    background-color: #00b4d8 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 1px 10px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    display: inline-flex !important;
    align-items: center;
}
.ts-control .item .remove {
    color: #ffffff !important;
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin-left: 8px !important;
    padding-left: 8px !important;
    font-size: 1.1em !important;
}
.ts-control .item .remove:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 20px 20px 0 !important;
}

/* Premium Add/Cancel Toggle Buttons */
.btn-premium-add {
    background: linear-gradient(135deg, #22d3ee, #0891b2) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(8, 145, 178, 0.3) !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}
.btn-premium-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(8, 145, 178, 0.5) !important;
    color: #fff !important;
}
.btn-premium-add:active {
    transform: translateY(0);
}

.btn-premium-cancel {
    background: linear-gradient(135deg, #f43f5e, #be123c) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(190, 18, 60, 0.3) !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}
.btn-premium-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(190, 18, 60, 0.5) !important;
    color: #fff !important;
}
.btn-premium-cancel:active {
    transform: translateY(0);
}

/* Premium Text Input to match TomSelect dark theme */
.premium-input {
    background-color: transparent !important;
    border: 1px solid rgba(13, 202, 240, 0.5) !important;
    color: #fff !important;
}
.premium-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.premium-input:focus {
    border-color: #22d3ee !important;
    box-shadow: 0 0 0 0.25rem rgba(34, 211, 238, 0.25) !important;
}
