:root {
    --azul-1: #0b3d84;
    --azul-2: #0a4f9d;
    --azul-3: #124b8d;
    --azul-4: #0c3b72;
    --azul-texto: #17395e;
    --azul-soft: #e7eef8;
    --gris-borde: #c6d3e2;
    --gris-linea: #d6dfeb;
    --blanco-card: rgba(243, 247, 251, 0.94);
    --naranja-1: #f59b15;
    --naranja-2: #f27c00;
    --rojo-1: #ef5350;
    --rojo-2: #d32f2f;
    --verde-1: #4f9d6d;
    --verde-2: #3d7f57;
    --sombra: 0 10px 28px rgba(0, 0, 0, 0.16);
    --radio: 14px;
    --radio-sm: 10px;
    --alto-touch: 48px;
    --transicion: 0.18s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    min-height: 100%;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {background: #CED3E5;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--azul-texto);
    background: #CED3E5;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.evaluation-panel--fecha {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.date-card {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 252, 0.94) 100%);
    border: 1px solid #c7d4e2;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    padding: 18px 18px 16px;
}

.date-card__header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8e2ee;
}

.date-card__title {
    margin: 0 0 4px;
    color: #124b8d;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.date-card__text {
    margin: 0;
    color: #5f7898;
    font-size: 0.92rem;
    line-height: 1.45;
}

.date-field-wrap {
    width: 100%;
}

.date-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #17395e;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.date-badge__requerido {
    color: #d32f2f;
    font-weight: 900;
}

.date-input-shell {
    position: relative;
    width: 100%;
    border: 1px solid #c7d4e2;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 4px 10px rgba(16, 45, 85, 0.06);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.date-input-shell:focus-within {
    border-color: #d98f17;
    box-shadow:
        0 0 0 4px rgba(217, 143, 23, 0.12),
        0 8px 18px rgba(16, 45, 85, 0.10);
    transform: translateY(-1px);
}

.date-input-main {
    width: 100%;
    height: 56px;
    border: none;
    background: transparent;
    padding: 0 16px;
    color: #17395e;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

.date-input-main::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.9;
}

