.button-primary {
    color: #fff;
    background-color: #355C84;
    border-color: #355C84;
    box-shadow: 0 0.125rem 0.25rem rgba(146.5, 157.5, 170, 0.4);
}

.button-secundary {
    background-color: #fff;
    color: #355C84;
    border-color: #355C84;
    box-shadow: 0 0.125rem 0.25rem rgba(146.5, 157.5, 170, 0.4);
}

.button-secundary:hover {
    color: #fff;
    background-color: rgb(83, 132, 182);
    border-color: rgb(83, 132, 182);
    box-shadow: 0 0.25rem 1rem rgba(146.5, 157.5, 170, 0.45);
}

.button-primary:hover {
    color: #fff;
    background-color: rgb(83, 132, 182);
    border-color: rgb(83, 132, 182);
    box-shadow: 0 0.25rem 1rem rgba(146.5, 157.5, 170, 0.45);
}

.button-turquoise {
    color: #fff;
    background-color: #00AEB9;
    border-color: #00AEB9;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 174, 185, 0.4);
    transition: all 0.2s ease-in-out;
}

.button-turquoise:hover {
    color: #fff;
    background-color: #00c3cf;
    border-color: #00c3cf;
    box-shadow: 0 0.25rem 1rem rgba(0, 174, 185, 0.45);
}

.button-lightblue {
    color: #355C84;
    background-color: #BBD7EC;
    border-color: #BBD7EC;
    box-shadow: 0 0.125rem 0.25rem rgba(187, 215, 236, 0.4);
    transition: all 0.2s ease-in-out;
}


.label-strong {
    font-weight: bold;
    font-size: 19px;
}

.button-lightblue:hover {
    color: #355C84;
    background-color: #a9cae6;
    border-color: #a9cae6;
    box-shadow: 0 0.25rem 1rem rgba(187, 215, 236, 0.45);
}

.button-danger {
    color: #fff;
    background-color: #C94C4C;
    /* Rojo elegante */
    border-color: #C94C4C;
    box-shadow: 0 0.125rem 0.25rem rgba(201, 76, 76, 0.4);
    transition: all 0.2s ease-in-out;
}

.button-danger:hover {
    color: #fff;
    background-color: #E05B5B;
    /* Más claro en hover */
    border-color: #E05B5B;
    box-shadow: 0 0.25rem 1rem rgba(201, 76, 76, 0.45);
}

.button-orange {
    color: #fff;
    background-color: #F59E0B;
    /* Naranja ámbar */
    border-color: #F59E0B;
    box-shadow: 0 0.125rem 0.25rem rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease-in-out;
}

.button-orange:hover {
    color: #fff;
    background-color: #FFB833;
    /* Naranja más vivo */
    border-color: #FFB833;
    box-shadow: 0 0.25rem 1rem rgba(245, 158, 11, 0.45);
}

.color-icon {
    color: #355C84;
}

.color-icon-menu {
    color: white;
    background-color: #355C84;
}

h2,
h4 {
    color: #173549;
}

.fondo-inst {
    background-color: #173549;
    color: white !important;
}

.fondo-inst,
.fondo-inst a,
.fondo-inst .navbar-nav .nav-link {
    color: white !important;
}

.intro {
    color: #173549;
    font-size: 25px;
    padding: 10px;
    border: none;
    border-left: 10px solid #173549;
    width: 100%;
}

.badge-info {
    background-color: #173549;
    color: white;
    padding: 15px;
    font-size: 18px;
    min-width: 150px !important;
}

.badge-info-index {
    background-color: #173549;
    color: white;
    padding: 5px;
    font-size: 18px;
    min-width: 100px !important;
    line-height: 1.8;
    text-transform: uppercase;
}


.step {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
}

label {
    color: #276681;
}

.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: transparent;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-bottom: 2px solid #007bff;
    box-shadow: none;
    /* Quita el glow */
    outline: none;
}

.form-control.is-invalid {
    border-bottom-color: #dc3545;
    /* rojo bootstrap error */
    box-shadow: none;
}

.form-control.is-valid {
    border-bottom-color: #198754;
    /* verde bootstrap valid */
    box-shadow: none;
}

.select-underline {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: transparent;
    font: inherit;
    width: 100%;
    appearance: none;
    /* Oculta la flecha nativa */
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20,50 70,100 120,50' stroke='%23666' stroke-width='15' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
}

.bg-custom {
    background-color: #f1f0f0;
}

.select-underline:focus {
    border-bottom: 2px solid #007bff;
    outline: none;
}

.select-underline.is-invalid {
    border-bottom-color: #dc3545;
}

.is-invalid {
    border-bottom-color: 2px solid #dc3545;
}

.select-underline.is-valid {
    border-bottom-color: #198754;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-link:hover {
    background-color: #f0f0f0;
    color: #355C84;
}

