/* CONTENEDOR GENERAL DE LOS CALENDARIOS */
.dcal-frontend-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 16px;
}

/* TARJETA DE CADA MES */
.dcal-month-card {
    width: 100%;
    max-width: 1420px;   /* MÁS ANCHO QUE ANTES (1320 → 1420) */
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 28px 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* TÍTULO DEL MES */
.dcal-month-title {
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center;
}

/* GRID DEL CALENDARIO */
.dcal-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px; /* más espacio entre casillas */
}

/* ENCABEZADOS */
.dcal-weekday-header {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    opacity: 0.9;
}

/* ===== CELDA ===== */
.dcal-day {
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px;
    min-height: 260px;     /* ⭐ MÁS ALTO (ANTES 230) ⭐ */
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Número del día */
.dcal-day-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-weight: 700;
    font-size: 22px;
    color: #000;
}

/* Monto */
.dcal-day-amount {
    margin-top: 32px;
    font-size: 26px;
    font-weight: 700;
    color: #1a4ea0;
}

/* Texto "Donado a:" */
.dcal-day-donated-label {
    margin-top: 10px;
    font-size: 16px;
    color: #6fa640;
    font-weight: 600;
}

/* Logo */
.dcal-logo-img {
    max-width: 110px;  /* ⭐ MÁS ANCHO Y ALTO ⭐ */
    margin-top: 14px;
    height: auto;
    border-radius: 10px;
}

/* ESTADOS */
.dcal-day.has-data {
    background: #ecfdf3;
}

.dcal-day.no-data {
    background: #f9fafb;
}

.dcal-day.empty {
    background: transparent;
    box-shadow: none;
}

/* Por confirmar */
.dcal-day-pending {
    margin-top: 60px;
    font-size: 22px;
    font-weight: 700;
    color: #2a5da8;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 1024px) {
    .dcal-month-card {
        padding: 24px;
    }
    .dcal-day {
        min-height: 210px;
    }
    .dcal-logo-img {
        max-width: 90px;
    }
}

@media (max-width: 768px) {
    .dcal-month-grid {
        gap: 8px;
    }
    .dcal-day {
        padding: 12px;
        min-height: 180px;
    }
    .dcal-logo-img {
        max-width: 75px;
    }
}

@media (max-width: 480px) {
    .dcal-month-card {
        padding: 16px;
    }
    .dcal-day {
        min-height: 150px;
        padding: 8px;
    }
    .dcal-logo-img {
        max-width: 60px;
    }
}