.date-helper {
    display: block;
    margin-top: 8px;
    color: #6a7f99;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.date-error-msg {
    display: none;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(211, 47, 47, 0.08);
    border: 1px solid rgba(211, 47, 47, 0.18);
    color: #b71c1c;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.date-error-msg.is-visible {
    display: block;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.month-badge--corregida {
    background-color: #e8f4f0; /* o el color que use tu tema */
    border: 1px solid #a8d5c2;
    color: #2a6b52;
}

@media (max-width: 480px) {
    .badges-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .patient-card__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
.btn-inicio {
    min-width: 112px;
    min-height: 42px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(180deg, #0b3d84 0%, #0a4f9d 100%);
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}
/* =========================
   TABLET / PANTALLAS MEDIANAS
========================= */
@media (max-width: 768px) {
    .topbar__title {
        padding-inline: clamp(90px, 24vw, 180px);
    }

    .topbar__logo--left img {
        max-height: clamp(48px, 8vw, 68px);
    }

    .topbar__logo--right img {
        max-height: clamp(42px, 7vw, 60px);
    }
}

/* =========================
   PANTALLAS MUY PEQUEÑAS
========================= */
@media (max-width: 480px) {
    .topbar__inner {
        min-height: auto;
        padding: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .topbar__logo {
        position: static;
        transform: none;
        justify-content: center;
    }

    .topbar__logo--right {
        display: none;
    }

    .topbar__title {
        padding-inline: 0;
        text-align: center;
    }
}


/* =========================
   LAYOUT
========================= */
.evaluation-page {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 18px 14px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.patient-card,
.evaluation-panel,
.completed-card,
.evaluation-toolbar,
.table-scroll-wrap,
.table-responsive,
.final-grid,
.info-grid,
.patient-stats,
.metrics-grid,
.study-summary {
    box-sizing: border-box;
}

.patient-card,
.evaluation-panel,
.completed-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.evaluation-toolbar,
.table-scroll-wrap,
.table-responsive,
.final-grid,
.info-grid,
.patient-stats,
.metrics-grid,
.study-summary {
    width: 100%;
    max-width: 100%;
}
/* =========================
   RESUMEN DEL PACIENTE
========================= */
.patient-card,
.evaluation-panel,
.completed-card {
    background: var(--blanco-card);
    border: 1px solid rgba(194, 206, 221, 0.96);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    backdrop-filter: blur(2px);
}

.patient-card {
    padding: 24px;
}

.patient-card__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.patient-card__eyebrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: #597597;
    margin-bottom: 6px;
}

.patient-card__name {
    font-size: 2rem;
    line-height: 1.15;
    color: var(--azul-3);
    font-weight: 800;
}

.month-badge,
.evaluation-toolbar__month {
    min-width: 150px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f2f6fb 0%, #e2ebf5 100%);
    border: 1px solid #c6d3e2;
    padding: 10px 14px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.month-badge span,
.evaluation-toolbar__month span {
    display: block;
    font-size: 0.82rem;
    color: #5e7898;
    font-weight: 700;
    margin-bottom: 4px;
}

.month-badge strong,
.evaluation-toolbar__month strong {
    display: block;
    color: var(--azul-3);
    font-size: 1.3rem;
    font-weight: 800;
}

.patient-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.patient-stat {
    background: #ffffff;
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}

.patient-stat__label {
    display: block;
    color: #5f7898;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.patient-stat__value {
    display: block;
    color: var(--azul-3);
    font-size: 1.35rem;
    font-weight: 800;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.info-card {
    background: #ffffff;
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 16px;
}

.info-card--wide {
    grid-column: 1 / -1;
}

.info-card__title {
    color: var(--azul-3);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.info-card__text {
    color: #4f6787;
    font-size: 0.95rem;
    line-height: 1.55;
}

.info-list {
    padding-left: 18px;
    color: #4f6787;
}

.info-list li {
    margin-bottom: 6px;
    line-height: 1.45;
    font-size: 0.95rem;
}

/* =========================
   TOOLBAR
========================= */
.evaluation-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.absence-form {
    margin: 0;
}

#btnFalta {
    min-width: 148px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--rojo-1) 0%, var(--rojo-2) 100%);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter var(--transicion), transform var(--transicion);
}

#btnFalta:hover {
    filter: brightness(1.03);
}

#btnFalta:active {
    transform: translateY(1px);
}

/* =========================
   FORM / PANELS
========================= */
.evaluation-form {
    display: grid;
    gap: 16px;
}

.evaluation-panel {
    padding: 20px;
}

.evaluation-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.evaluation-panel__header h2 {
    color: var(--azul-3);
    font-size: 1.45rem;
    font-weight: 800;
}

/* =========================
   TABLAS
========================= */
.table-scroll-wrap {
    position: relative;
    width: 100%;
}

.table-scroll-hint {
    display: none;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: var(--radio-sm);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: rgba(255, 255, 255, 0.15);
}

.table-responsive::-webkit-scrollbar {
    height: 14px;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(198, 211, 227, 0.95);
    border-radius: 20px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d89c17 0%, #b67b0a 100%);
    border-radius: 20px;
    border: 2px solid rgba(198, 211, 227, 0.95);
}

.evaluation-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: #ffffff;
    table-layout: fixed;
}

.evaluation-table--small {
    min-width: 980px;
}

/* MISMO ANCHO DE COLUMNAS EN AMBAS TABLAS */
.evaluation-table col.col-inciso {
    width: 68%;
}

.evaluation-table col.col-null,
.evaluation-table col.col-cero,
.evaluation-table col.col-uno,
.evaluation-table col.col-dos {
    width: 8%;
}
.evaluation-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 12px 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid #89a9cc;
    white-space: nowrap;
}

