.rs-calendario-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: sans-serif;
}

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

.rs-cal-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.rs-cal-header button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.rs-calendario {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.rs-calendario th,
.rs-calendario td {
    width: 14.28%;
    padding: 4px;
    border: 1px solid #ddd;
    vertical-align: top;
    text-align: center;
    min-height: 80px;
}

.rs-dia {
    padding: 4px;
}

.rs-numero {
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
}

.rs-franja {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    margin: 2px 1px;
    font-size: 0.75em;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.rs-libre {
    background-color: #3cb230;
}

.rs-ocupada {
    background-color: #d7263d;
}

.rs-vacio {
    background-color: #f9f9f9;
}

.rs-leyenda {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
}

.rs-leyenda-item {
    display: flex;
    align-items: center;
}

.rs-leyenda-item span {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 3px;
}

.rs-leyenda-item .rs-libre {
    background-color: #3cb230;
}

.rs-leyenda-item .rs-ocupada {
    background-color: #d7263d;
}
/* Modal Overlay */
.rs-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9999;
}

/* Modal Box */
.rs-modal-content {
    background: #fff;
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.rs-modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

#rs-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95em;
}

#rs-form input[type="text"],
#rs-form input[type="email"],
#rs-form input[type="tel"] {
    width: 100%;
    padding: 6px 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

.rs-form-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.rs-form-buttons button {
    padding: 8px 12px;
    font-size: 0.9em;
    cursor: pointer;
}
.rs-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    max-width: 400px;
    width: 90%;
    text-align: left;
    font-family: sans-serif;
}

.rs-modal-content label {
    display: block;
    margin: 10px 0 6px;
    font-weight: bold;
    color: #333;
}

.rs-modal-content input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.rs-modal-content button {
    margin-top: 15px;
    margin-right: 10px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

#rs-enviar {
    background-color: #28a745;
    color: #fff;
}

#rs-cancelar {
    background-color: #dc3545;
    color: #fff;
}