.menu-link.active {
    background-color: #355C84;
    color: #fff;
    font-weight: bold;
}


.select2-container--default .select2-selection--single {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5rem 0;
    font: inherit;
    height: auto;
    padding-right: 40px;
    font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529;
    padding-left: 0;
    padding-right: 0;

}

.select2-container--default .select2-results__option {
    font-size: 13px;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);

}


.select2-container--default.select2-container--focus .select2-selection--single {
    border-bottom: 2px solid #007bff;
    outline: none;

}


.select2-container--default .select2-selection--single.is-invalid {
    border-bottom: 1px solid #dc3545;
}


.select2-container--default .select2-selection--single.is-valid {
    border-bottom-color: #198754;
}

.select2-container--default .select2-selection--multiple {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5rem 0;
    font: inherit;
    min-height: 38px;
    /* ajusta según tu diseño */
    font-size: 16px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #212529;
    padding-left: 0;
    padding-right: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0 0.25rem;
    margin-top: 0.25rem;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-bottom: 2px solid #007bff;
    outline: none;
}

.select2-container--default .select2-selection--multiple.is-invalid {
    border-bottom: 1px solid #dc3545;
}

.select2-container--default .select2-selection--multiple.is-valid {
    border-bottom-color: #198754;
}

.step-citas {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.d-none {
    display: none !important;
}

#calendar {
    width: 450px;
    margin: auto;
}

.fc-event {
    background-color: rgba(0, 174, 185, 0.2);
    border: 1px solid #00AEB9;
    /* borde suave */
    color: transparent;
    /* oculta texto */
    border-radius: 50%;
    /* forma redondeada tipo círculo */
    width: 30px;
    height: 30px;
    margin: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 0px;
    right: -3px;
}

/* Eventos en vista de mes (dayGrid) */
.fc-daygrid-event {
    white-space: normal;
    /* permite texto en varias líneas */
}

.fc .fc-col-header-cell {
    background-color: #355C84;
    color: white;
    font-weight: bold;
}

.fc .fc-col-header-cell-cushion {
    color: white !important;
    text-decoration: none;
}

.fc .fc-daygrid-day {
    height: 100% !important;
    min-height: 30px;
    padding: 0;
    vertical-align: top;
    background-color: white;
    color: black;
}

/* Texto de los días (número del día) */
.fc .fc-daygrid-day-number {
    color: black;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    text-decoration: none !important;
    border-bottom: none !important;
}

.fc td,
.fc th,
.fc-scrollgrid,
.fc-col-header-cell,
.fc-daygrid-day {
    border: none !important;
    box-shadow: none !important;
}

/* Eliminar borde exterior del calendario */
.fc .fc-scrollgrid {
    border: none !important;
}

.fc .fc-daygrid-day-frame {
    position: relative;
    padding: 0 !important;
}

.fc .fc-daygrid-day-events {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.fc .fc-event-title,
.fc .fc-event-time {
    display: none !important;
}

.fc .fc-daygrid-day:not(.fc-day-has-event):hover {
    cursor: not-allowed;
}

.evento-seleccionado {
    background-color: rgba(132, 53, 53, 0.2);
    /* Color que quieras */
    border: 2px solid #660000 !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    /* Si lo estás mostrando como círculo */
}

.leyenda-evento-disponible {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 174, 185, 0.2);
    border: 1px solid #00AEB9;
    /* borde suave */
    border-radius: 50%;
    display: inline-block;
}

.card-hora {
    background-color: #6C757D;
    color: white;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
    padding: 4px 4px !important;
    border-radius: 4px;
    font-size: 0.8rem;
}

.card-hora h6 {
    margin: 2px 0;
    font-size: 0.75rem;
}

.card-hora p {
    margin: 2px 0;
    font-size: 0.7rem;
}

.card-hora:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .menu-lateral {
        display: block !important;
    }

    .menu-offcanvas {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .menu-lateral {
        display: none !important;
    }

    .menu-offcanvas {
        display: block !important;
    }
}

a {
    text-decoration: none;
}

.responsive-img {
    display: none;
    border-radius: 15px;
    object-fit: cover;
    filter: grayscale(100%);
    width: 100%;
    height: 100%;
}

/* A partir de 768px mostramos la imagen */
@media (min-width: 768px) {
    .responsive-img {
        display: block;
    }
}

.social-icon svg {
    color: white;
    /* azul Facebook */
    transition: color 0.3s ease;
}

.social-icon:hover svg {
    color: #0e5abf;
}

.custom-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #555;
    font-weight: 500;
}

.custom-tabs .nav-link.active {
    border-color: #276681;
    /* o el color que prefieras */
    color: #276681;
    background-color: transparent;
    font-weight: bold;
}

.custom-tabs .nav-link:hover {
    border-bottom: 2px solid #276681;
    color: #0a58ca;
}

.truncate-name {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    /* Esta línea es necesaria */
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
}

table tbody td {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}