/* Aplicar la fuente Raleway a todo el documento */
body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: transparent;
}

/* Estilos para la barra lateral */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #fff;
    padding: 0.5rem 1rem;
    margin: 0.2rem 0;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Estilos para las tarjetas */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: #6c757d;
    font-weight: 600;
}

.card-text {
    color: #212529;
    font-weight: 700;
}

/* Estilos para el contenido principal */
main {
    padding-top: 1.5rem;
}
/*Fondo gris para los options deshabilitados*/
option:disabled {
    background-color: #f5f5f5;
}

/* Estilos específicos para la página de login */
.login-page {
    background: linear-gradient(to bottom, #0066cc 0%, #0000AA 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    height: 538px;
    margin: 0 auto;
}

.login-left {
    flex: 1;
    padding: 40px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
}

.login-left h1 {
    font-size: 36px;
    font-weight: 900;
    color: #0066CC;
    margin: 0;
    position: relative;
    top: auto;
    left: auto;
}

.login-right {
    flex: 1;
    padding: 40px 50px;
    background: #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 110px;
  
}

.login-right h2 {
    color: #0066CC;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    align-self: center;
}

#loginForm {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-control {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #0066CC;
    font-size: 16px;
    margin-bottom: 0px;
    width: 100%;
    color: #737373;
    background: white;
}

.btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #009FE3;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0085bf;
    transform: translateY(-2px);
}

/* Estilos para los logos */
.logos-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.logo {
    max-width: 250px;
    height: auto;
}

.form-control::placeholder {
    color: #737373;
    font-size: 12px;
}

.form-control:focus {
    border-color: #0066cc;
    box-shadow: none;
    outline: none;
}

/* Contenedor de contraseña con botón de mostrar/ocultar */
.password-container {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #0066CC;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #009FE3;
}

.toggle-password:focus {
    outline: none;
}

/* Estilos para enlaces */
.forgot-password {
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
    display: block;
    text-align: center;
    font-weight: 700;
    margin-bottom:10px;
}
.forgot-password span{
    text-decoration: underline;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Estilos para los términos y condiciones */
.terms {
    color: #757575;
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.terms a {
    color: #0066CC;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
        margin: 0;
        height: auto;
        max-height: none;
        width: 100%;
    }

    .login-container {
        padding: 0;
    }

    .login-page {
        padding: 10px;
    }

    .login-left,
    .login-right {
        padding: 20px;
        margin-bottom: 0;
    }

    /* Header principal */
    .dashboard-header {
        padding: 10px;
    }

    .navbar-brand {
        margin-left: 10px;
        font-size: 14px;
    }

    .navbar-brand img {
        height: 25px;
    }

    .user-welcome {
        display: none;
    }

    /* Header con gradiente */
    .header-gradient-container {
        height: auto !important;
        padding: 15px 0 !important;
    }

    .header-gradient-container .d-flex {
        padding: 0 15px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .header-gradient-container .dashboard-title {
        font-size: 20px;
        text-align: left;
        margin-bottom: 0;
    }

    .header-gradient-container .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* Cards */
    .cards-container {
        padding: 15px;
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        padding: 20px;
    }

    .dashboard-card h2 {
        font-size: 16px;
        min-height: auto;
        margin-bottom: 15px;
    }

    .dashboard-card .cupos,
    .dashboard-card .fecha {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .dashboard-card .fecha {
        margin-bottom: 20px;
    }

    .dashboard-card .btn-ver-reservas {
        width: 100%;
        padding: 8px 15px;
    }

    /* Sidebar */
    #sidebar {
        width: 100%;
        left: -100%;
    }

    #sidebar.active {
        width: 100%;
        left: 0;
    }

    .sidebar-content {
        padding: 15px;
    }

    #sidebar.active .sidebar-content {
        padding-top: 40px;
    }

    .sidebar-header h5 {
        padding-left: 20px;
    }

    #sidebar ul li a {
        padding: 10px 20px;
    }

    .btn-logout {
        padding: 15px 20px;
    }

    /* Content ajustes */
    #content {
        width: 100%;
        margin-left: 0;
    }

    #content.sidebar-active {
        width: 100%;
        margin-left: 0;
        position: fixed;
    }

    /* Toggle button */
    .sidebar-toggle {
        width: 50px;
        height: 40px;
        font-size: 24px;
    }

    /* Close button */
    .close-sidebar {
        top: 15px;
        right: 15px;
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 1199px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .header-gradient-container .d-flex {
        padding: 0 20px;
    }

    .dashboard-card .btn-ver-reservas {
        width: 80%;
    }
}

/* Estilos del Dashboard */
.dashboard-page {
    background: transparent;
    min-height: 100vh;
}

.dashboard-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 67px;
    z-index: 1030;
    padding-right: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 900;
    color: #0066CC;
    margin-left: 20px;
}

.navbar-brand:hover{
    transform: scale(1.05);
    color: #0066CC;
}
.navbar-brand img {
    height: 30px;
    width: auto;
}

