/*
// Theme colors:
Principal:
Secundario:
*/
body {
background: #AA529E;
background: linear-gradient(90deg, rgba(170, 82, 158, 1) 30%, rgba(149, 87, 162, 1) 49%, rgba(175, 184, 215, 1) 66%);
  margin: 0;
    font-family: "Montserrat", serif;
}

.form-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.form-control {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.offcanvas {
    background: #f4f5f7;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item button {
    background-color: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
}

.btn-primary, .btn-success {
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-success:hover {
    transform: translateY(-3px);
}

.col-md-6 {
    margin-top: 0%;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    margin-bottom: 0% !important;
}

/* Center spinner loading response */
#loadingIndicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
}

.edit {
    background-color:rgba(255, 246, 246, 0.521);
}

a {
    text-decoration: none;
    color: inherit;
}

.card {
  border: 1px solid #0000001c !important;
  margin-bottom: 0% !important;
}

/* Agenda responsive */
@media (max-width: 767.98px) {
  #agendaSponsor thead {
    display: none;
  }
  #agendaSponsor, #agendaSponsor tbody, #agendaSponsor tr, #agendaSponsor td {
    display: block;
    width: 100%;
  }
  #agendaSponsor tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    padding: 0.5rem;
  }
  #agendaSponsor td {
    text-align: left;
    padding-left: 0;
    position: relative;
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding-top: 2.2em;
  }
  #agendaSponsor td:before {
    position: absolute;
    left: 0.75rem;
    top: 0.3em;
    width: 95%;
    white-space: normal;
    font-weight: bold;
    content: attr(data-label);
    font-size: 1em;
    color: #333;
    padding-bottom: 0.5em;
    display: block;
  }
}

/* --- ELIMINADOS estilos no usados en agenda/index.php a partir de aquí --- */

/* Additional styles for the agenda section */
.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

#logosHeader {
    text-align: center;
    padding: 20px;
    background-color: #f0f8ff00;
}

#imgLogo {
    max-width: 50%;
}

@media screen and (max-width: 768px) {
    #imgLogo {
        max-width: 100%;
    }
    
}

.horario-disponible {
    color: #28a745;
    font-style: italic;
}

.horario-ocupado {
    font-weight: bold;
}

#btn-agendar {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

#horario-select {
    opacity: 0.6;
    pointer-events: none;
}

#horario-select.ready {
    opacity: 1;
    pointer-events: all;
}

.no-empresas {
    color: #dc3545;
    font-style: italic;
}

@media (max-width: 768px) {
    .table-responsive {
        margin: 0 -5px;
    }
    .agenda-table th, 
    .agenda-table td {
        padding: 8px 5px;
        font-size: 14px;
    }
}

/* Thead destacado para la agenda */
.agenda-thead th {
    background-color: #201f1f !important;
    color: #e5eaf1 !important;
    font-weight: bold;
    border-bottom: 2px solid #201f1f !important;
}

/* Filas alternas para la agenda */
.agenda-table.agenda-striped tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}
.agenda-table.agenda-striped tbody tr:nth-child(even) {
    background-color: #fff;
}

/* Mejorar la card de la agenda */
.agenda-card-body {
    padding-bottom: 0 !important;
    padding-top: 18px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Mejorar la tabla */
.agenda-table th, .agenda-table td {
    padding: 12px 10px;
    vertical-align: middle;
    text-align: center;
}

.container.mt-4 {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ffffffd9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}