.limguecor-calendario-wrap {
    --lg-amarillo: #F5B301;
    --lg-naranja: #E8871E;
    --lg-verde: #2E9E5B;
    --lg-rojo: #D9483C;
    --lg-oscuro: #232323;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    padding: 20px;
    font-family: inherit;
}

.limguecor-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.limguecor-cal-header h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    color: var(--lg-oscuro) !important;
    text-transform: capitalize;
    font-weight: 700 !important;
}

.limguecor-cal-nav {
    background: var(--lg-amarillo);
    border: none;
    color: var(--lg-oscuro);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.limguecor-cal-nav:hover { background: var(--lg-naranja); color: #fff; }
.limguecor-cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.limguecor-cal-leyenda {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #555;
}
.leyenda-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.libre { background: var(--lg-verde); }
.dot.ocupado { background: var(--lg-rojo); }

.limguecor-cal-dias-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
}

.limguecor-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.limguecor-cal-dia {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    background: #F1FBF5;
    color: var(--lg-oscuro);
    border: 1px solid transparent;
    transition: transform 0.1s, background 0.2s;
}
.limguecor-cal-dia:hover { transform: scale(1.06); background: #DFF5E7; }

.limguecor-cal-dia.vacio { visibility: hidden; cursor: default; }
.limguecor-cal-dia.pasado {
    color: #ccc;
    background: transparent;
    cursor: not-allowed;
}
.limguecor-cal-dia.pasado:hover { transform: none; }

.limguecor-cal-dia.ocupado {
    background: #FBEAE8;
    color: var(--lg-rojo);
    cursor: not-allowed;
    text-decoration: line-through;
}
.limguecor-cal-dia.ocupado:hover { transform: none; background: #FBEAE8; }

.limguecor-cal-dia.hoy { border-color: var(--lg-naranja); font-weight: 700; }

/* Modal */
.limguecor-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}
.limguecor-modal[hidden] { display: none; }

.limguecor-modal-contenido {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    max-width: 380px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    box-sizing: border-box;
}

.limguecor-modal-cerrar {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem !important;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    box-shadow: none;
}

.limguecor-modal-contenido h4,
.limguecor-modal-contenido h4#limguecor-modal-titulo {
    margin: 0 0 16px !important;
    padding-right: 20px;
    color: var(--lg-oscuro) !important;
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#limguecor-modal-fecha {
    color: var(--lg-naranja) !important;
    font-size: inherit !important;
    font-weight: 700 !important;
}

.limguecor-modal-contenido label {
    display: block !important;
    font-size: 0.85rem !important;
    color: #555 !important;
    margin-bottom: 6px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

#limguecor-modal-servicio {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    margin-bottom: 18px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    background: #fff !important;
    color: var(--lg-oscuro) !important;
    height: auto !important;
    line-height: normal !important;
}

.limguecor-btn-whatsapp {
    width: 100%;
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: none !important;
    text-transform: none !important;
}
.limguecor-btn-whatsapp:hover { background: #1DA851 !important; }