.user-welcome {
    color: #0066CC;
    font-weight: 400;
    font-size: 14px;
}

.notification-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    position: fixed;
    left: 0;
    top: 67px; 
    padding: 8px;
    font-size: 30px;
    color: #0066CC;
    border: none;
    background-color: white;
    border-radius: 0;
    z-index: 1025;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    width: 92px;
    height: 50px;
}

.sidebar-toggle.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Close Sidebar Button */
.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 14px;
    height: 14px;
    color: #737373;
    border: 1px solid #737373;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding: 0;
}

.close-sidebar:hover {
    color: #0052a3;
    border-color: #0052a3;
}

/* Sidebar */
#sidebar {
    width: 92px;
    height: calc(100vh - 67px);
    background: white;
    position: fixed;
    left: 0;
    top: 67px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1020;
    display: flex;
    flex-direction: column;
}

#sidebar.active {
    width: 250px;
}

/* Sidebar Content */
.sidebar-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

#sidebar.active .sidebar-content {
    padding-top: 60px;
    overflow-y: auto;
}

#sidebar:not(.active) .sidebar-content > * {
    opacity: 0;
    visibility: hidden;
}

#sidebar.active .sidebar-content > * {
    opacity: 1;
    visibility: visible;
}

.sidebar-header h5 {
    color: #0066CC;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 40px;
    white-space: nowrap;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    padding: 0px 15px;
    padding-left: 40px;
    display: block;
    color: #737373;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
    white-space: nowrap;
}

.sidebar-footer {
    width: 100%;
    background: white;
    margin-top: auto;
}

.btn-logout {
    width: 100%;
    background: #0066CC;
    color: white;
    border: none;
    padding: 20px 15px;
    padding-left: 40px;
    border-radius: 0;
    font-weight: 400;
    font-size: 14px;

    text-align: left;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-logout:hover{
    background: #0052a3;
}

/* Content */
#content {
    width: calc(100% - 92px);
    margin-left: 92px;
    transition: all 0.3s ease;
    padding: 0;
    padding-top: 67px;
    min-height: calc(100vh - 67px);
   
}

#content.sidebar-active {
    width: calc(100% - 250px);
    margin-left: 250px;
}

