.flatpickr-wrapper{
    width: -webkit-fill-available !important;
    display: block !important;
}

.bg-scheduled{ background-color: #690000ff; }
.bg-confirmed{ background-color: #00a531ff; }
.bg-in-office{ background-color: #e5ff00ff; }
.bg-in-waiting-room{ background-color: #ea8a48; }
.bg-in-progress{ background-color: #9dee71; }
.bg-finalized{ background-color: #2596be; }
.bg-canceled-by-customer{ background-color: #873e23; }
.bg-canceled{ background-color: #f30c0cff; }

.text-scheduled{ color: #ffffff; }
.text-confirmed{ color: #ffffff; }
.text-in-office{ color: #000000; }
.text-in-waiting-room{ color: #000000; }
.text-in-progress{ color: #000000; }
.text-finalized{ color: #ffffff; }
.text-canceled-by-customer{ color: #ffffff; }
.text-canceled{ color: #ffffff; }

.duplicate-row {
    background-color: rgba(255, 230, 230, 0.6) !important; /* rojo claro */
}

.dropdown-menu {
  position: fixed;
  min-width: 180px;
  z-index: 50;
}

.dropdown-up {
  transform-origin: bottom;
  animation: slideUp 0.15s ease-out;
}

.dropdown-down {
  transform-origin: top;
  animation: slideDown 0.15s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Estilos Select2 para Dark Mode no funciona --- */

/* 1. Fondo de la lista desplegable (el <ul> que contiene los resultados) */
/* Reemplaza el fondo blanco por uno oscuro cuando la clase 'dark' está activa */
.dark .select2-container--default .select2-results {
    background-color: #1f2937 !important; /* Tailwind gray-800 */
}

/* 2. Color del texto de las opciones (para que no sea negro) */
.dark .select2-container--default .select2-results__option {
    color: #f3f4f6 !important; /* Tailwind gray-100 */
}

/* 3. Color de fondo del elemento resaltado (al pasar el ratón) */
.dark .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #374151 !important; /* Tailwind gray-700 */
    color: #ffffff !important;
}

/* 4. Color del texto dentro del Select (lo que ya está seleccionado) */
.dark .select2-container--default .select2-selection--single {
    background-color: #1f2937 !important;
    color: #f3f4f6 !important;
    border-color: #4b5563 !important; /* Tailwind gray-600 */
}

/* 5. Color del texto del placeholder */
.dark .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af !important; /* Tailwind gray-400 */
}

/* --- Fin Estilos Select2 para Dark Mode --- */

/* Calendar class .fc-event-time */
.fc-event-time {
    color: black !important;
    font-weight: bolder !important;
}

/* ----- Estilos mejorados para Select2 ----- */
.select2-container .select2-selection--single {
    height: 44px !important;
    padding: 6px 12px;
    border-radius: 0.5rem !important;
    border: 1px solid #d1d5db !important; /* gray-300 */
    display: flex;
    align-items: center;
    /* max-width */
    width: 100% !important;
    max-width: inherit !important;
}

.dark .select2-container .select2-selection--single {
    background-color: #1f2937 !important; /* gray-800 */
    border-color: #4b5563 !important; /* gray-600 */
    color: #e5e7eb !important; /* gray-200 */
    width: 100% !important;
    max-width: inherit !important;
}

.select2-container--default{
    width: 100% !important;
    max-width: inherit !important;
}

.select2-selection__placeholder {
    color: #6b7280 !important; /* gray-500 */
}

.dark .select2-selection__placeholder {
    color: #9ca3af !important; /* gray-400 */
}

.select2-container .select2-selection__arrow {
    height: 42px !important;
    right: 10px !important;
}

.select2-results__option {
    padding: 8px 10px !important;
    font-size: 15px;
}

.select2-dropdown {
    border-radius: 0.5rem !important;
    border-color: #d1d5db !important;
}

.dark .select2-dropdown {
    background-color: #111827 !important; /* gray-900 */
    border-color: #374151 !important; /* gray-700 */
    color: white !important;
}


/* .consulting-room-block {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
} */

/*
dialog {
  width: 90% !important;
  border-radius: 10px;
}

.logo-brand{
    width: 55%;
    height: auto;
    object-fit: cover;
    padding: 5px;
}

.btn-info-custom {
    background-color: #3ebfea;
    color: white;
    border-color: #3ebfea;
}

.btn-info-custom:active {
    background-color: #3299bb;
    color: white;
    border-color: #2f8fb0;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-info-custom:disabled {
    background-color: #3ebfea;
    color: white;
    border-color: #3ebfea;
    opacity: 0.65;
}

.btn-info-custom:focus {
    box-shadow: 0 0 0 0.25rem rgba(91,201,237,0.5);
    border-color: #3ebfea;
}

.btn-info-custom:hover {
    background-color: #35a2c7;
    color: white;
    border-color: #3299bb;
}

.btn-cancel-custom {
    background-color: #bfc2c3;
    color: rgb(0, 0, 0);
    border-color: #bfc2c3;
}

.btn-cancel-custom:active {
    background-color: #9ca3a5;
    color: rgb(0, 0, 0);
    border-color: #9ca3a5;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-cancel-custom:disabled {
    background-color: #bfc2c3;
    color: rgb(0, 0, 0);
    border-color: #bfc2c3;
    opacity: 0.65;
}

.btn-cancel-custom:focus {
    box-shadow: 0 0 0 0.25rem rgba(63, 64, 64, 0.5);
    border-color: #bfc2c3;
}

.btn-cancel-custom:hover {
    background-color: #414141;
    color: white;
    border-color: #9ca3a5;
}

.card-header-custom {
    border-bottom-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(241 241 241 / var(--tw-border-opacity));
    padding: 5px 25px;
    display: flex;
    align-items: center;
}

.title-modal{
    font-size: 1.25rem;
    font-weight: 500;
    color: #3F4D67;
    margin-left: 10px;
} */
