/* hector.padilla */

.dp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

/* Modal */
.dp-modal {
    position: fixed;
    width: 320px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Header */
.dp-header {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
}

/* Content (scrolleable) */
.dp-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* Layout interno */
.dp-container {
    display: flex;
    gap: 10px;
}

/* Listas */
.dp-list {
    flex: 1;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Items */
.dp-item {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.dp-item:hover {
    background: #f0f0f0;
}

.dp-item.active {
    background: #007bff;
    color: #fff;
}

/* Footer fijo */
.dp-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    bottom: 0;
}

/* TH clickeable (mes / año) */
.panelCalendario .CalenMes {
    cursor: pointer;                 /* Manito */
    user-select: none;
    transition: 
        background-color .2s ease,
        box-shadow .2s ease,
        transform .1s ease;
}

/* Hover visual */
.panelCalendario .CalenMes:hover {
    background-color: #eef5ff;
    box-shadow: inset 0 -2px 0 #007bff;
}

/* Focus accesible (teclado) */
.panelCalendario .CalenMes:focus-visible {
    outline: none;
    box-shadow: 
        inset 0 -2px 0 #007bff,
        0 0 0 2px rgba(0, 123, 255, 0.3);
}

/* Click feedback */
.panelCalendario .CalenMes:active {
    transform: scale(0.98);
}

/* Aviso temporal */
.temp-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
    background: #007bff;
    color: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    z-index: 9999;
    font-size: 14px;
}

.temp-notice p {
    margin: 0 0 10px;
}

.temp-notice button {
    background: #fff;
    color: #007bff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}