.header-gradient-container {
    background: linear-gradient(to bottom, #0066cc 50%, #0000AA 100%);
    margin: 0;
    padding: 0;
    height: 73px;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-gradient-container .d-flex {
    padding: 0 40px;
    width: 100%;
    margin: 0;
}

.header-gradient-container .dashboard-title {
    color: white;
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

.header-gradient-container .btn-primary {
    background-color: #009FE3;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 14px;
    text-transform: uppercase;
    color: white;
}

.header-gradient-container .btn-primary:hover {
    background-color: #0085bf;
}

.col-12.header-gradient-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/* Quitamos los estilos anteriores que ya no necesitamos */
.dashboard-header-container {
    display: none;
}

.listado-agencias{
    color: #0066CC !important;
    font-weight: 600 !important;
}

.cards-container {
    padding: 40px;
    display: grid;
    gap: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-card h2 {
    color: #0066CC;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 0px;
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dashboard-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-card .cupos {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-card .cupos span {
    color: #000000;
    font-weight: 400;
}

.dashboard-card .fecha {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
}

.dashboard-card .btn-ver-reservas {
    background-color: #009FE3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    width: 60%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: auto;
    margin: 0 auto;
}

.dashboard-card .btn-ver-reservas:hover {
    background-color: #0085bf;
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Estilos para la sección de circuitos */
.circuits-container {
    padding: 30px;
    background-color: #F5F5F5;
}

/* Estilos para la navegación de circuitos */
.nav-switches {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    width: calc(100% - 320px); 
}

/* Contenedor de los botones switch */
.switch-container {
    display: flex;
    background: #0066CC;
    border-radius: 12px;
    padding: 4px;
}

.switch-button {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 300;
    color: #D9D9D9;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-button.active {
    background: white;
    color: #0066CC;
    font-weight: 700;
    border-radius: 12px;
}

/* Barra de búsqueda */
.search-bar-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex: 1;
 
}

.search-input-container {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1px solid #0066CC;
    border-radius: 10px;
    font-size: 12px;
    color: #737373;
}

.search-input::placeholder {
    color: #737373;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #0066CC;
    font-size: 18px;
}

/* Ordenar por fecha */
.order-by {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #737373;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.order-by label {
    margin: 0;
    cursor: pointer;
}

.order-by i {
    font-size: 16px;
}

/* Layout de circuitos */
.circuits-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 10px;
}

.reservations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Estilos para las reservation cards */

.reservation-empty-title{
    color: #0066CC;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
}
.reservation-card {
    display: block;
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reservation-header {
    margin-bottom: 20px;
}

.reservation-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight:700;
    color: #000;
    margin-bottom: 10px;
    padding-bottom: 5px;
    
}

.reservation-header span {
    font-style: italic;
    color: #000;
    font-weight: 500;
}

.reservation-cupos {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.detail-value {
    font-size: 12px;
    color: #000;
    font-weight: 400;
    margin: 0;
    margin-bottom: -10px;

}

.detail-view:not([style*="display: none"]) ~ .filters-sidebar .calendar {

    margin-top: 0;
}

/* Ajuste del sidebar en vista de detalle */
.detail-view:not([style*="display: none"]) ~ .filters-sidebar {
    padding-top: 0;
} 




.detail-time {
    font-size: 12px;
    color: #000;
    margin: 0;
    line-height: 1;
}

.estado-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.estado-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.estado-label {
    font-size: 12px !important;
    font-weight: 700;
    color: #000;
}

.estado-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 12px;
    color: #000;
    background: transparent;
    cursor: pointer;
    font-weight: 400;
    padding-right: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23000' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.estado-select:focus {
    outline: none;
}

.estado-select option {
    font-weight: 600;
}

.estado-select option[value="pendiente"] {
    color: #FF0000;
}

/* Estilo para cuando está seleccionado "Pendiente de pago" */
.estado-select.pending {
    color: #FF0000;
}

.reservation-actions {
    display: flex;
    gap: 10px;
}

.action-button {
    padding: 5px ;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-ver, .btn-editar {
    background: #009FE3;
    color: white;
    text-decoration: none;
}

.btn-ver:hover, .btn-editar:hover {
    background: #0085bf;
}

.btn-cancelar {
    background: #FF0000;
    color: white;
}

.btn-cancelar:hover {
    background: #e60000;
}

/* Estilos para el contenedor de estado y acciones */
.estado-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.estado-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.estado-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.estado-value {
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 4px;
}

.estado-value i {
    font-size: 12px;
}

/* Sidebar de filtros */
.filters-sidebar {
    background: transparent;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filters-title {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin: 0;
    margin-bottom: 5px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.filter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.filter-checkbox:first-child {
    padding-left: 0;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #0066CC;
    border-radius: 3px;
    margin-top: 2px;
    accent-color: #0066CC;
}

.filter-checkbox label {
    font-size: 12px;
    color: #000;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

.filter-checkbox:first-child label {
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
}

.info-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 20px;
}

.info-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #232323;
    font-weight: 600;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-available {
    background: #5CDD42;
}

.dot-reserved {
    background: #0066CC;
}

.dot-unavailable {
    background: #D9D9D9;
}
/* FULLCALENDAR */

.fc-list-day-cushion.fc-cell-shaded {
    display: none;
}

.fc-list-event-time, .fc-list-event-dot {
    display: none;
}

.fc td.fc-list-event-title, .fc td.fc-list-event-graphic {
    padding-top: 22px !important;
}

.fc .fc-button-group {
    display: flex;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 4px;
}

.fc .fc-dayGridMonth-button, .fc .fc-list-button{
    border: none;
}
.fc .fc-button-primary:not(:disabled) {
    background: none;
    
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #424242;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active{
    background: white;
    
    color: #424242;
    font-weight: 700;
    border-radius: 12px;
}
.fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus{
    box-shadow: none;
}
.fc .fc-toolbar-title {
    font-size: 16px;
    font-weight: 700;
    color: #424242;
}

.fc button.fc-prev-button, .fc button.fc-next-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #D9D9D9;
    background: white;
    border-radius: 8px;
    color: #000;
    transition: background-color 0.2s;
}
.fc .fc-today-button.fc-button-primary {
    padding: 10px 25px;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color:white;
    background-color: #0066CC;
    transition: background-color 0.2s;
}

.fc .fc-col-header-cell.fc-day {
    background: #f9f9f9;
    border-color:#f0f0f0;
    
}

.fc a.fc-col-header-cell-cushion {
    text-decoration: none;
    text-transform: uppercase;
    color: #424242;
    font-weight: 700;
    font-size: 12px;
}

.fc .fc-day.fc-daygrid-day {
    border: 1px solid #f0f0f0 !important; 
}

.fc .fc-scrollgrid.fc-scrollgrid-liquid {
    border: 1px solid #f0f0f0;
}

.fc .fc-daygrid-day-number{
    color:#424242;
    text-decoration:none;
    font-weight:700;
    font-size:12px;
}
.fc .fc-daygrid-day.fc-day-today{
    background-color:#0066cc2b;
}

.fc .fc-day-other.fc-daygrid-day {
    background-color: #f9f9f9;
}

/* Calendario Original */
.old-calendar {
    background: white;
    border-radius: 12px;
    padding: 20px 10px;
    margin-top: 20px;
    height: 250px;
    overflow: hidden;
}

.old-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.old-weekday {
    text-align: center;
    font-size: 12px;
    color: #737373;
    font-weight: 500;
}

.old-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 12px;
    width: 100%;
    grid-template-rows: repeat(7, 1fr);
}

.old-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #212529;
    font-weight: 400;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    cursor: pointer;
}

.old-calendar-day.old-other-month {
    color: #D9D9D9;
}

.old-calendar-day.old-reserved {
    color: white;
    background: #0066CC;
    border-radius: 50%;
}

.old-calendar-day.old-available {
    color: white;
    background: #00C853;
    border-radius: 50%;
}

.old-calendar-day.old-unavailable {
    color: white;
    background: #E0E0E0;
    border-radius: 50%;
}

.old-calendar-day.old-other-month.old-available {
    background: #00C853;
    opacity: 0.5;
}

.old-calendar-day.old-today {
    font-weight: 700;
}

/* Nuevo Calendario */
.calendar-view {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    
    margin-top: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.calendar-switch {
    display: flex;
    background: #0066CC;
    border-radius: 12px;
    padding: 4px;
}

.calendar-switch-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 300;
    color: #D9D9D9;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.calendar-switch-btn.active {
    background: white;
    color: #0066CC;
    font-weight: 700;
    border-radius: 12px;
}

.calendar-month {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: white;
    border-radius: 8px;
    color: #000;
    transition: background-color 0.2s;
}

.calendar-arrow:hover {
    background-color: #f5f5f5;
}

.calendar-today {
    padding: 8px 16px;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    transition: background-color 0.2s;
}

.calendar-today:hover {
    background: #f5f5f5;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
    text-align: center;
}

.calendar-weekdays div {
    color: #666;
    font-size: 14px;
    padding: 8px;
    font-weight: 500;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #f5f5f5;
    border: 1px solid #f0f0f0;
}

.calendar-day {
    background: white;
    min-height: 120px;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.calendar-day-number {
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
}

.calendar-day.other-month {
    background-color: #fafafa;
}

.calendar-day.other-month .calendar-day-number {
    color: #999;
}

.event-container {
    margin-top: 4px;
}

.event {
    background: #0066CC;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.event-time {
    font-weight: 500;
    margin-right: 4px;
}

.event-title {
    font-weight: 300;
}

.event-tag {
    background: #192 x 40;
    color: #0066CC;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.calendar-day:hover {
    background-color: #f8f8f8;
}

.event:hover {
    background: #0052a3;
}

/* Notificaciones */
.notifications {
    position: relative;
}

.notifications-modal {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    z-index: 1040;
    display: none;
}

.notifications-modal.show {
    display: block;
}

.notifications-modal::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
}

.notifications-title {
    font-size: 14px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 15px;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-dot {
    width: 30px;
    height: 30px;
    background: #D9D9D9;
    border-radius: 50%;
   
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 12px;
    color: #000;
    margin: 0;
    font-weight: 700;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: #707070;
    margin-top: 4px;
}
.notification-hour {
    font-size: 10px;
    color: #707070;
    margin-top: 4px;
}

/* Estilos para el formulario de reserva */
.reservation-form-container {
    background-color: #F5F5F5;
    padding: 20px;
}

.reservation-form {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
    box-shadow: none;
}

/* Título de información importante */
.form-section h2.info-title {
    color: #0066CC;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}


.reservation-form .form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: none;
    padding: 0;
    margin-bottom: 60px;
}

.reservation-form .form-section .inputs-container {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.reservation-form .form-section .form-group {
    flex: none;
    width: 215px;
}

.reservation-form .form-section label {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
}

.reservation-form .form-section .form-control {
    width: 215px;
    height: 48px;
    padding: 8px 12px;
    font-size: 12px;
    color: #737373;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.reservation-form .form-section .form-control::placeholder {
    color: #737373;
    font-size: 14px;
}

/* Estilos para los selects */
.select-section {
    margin-bottom: 40px;
}

.select-section h2 {
    color: #0066CC;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.select-section .form-control {
    height: 48px;

    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid #0066CC;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
    appearance: none;
    background-image: url("./assets/arrow-down-blue.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.select-section .form-control::placeholder {
    color: #737373;
    font-size: 14px;
}

/* Estilo específico para el select de experiencia (primero) */
.select-section.experiencia .form-control {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

.select-section.variable .form-control {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}




/* Estilos responsivos */
@media (max-width: 768px) {
    .reservation-form-container {
        padding: 15px;
    }

    .reservation-form {
        padding: 20px;
    }

    .row {
        /* margin-left: -10px;
        margin-right: -10px; */
    }

    .col-md-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .reservation-form .form-section .inputs-container{
        display: contents;
    }
    .reservation-form .form-section .inputs-container .form-group{
        width: 100%;
    }
    .reservation-form .form-section .inputs-container .form-group input{
        width: 100%;
    }
}

/* Estilos para la sección de datos del contingente */
.contingente-section {
    margin-top: 60px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contingente-section h2 {
    color: #0066CC;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.contingente-section .contingente-p {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
}
.contingente-section .form-group {
    margin-bottom: 0px;
}

.contingente-section label {
    display: block;
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
}

.contingente-section .form-control {
    height: 48px;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
}

.contingente-section .form-control::placeholder {
    color: #737373;
    font-size: 14px;
}

/* Estilos para los switches de discapacidad */
.disability-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
    width: 100%;
}

.disability-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.disability-group label {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.disability-buttons {
    display: flex;
    background: white;
   
    border-radius: 10px;
    padding: 4px;
    width: 190px;
}

.disability-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 300;
    color: #737373;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 91px;
}

.disability-btn.active {
    background: #0066CC;
    color: white;
    font-size: 12px;
    font-weight: 400;
    border-radius: 10px;
}

/* Grid layout para los campos */
.contingente-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Grid específico para la sección de alumnos */
.alumnos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.alumnos-grid .form-group {
    margin-bottom: 0;
}

.alumnos-grid .form-control {
    height: 48px;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
}

.alumnos-grid .form-control::placeholder {
    color: #737373;
    font-size: 14px;
}

.contingente-p {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.reserva-confirmation-check {
    display: flex;
    align-items:center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.reserva-confirmation-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0066CC;
    cursor: pointer;
    margin: 0;
    position: relative;
    top: 2px;
}
.reserva-confirmation-check label {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
 
}

.btn-reservar {
    background: #009FE3;
    color: white;
    border: none;
    border-radius: 10px;
    padding:8px 12px ;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reservar:hover {
    background: #0052a3;
}

.btn-reservar:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.sugerencia {
    text-align: center;
    color: #666666;
    font-size: 14px;
    margin: 20px 0;
}

.contingente-section .form-group.mb-4 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contingente-section .form-group.mb-4 label {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
}

.contingente-section .form-group.mb-4 .form-control {
    width: 100%;
    height: 48px;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
}

.contingente-section .form-group.mb-4 textarea.form-control {
    width: 665px;
    height: 125px;
    resize: none;
    margin: 0 auto;
    display: block;
}

.responsable-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.responsable-grid .form-group:last-child {
    grid-column: 1 / 2;
}

.responsable-grid .form-group {
    margin-bottom: 0;
}

.responsable-grid .form-control {
    width: 100%;
    height: 48px;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
}

.responsable-grid label {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
    display: block;
}

/* Media queries para el formulario de reserva */
@media (max-width: 768px) {
    .reservation-form-container {
        padding: 15px;
    }

    .contingente-section {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .responsable-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .responsable-grid .form-group:last-child {
        grid-column: auto;
    }

    .alumnos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .disability-options {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .disability-buttons {
        width: 100%;
        max-width: 300px;
    }

    .disability-btn {
        flex: 1;
        width: auto;
    }

    .contingente-section .form-group.mb-4 textarea.form-control {
        width: 100%;
        height: 125px;
    }

    .form-footer {
        padding: 0 15px;
    }

    .btn-reservar {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .reservation-form-container {
        padding: 10px;
    }

    .contingente-section {
        padding: 0 10px;
    }

    .contingente-p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 13px;
    }

    .disability-group label {
        font-size: 13px;
    }

    .disability-buttons {
        max-width: 250px;
    }

    .disability-btn {
        font-size: 12px;
        padding: 8px 12px;
    }

    .reserva-confirmation-check {
        text-align: center;
        font-size: 13px;
    }

    .sugerencia {
        font-size: 13px;
        margin: 15px 0;
    }

    .btn-reservar {
        font-size: 16px;
        padding: 10px;
        max-width: 250px;
    }
}

/* Media queries para la primera sección del formulario */
@media (max-width: 768px) {
    .reservation-form .form-section:first-child {
        gap: 15px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .reservation-form .form-section:first-child .inputs-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .reservation-form .form-section:first-child .form-group {
        width: 100%;
        max-width: 100%;
    }

    .reservation-form .form-section:first-child .form-control {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .reservation-form .form-section:first-child {
        gap: 10px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .reservation-form .form-section:first-child .inputs-container {
        gap: 12px;
    }

    .reservation-form .form-section:first-child label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .reservation-form .form-section:first-child .form-control {
        height: 44px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .reservation-form .form-section:first-child .form-control::placeholder {
        font-size: 12px;
    }
}

/* Estilos para la sección de detalle de reserva */
.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066CC;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    cursor: pointer;
}

.back-button i {
    font-size: 20px;
}

.detail-card-two {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* margin-bottom: 30px; */
    min-height: 450px;
    position: relative;
}

.detail-grid-container {
    display: grid;
    grid-template-columns: 1.5fr 1px 2fr;
    height: 100%;
}

.detail-left, .detail-right {
    padding: 30px;
    position: relative;
    height: 100%;
}


.detail-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.detail-header-left h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.detail-right h3 {
    margin: 0;
    margin-top: 5px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.detail-header-left .back-section {
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-header-left .back-section i {
    font-size: 20px;
    color: #0066CC;
    cursor: pointer;
}

.detail-header-left .agency-circle {
    width: 24px;
    height: 24px;
    background: #D9D9D9;
    border-radius: 50%;
}

.detail-header-left .agency-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.detail-actions {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 10px;
}

.detail-divider {
    width: 1px;
    height: 90%;
    margin-top: 20px;
    background: #D9D9D9;
}

.agency-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-size: 12px;
    color: #000000;
    font-weight: 400;
}
.detail-label-italic {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    font-style: italic;
}

.detail-label-bold {
    font-size: 12px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 0;
}


.detail-value {
    font-size: 12px;
    color: #000000;
    font-weight: 700;
}
.detail-value-bold {
    font-size: 16px;
    color: #000000;
    font-weight: 700;
}

.detail-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 30px;
}

.detail-btn {
    padding: 5px ;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-edit {
    background: #009FE3;
    color: white;
}

.btn-cancel {
    background: #FF0000;
    color: white;
} 



.reservation-states {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 48px;
    background: white;
    padding: 12px 24px;
    border-radius: 12px;
    margin-left: 0px;
    margin-right: -300px
}

.state-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.state-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.state-dot.blue {
    background-color: #0066CC;
}

.state-dot.green {
    background-color: #00CC66;
}

.state-dot.gray {
    background-color: #D9D9D9;
}

.state-item span:not(.state-dot) {
    font-size: 12px;
    color: #232323;
    font-weight: 600;
}


.detail-header-left .agency-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.detail-item.estado-item {
    margin-top: 20px;
}

.detail-item.estado-item .detail-label {
    font-weight: 700;
}

.detail-item .detail-time-two {
    font-size: 12px;
    color: #000000;
    font-weight: 400;
 margin-top: -10px;
}

.contingent-details {
    
}



.detail-item-compact {
    margin-bottom: 8px;
}

.detail-item-compact p {
    margin: 0;
    line-height: 1.2;
    font-size: 12px;
}

.detail-item-compact .detail-label {
    color: #000;
    font-weight: 600;
    
}

.detail-item-compact .detail-label span {
    font-weight: 400;
}

.detail-item-compact .detail-value {
    font-weight: 900;

}



.section-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.location-row .detail-item-compact {
    margin-bottom: 0;
    flex: 1;
}

.location-row .detail-item-compact p {
    white-space: nowrap;
}

.students-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.students-row .detail-item-compact {
    margin-bottom: 0;
    flex: 1;
}

.students-row .detail-item-compact p {
    white-space: nowrap;
}

/* Estilos para los modales de cancelación */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

/* .modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 452px;
    height: 228px;
    text-align: center;
    position: relative;
} */

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: 1px solid #737373;
    
    font-size: 28px;
    font-weight: 300;
    color: #737373;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    padding-bottom:3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #b3b3b3;
}

.modal-icon {
    margin-bottom: 0px;
}

.modal-icon i {
    font-size: 48px;
    color: #FF0000;
}

.modal-content h3 {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 30px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-secondary {
    background: #737373;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger {
    background: #FF0000;
    color: white;
    border: none;
    padding: 5px 10px ;
    border-radius:5px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #595959;
}

.btn-danger:hover {
    background: #cc0000;
}

.back-arrow {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.back-arrow:hover {
    transform: translateX(-3px);
}

.back-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-gradient-container .bi-pencil-square {
    color: #000;
    margin-left: 24px;
}

.header-gradient-container .d-flex {
    align-items: center;
}

.header-gradient-container .dashboard-title {
    margin: 0;
}

.edit-icon {
    width: 24px;
    height: 24px;
    margin-left: 24px;
}

/* Estilos para el formulario de agregar empresa */
.add-agency-form {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
}

.add-agency-form h2 {
    color: #0066CC;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
}

.agency-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agency-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.agency-form .form-group {
    margin: 0;
}

.agency-form label {
    display: block;
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 10px;
}

.agency-form .form-control {
    height: 48px;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #737373;
}

.agency-form .form-control::placeholder {
    color: #737373;
    font-size: 14px;
}

.file-upload-container {
    height: 48px;
    display: flex;
    align-items: center;
}

.btn-file-upload {
    height: 48px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    color: #737373;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.btn-guardar {
    background: #009FE3;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 154px;
    margin: 0 auto;
    display: block;
}

.btn-guardar:hover {
    background: #0085bf;
}

@media (max-width: 768px) {
    .add-agency-form {
        padding: 20px;
    }

    .agency-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Estilos específicos para la sección de credenciales y logo */
.credentials-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.credentials-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credential-input {
    margin: 0;
}

.logo-group .file-upload-container {
    height: 155px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
}

.logo-group .btn-file-upload {
    height: auto;
    width: auto;
    border: none;
    padding: 8px 16px;
}

@media (max-width: 768px) {
    .credentials-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-group .file-upload-container {
        height: 100px;
    }
}

/* Estilos para el listado de agencias */
.agencies-list-container {
    padding: 40px;
    background-color: #F5F5F5;
}

.agencies-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.entries-input {
    width: 45px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #D9D9D9;
    background-color: white;
    text-align: center;
    font-size: 12px;
    color: #737373;
    padding: 0;
}

.entries-input::placeholder {
    color: #737373;
}

.entries-input:focus {
    outline: none;
    border-color: #0066CC;
}

.entries-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entries-select span {
    color: #000;
    font-size: 12px;
    white-space: nowrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 650px;
    margin: 0 auto;
}

.search-input-two{
    height: 49px;
    padding: 8px 40px 8px 16px;
    font-size: 14px;
    border: 1px solid #0066CC;
    border-radius: 10px;
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.btn-agregar {
    background: #009FE3;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-agregar:hover {
    background: #0085bf;
    color: white;
}

/* Tabla de agencias */
.agencies-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 0 10px;
}

.agencies-table table {
    width: 100%;
    border-collapse: collapse;
}

.agencies-table th {
    background: white;
    color: #0066CC;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #0066CC;
}

.agencies-table td {
    padding: 20px;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    border-bottom: 1px solid #D9D9D9;
}

.agencies-table tr:last-child td {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.btn-edit, .btn-delete {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-edit img, .btn-delete img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-edit:hover img, .btn-delete:hover img {
    transform: scale(1.1);
}

/* Paginación */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 20px 0;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination button {
    min-width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #000;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pagination button.active {
    background: #0066CC;
    color: white;
    border-radius: 4px;
}

.pagination-arrow {
    font-size: 12px;
    color: #000;
}

.pagination-arrow.prev {
    margin-right: 4px;
}

.pagination-arrow.next {
    margin-left: 4px;
}

.pagination button:not(.active):hover {
    color: #0066CC;
}

/* Paginacion Bootstrap*/
.page-link {
    border: none;
    font-size: 13px;
    border-radius: 7px;
    color: #000;
    
}

.page-item.active .page-link {
    background-color: #0066CC !important;
    color: #fff;
}

@media (max-width: 1200px) {
    .agencies-controls {
        flex-wrap: wrap;
    }

    .search-container {
        order: -1;
        flex: 1 1 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .agencies-list-container {
        padding: 20px;
    }

    .agencies-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .entries-select {
        justify-content: flex-start;
    }

    .btn-agregar {
        align-self: stretch;
        text-align: center;
    }

    .agencies-table {
        overflow-x: auto;
    }

    .agencies-table table {
        min-width: 800px;
    }
}

.name-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-circle {
    width: 21px;
    height: 21px;
    background-color: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.name-header {
    padding-right: 0 !important;
}

.name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-circle {
    width: 21px;
    height: 21px;
    background-color: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-edit-agency {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-right: 8px;
    transition: opacity 0.3s ease;
}

.btn-edit-agency:hover {
    opacity: 0.7;
}

.btn-edit-agency img {
    width: 20px;
    height: 20px;
}

/* Estilos para los modales de eliminación */
.delete-modal,
.deleted-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.delete-modal.active,
.deleted-modal.active {
    display: flex;
}

.delete-modal-content,
.deleted-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 452px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.delete-modal-content {
    height: 228px;
}

.deleted-modal-content {
    height: 180px;
}

.delete-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D9D9D9;
    border: none;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delete-modal-close:hover {
    background: #b3b3b3;
}

.delete-icon {
    width: 32px;
    height: 32px;
}

.delete-modal-content h2,
.deleted-modal-content h2 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

.delete-modal-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.2;
    max-width: 300px;
}

.delete-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-no-delete,
.btn-si-delete {
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-no-delete {
    background: #737373;
  border: none;
    color: white;
}

.btn-si-delete {
    background: #FF0000;
    border: none;
    color: white;
}

.btn-no-delete:hover {
    background: #e8e8e8;
}

.btn-si-delete:hover {
    background: #ff1f1f;
}



.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.calendar-switch-two{
    display: flex;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 4px;
}

.calendar-switch-btn-two{
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #424242;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.calendar-switch-btn-two.active {
    background: white;
    color: #424242;
    font-weight: 700;
    border-radius: 12px;
}

.calendar-month {
    font-size: 16px;
    font-weight: 700;
    color: #424242;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.calendar-arrow {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #D9D9D9;
    background: white;
    border-radius: 8px;
    color: #000;
    transition: background-color 0.2s;
}

.calendar-arrow:hover {
    background-color: #f5f5f5;
}

.calendar-today {
    padding: 10px 25px;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color:white;
    background-color: #0066CC;
    transition: background-color 0.2s;
}

.calendar-today:hover {
    background: #f5f5f5;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
    text-align: center;
   
    background-color: #F9F9F9;
}

.calendar-weekdays div {
    color: #424242;
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
 
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #f5f5f5;
    border: 1px solid #f0f0f0;
    margin-top: -10px;
}

.calendar-day {
    background: white;
    min-height: 80px;
    padding: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.calendar-day-number {
    font-size: 12px;
    color: #000;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: right;
}

.calendar-day.other-month {
    background-color: #fafafa;
}

.calendar-day.other-month .calendar-day-number {
    color: #999;
}

.event-container {
    margin-top: 4px;
}

.event {
    background: linear-gradient(to bottom, #0066cc 0%, #0000AA 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.event-time {
    font-weight: 500;
    margin-right: 4px;
}

.event-title {
    font-weight: 300;
}

.event-tag {
    background: #192 x 40;
    color: #0066CC;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.calendar-day:hover {
    background-color: #f8f8f8;
}

.event:hover {
    background: #0052a3;
}



/* Estilos para el modal de eventos */
#eventModal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#eventModal.modal-overlay.active {
    display: flex;
}

/* #eventModal .modal-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    height: 338px;
    position: relative;
} */

#eventModal h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 4px;
    text-align: left;
    color: #000;
}

#eventModal p {
    color: #000;
    font-size: 10px;
    font-weight: 400;
    margin: 0;

    text-align: left;
   
}

#eventModal .event-cupos {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

#eventModal .event-cupos::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: linear-gradient(to bottom, #0066cc 0%, #0000AA 100%);
    border-radius: 50%;
}

#eventModal .event-reservas,
#eventModal .event-pendientes {
    margin-bottom: 24px;
}

#eventModal h4 {
    font-size: 10px;
    font-weight: 400;
    text-align: left;
    color: #000;
    margin: 0 0 12px 0;
}

.reserva-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    justify-content: space-between;
}

.reserva-item .agency-circle {
    width: 24px;
    height: 24px;
    background: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.reserva-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    font-size: 10px;
    text-align: left;
}

.empresa-nombre {
    font-size: 10px;
    color: #000;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.empresa-cupos {
    font-size: 10px;
    color: #000;
    font-weight: 700;
    display: block;
}

.reserva-item .btn-ver {
    padding:5px 8px;
    background: #737373;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    margin-left: auto;
}

.reserva-item .btn-ver:hover {
    background: #555555;
}

#eventModal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
  
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: background-color 0.2s;
}

#eventModal .modal-close:hover {
    background: #e5e5e5;
}

.btn-enviar-informe {
    background-color: #0099FF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s;
    display: block;
    align-self: flex-start;
}

.btn-enviar-informe:hover {
    background-color: #0088ee;
}

/* Estilos para la vista diaria */
.calendar-day-view {
    padding:0 40px;
}

.schedule-start {
    color: #737373;
    font-size: 12px;
    margin-bottom: 24px;
    padding-bottom: 10px;
    font-weight: 400;
    border-bottom: 1px solid #E5E5E5;
}


.time-slot {
    display: flex;
    gap: 24px;
    margin-bottom:22px;
    border-bottom: 1px solid #E5E5E5;
}

.time-slot:last-child {
    border-bottom: none;
}

.time-label {
    color: #737373;
    font-size: 12px;
    font-weight: 400;
    min-width: 80px;
}

.time-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.venue-section {
    margin-bottom: 24px;
}

.venue-section h3 {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.venue-info {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
}

.venue-left {
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.venue-middle {
    flex: 1;
    padding: 0 24px;

    min-width: 0;
}

.venue-right {
    min-width: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-shrink: 0;
    flex-direction: column;
}

.slots-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.available-slots {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(to bottom, #0066cc 0%, #0000AA 100%);
    padding: 4px 12px;
    border-radius: 4px;
}
.available-slots-green {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    background: #5CDD42;
    padding: 4px 12px;
    border-radius: 4px;
}
.available-slots-disabled {
    display: inline-flex;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    background: #D9D9D9;
    padding: 4px 12px;
    border-radius: 4px;
}
.btn-send-report {
    background-color: #0099FF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px ;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s;
    cursor: pointer;
    align-self: flex-start;
}
.btn-send-report-disabled{
    background-color:#8C8C8C;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px ;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.2s;
    cursor: pointer;
    align-self: flex-start;
}
.reservations {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.reservation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.company-avatar {
    width: 32px;
    height: 32px;
    background: #D9D9D9;
    border-radius: 50%;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-name {
    font-size: 14px;
    color: #000;
}

.reservation-status {
    font-size: 14px;
    color: #666666;
}

.btn-view-reservation {
    background:#009FE3;
    color: white;
    border: none;
    border-radius: 6px;
    padding:5px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 20px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    margin-bottom: 20px;
}

.company-avatar {
    width: 22px;
    height: 22px;
    background: #D9D9D9;
    border-radius: 50%;
    flex-shrink: 0;
}

.company-details {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 40px;
    flex: 1;
    
}

.company-name {
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.reservation-status {
    font-size: 12px;
    font-weight: 400;
    color: #000;
  
}

.reservation-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}



.reservations {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.time-events .venue-section {
    position: relative;
    padding: 24px 0;
    padding-top: 0;
}

.time-events .venue-section:not(:last-child) {
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 24px;
}

.venue-info {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
}
