/* ==========================================================================
   views/declaraciones.css — Estilos exclusivos de Declaraciones (declaraciones.html)
   Prefijo de clases: dc-
   ========================================================================== */

/* Tarjeta destacada: próxima declaración anual */
.dc-hero-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(140deg, #60A5FA 0%, #2563EB 55%, #1E3A8A 100%);
    box-shadow: 0 24px 48px -20px rgba(29, 78, 216, .55);
}
.dc-hero-card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, .08);
}
.dc-hero-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.dc-label { display: block; font-size: 12px; color: rgba(255, 255, 255, .78); }
.dc-hero-title { font-size: 19px; font-weight: 700; color: var(--white); line-height: 1.2; margin: 2px 0 4px; }

.dc-countdown {
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.dc-countdown strong { font-size: 28px; font-weight: 800; color: var(--white); }
.dc-countdown span { font-size: 11px; margin-top: 4px; color: rgba(255, 255, 255, .8); text-transform: uppercase; letter-spacing: .08em; }

.dc-progress { position: relative; z-index: 1; margin-top: 18px; }
.dc-progress-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; color: rgba(255, 255, 255, .8); }
.dc-progress-head b { color: var(--white); font-weight: 700; }
.dc-progress-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.dc-progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #A7F3D0, #FFFFFF);
    transition: width .5s var(--app-ease);
}

/* Checklist */
.dc-checklist { margin-top: 12px; display: grid; gap: 4px; }
.dc-checklist-title { font-size: 14px; font-weight: 700; color: var(--primary-base); margin-bottom: 6px; }
.dc-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--greyscale-200);
    cursor: pointer;
}
.dc-check:last-child { border-bottom: 0; }
.dc-check input { position: absolute; opacity: 0; pointer-events: none; }
.dc-check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 7px;
    border: 1.5px solid var(--greyscale-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all .2s var(--app-ease);
}
.dc-check input:checked + .dc-check-box {
    background: var(--c-blue);
    border-color: var(--c-blue);
    color: var(--white);
}
.dc-check-text b { display: block; font-size: 13.5px; font-weight: 600; color: var(--primary-base); }
.dc-check-text small { display: block; font-size: 12px; color: var(--greyscale-500); }
.dc-check input:checked ~ .dc-check-text b { color: var(--greyscale-500); text-decoration: line-through; }

/* Historial anual */
.dc-year-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dc-timeline .dc-year-row .ui-status { display: inline-flex; margin-top: 0; color: var(--c-green); }
.dc-timeline .dc-year-row .ui-status.is-warning { color: var(--c-orange); }
.dc-year-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 4px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--greyscale-50);
}
.dc-year-amount small { font-size: 12px; color: var(--greyscale-500); }
.dc-year-amount b { font-size: 15px; font-weight: 700; color: var(--primary-base); }

/* Opinión de cumplimiento */
.dc-opinion { display: flex; align-items: center; gap: 14px; }
.dc-opinion-seal {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(140deg, #4ADE80, #15803D);
    box-shadow: 0 0 0 6px var(--c-green-bg);
}
.dc-opinion-title { font-size: 15px; font-weight: 700; color: var(--primary-base); margin: 6px 0 2px; }

/* Acuses */
.dc-doc {
    width: 150px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--greyscale-100);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dc-doc .mod-item-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
.dc-doc p { font-size: 13.5px; font-weight: 600; color: var(--primary-base); line-height: 1.25; }
.dc-doc span:last-child { font-size: 11.5px; color: var(--greyscale-500); }
