body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.calendario {
    width: 80%;
    /* Ancho amplio idéntico a la segunda imagen */
    height: calc(100vh - 24px);
    /* Aprovecha casi el 100% de la pantalla vertical */
    background-color: #fff;
    box-sizing: border-box;
    border: 2px solid #3498db;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 12px auto;
    padding: 12px;

    /* Flexbox para adaptar la altura dinámicamente */
    display: flex;
    flex-direction: column;
}

.titulo-calendario {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin: 0 0 10px 0;
    background-color: #3498db;
    flex-shrink: 0;
    /* Mantiene el tamaño del título fijo */
}

/* El iframe ocupará todo el espacio vertical restante */
.calendario iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    border: 0;
}

#calendarMtto {
    border-color: #3498db;
}

#calendarMtto h2 {
    background-color: #3498db;
}

.floating-footer {
    position: fixed;
    bottom: 0.4rem;
    right: 1rem;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    /* text-xs */
    color: #64748b;
    /* text-slate-500 */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 10rem;
}

.floating-footer:hover {
    background-color: #ffffff;
    color: #334155;
    /* text-slate-700 */
}

.floating-footer-divider {
    height: 0.75rem;
    width: 1px;
    background-color: #cbd5e1;
    /* slate-300 */
}

.floating-footer-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    color: #475569;
    /* slate-600 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.floating-footer-link:hover {
    color: #4f46e5;
    /* indigo-600 */
}

.floating-footer-svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}