/* COLORES POR COLUMNA */
.evaluation-table thead th:nth-child(1) {
    background: linear-gradient(180deg, #124b8d 0%, #0c3b72 100%);
}

.evaluation-table thead th:nth-child(2) {
    background: linear-gradient(180deg, #aeb8c7 0%, #8f9cae 100%);
}

.evaluation-table thead th:nth-child(3) {
    background: linear-gradient(180deg, #4a86d8 0%, #2f6fcb 100%);
}

.evaluation-table thead th:nth-child(4) {
    background: linear-gradient(180deg, #4f9d6d 0%, #3e8058 100%);
}

.evaluation-table thead th:nth-child(5) {
    background: linear-gradient(180deg, #ee9b23 0%, #d98710 100%);
}
.evaluation-table thead th:first-child,
.evaluation-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}

.evaluation-table thead th:first-child {
    z-index: 4;
}

.evaluation-table tbody td:first-child {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.evaluation-table tbody td {
    border: 1px solid #c8d5e3;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
    vertical-align: middle;
}

.evaluation-table tbody tr:nth-child(even) td {
    background: #f1f5fa;
}

.evaluation-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    color: #27486f;
    background: #eef3f9;
}

.evaluation-table tbody tr:nth-child(even) td:first-child {
    background: #e6edf6;
}

/* =========================
   RADIOS BONITOS
========================= */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #9caec4;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: transform var(--transicion), border-color var(--transicion), background var(--transicion), box-shadow var(--transicion);
}

input[type="radio"]:hover {
    transform: scale(1.06);
}

input[type="radio"]:checked {
    box-shadow: 0 0 0 4px rgba(10, 79, 157, 0.10);
}

input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.55;
}

input[type="radio"][value="NULL"]:checked {
    background: #b6c4d4;
    border-color: #8ba0b6;
}

input[type="radio"][value="0"]:checked {
    background: #4a86d8;
    border-color: #2f6fcb;
}

input[type="radio"][value="1"]:checked {
    background: #4f9d6d;
    border-color: #3e8058;
}

input[type="radio"][value="2"]:checked {
    background: #ee9b23;
    border-color: #d98710;
}

/* =========================
   MÉTRICAS
========================= */
.metrics-grid,
.study-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.metric-card {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 12px 14px;
}

.metric-card label {
    display: block;
    color: #5d7897;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-card input[readonly] {
    width: 100%;
    height: 42px;
    border: 1px solid #c7d4e1;
    border-radius: 8px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--azul-3);
    font-size: 1rem;
    font-weight: 800;
    outline: none;
}

.metric-card--highlight {
    background: linear-gradient(180deg, #f2f6fb 0%, #e3edf7 100%);
}

.metric-card--accent {
    background: linear-gradient(180deg, rgba(21, 174, 245, 0.1) 0%, rgba(72, 182, 233, 0.1) 100%);
    border-color: rgba(0, 133, 242, 0.35);
}



/* =========================
   PANEL FINAL
========================= */
.final-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.observations-card {
    background: #ffffff;
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 14px;
}

.observations-card label {
    display: block;
    color: var(--azul-3);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.observations-card textarea {
    width: 100%;
    min-height: 170px;
    resize: vertical;
    border: 1px solid #c7d4e1;
    border-radius: 12px;
    background: #ffffff;
    padding: 14px 16px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #27486f;
    outline: none;
    transition: border-color var(--transicion), box-shadow var(--transicion);
}

.observations-card textarea:focus {
    border-color: #d98f17;
    box-shadow: 0 0 0 4px rgba(217, 143, 23, 0.12);
}

.form-submit {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.btn-primary {
    width: 100%;
    max-width: 360px;
    height: 54px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--naranja-1) 0%, var(--naranja-2) 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter var(--transicion), transform var(--transicion);
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* =========================
   COMPLETADO
========================= */
.completed-card {
    padding: 28px;
    text-align: center;
}

.completed-card h2 {
    color: var(--azul-3);
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.completed-card p {
    color: #5f7697;
    font-size: 1rem;
    line-height: 1.5;
}

/* =========================
   HINT TABLET
========================= */
.table-scroll-hint--tablet {
    display: none;
}

@media (min-width: 681px) and (max-width: 1024px) {
    .table-scroll-hint--tablet {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 8px;
        padding: 10px 12px;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(11, 61, 132, 0.96) 0%, rgba(10, 79, 157, 0.96) 100%);
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    }

    .table-scroll-hint__icon {
        font-size: 20px;
        animation: moverHorizontal 1.4s infinite ease-in-out;
    }
}

@keyframes moverHorizontal {
    0% { transform: translateX(0); opacity: 0.75; }
    25% { transform: translateX(-4px); opacity: 1; }
    50% { transform: translateX(0); opacity: 0.75; }
    75% { transform: translateX(4px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.75; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1180px) {
    .topbar__inner {
        grid-template-columns: 160px 1fr 96px;
    }

    .topbar__title h1 {
        font-size: 1.6rem;
    }

    .patient-card__name {
        font-size: 1.7rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-card--wide {
        grid-column: 1 / -1;
    }

    .final-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .topbar__inner {
        grid-template-columns: 130px 1fr 78px;
        min-height: 78px;
        padding: 10px 14px;
    }

    .topbar__logo--left img {
        max-height: 42px;
    }

    .topbar__logo--right img {
        max-height: 52px;
    }

    .topbar__title h1 {
        font-size: 1.3rem;
    }

    .evaluation-page {
        width: min(98%, 1420px);
        margin-top: 12px;
    }

    .patient-card,
    .evaluation-panel {
        padding: 16px;
    }

    .patient-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .patient-stats,
    .metrics-grid,
    .study-summary {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .evaluation-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .month-badge,
    .evaluation-toolbar__month,
    #btnFalta {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .topbar__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 8px;
        padding: 12px;
    }

    .topbar__logo--left,
    .topbar__logo--right {
        justify-content: center;
    }

    .topbar__logo--left img {
        max-height: 40px;
    }

    .topbar__logo--right img {
        max-height: 46px;
    }

    .topbar__title h1 {
        font-size: 1.15rem;
    }

    .evaluation-page {
        margin: 12px auto 24px;
    }

    .patient-card__name {
        font-size: 1.35rem;
    }

    .evaluation-panel__header h2 {
        font-size: 1.2rem;
    }

    .patient-stat__value {
        font-size: 1.15rem;
    }

    .evaluation-table thead th,
    .evaluation-table tbody td {
        padding: 10px 8px;
    }

    .evaluation-table thead th:first-child,
    .evaluation-table tbody td:first-child {
        min-width: 320px;
    }

    input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    .btn-primary,
    #btnFalta {
        height: 50px;
        font-size: 1rem;
    }

    .table-scroll-hint--tablet {
        display: none;
    }
}

.patient-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.patient-card__actions {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.month-badge {
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#btnFalta {
    min-width: 150px;
    height: auto;
    padding: 0 18px;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .patient-card__header {
        flex-direction: column;
        align-items: stretch;
    }

    .patient-card__actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 680px) {
    .patient-card__actions {
        flex-direction: column;
    }

    .month-badge,
    #btnFalta {
        width: 100%;
    }
}

.fila-cancelada-visual td,
.fila-cancelada-auditiva td {
    opacity: 0.55;
}

.fila-cancelada-visual td:first-child,
.fila-cancelada-auditiva td:first-child {
    text-decoration: line-through;
}

.evaluation-table input[type="radio"]:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.date-badge {
    min-width: 180px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff8ec 0%, #ffefd0 100%);
    border: 2px solid var(--naranja-2);
    padding: 10px 14px;
    text-align: center;
    box-shadow: 0 0 0 4px rgba(242, 124, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.date-badge span {
    display: block;
    font-size: 0.82rem;
    color: var(--naranja-2);
    font-weight: 700;
}

.date-badge__requerido {
    display: inline !important;
    font-size: 0.75rem;
    color: var(--rojo-1);
    font-weight: 700;
    margin-left: 4px;
}

.date-badge input[type="date"] {
    width: 100%;
    height: 38px;
    border: 2px solid var(--naranja-2);
    border-radius: 8px;
    padding: 0 10px;
    background: #ffffff;
    color: var(--azul-3);
    font-size: 0.95rem;
    font-weight: 800;
    outline: none;
    cursor: pointer;
    text-align: center;
    transition: border-color var(--transicion), box-shadow var(--transicion);
}

.date-badge input[type="date"]:focus {
    border-color: var(--naranja-1);
    box-shadow: 0 0 0 4px rgba(242, 124, 0, 0.18);
}

.date-badge input[type="date"]:valid {
    border-color: var(--verde-1);
    background: linear-gradient(180deg, #f2fff7 0%, #e6f9ee 100%);
    color: var(--verde-2);
}

@media (max-width: 900px) {
    .date-badge {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .date-badge {
        width: 100%;
    }
}