/* ==========================================================================
   NeoLab - Centro Médico Login Styles
   ========================================================================== */

/* Variables CSS */
:root {
    --neolab-primary: #003366;
    --neolab-secondary: #ffcc00;
    --neolab-text-dark: #333333;
    --neolab-text-light: #666666;
    --neolab-white: #ffffff;
    --neolab-shadow-light: rgba(0, 0, 0, 0.1);
    --neolab-shadow-medium: rgba(149, 146, 156, 0.3);
    --neolab-shadow-dark: rgba(3, 27, 78, 0.3);
}

/* Fuente Nunito */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&family=Inter:wght@500&display=swap');

/* =====================================================================
   Centro Médico - Home (responsive/zoom polishing)
   Keep scoped to avoid touching other modules.
   ===================================================================== */

/* Hero slider: ensure no horizontal overflow and consistent sizing */
.cm-home [data-role="track"] {
    touch-action: pan-y;
}

.cm-home .dot[aria-current="true"] {
    width: 20px;
}

.cm-home .dot[aria-current="false"] {
    width: 10px;
}

/* Convenios page (scoped) */
.cm-convenios .cm-convenios-titlebar {
    min-height: 700px;
}

.cm-convenios .cm-convenios-titlebar-main {
    min-height: 700px;
    padding-top: 135px;
}

.cm-convenios .cm-convenios-title {
    font-size: 56px;
    line-height: 1.05;
}

@media (max-width: 1200px) {
    .cm-convenios .cm-convenios-titlebar,
    .cm-convenios .cm-convenios-titlebar-main {
        min-height: 560px;
    }

    .cm-convenios .cm-convenios-titlebar-main {
        padding-top: 112px;
    }

    .cm-convenios .cm-convenios-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .cm-convenios .cm-convenios-titlebar,
    .cm-convenios .cm-convenios-titlebar-main {
        min-height: 500px;
    }

    .cm-convenios .cm-convenios-title {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    .cm-convenios .cm-convenios-titlebar,
    .cm-convenios .cm-convenios-titlebar-main {
        min-height: 420px;
    }

    .cm-convenios .cm-convenios-titlebar-main {
        padding-top: 84px;
    }

    .cm-convenios .cm-convenios-title {
        font-size: 36px;
        line-height: 42px;
    }
}

@media (max-width: 479px) {
    .cm-convenios .cm-convenios-titlebar,
    .cm-convenios .cm-convenios-titlebar-main {
        min-height: 320px;
    }

    .cm-convenios .cm-convenios-title {
        font-size: 32px;
        line-height: 38px;
    }
}

/* Auspiciados page (scoped) */
.cm-auspiciados .cm-auspiciados-titlebar {
    min-height: 700px;
}

.cm-auspiciados .cm-auspiciados-titlebar-main {
    min-height: 700px;
    padding-top: 135px;
}

.cm-auspiciados .cm-auspiciados-title {
    font-size: 56px;
    line-height: 1.05;
}

@media (max-width: 1200px) {
    .cm-auspiciados .cm-auspiciados-titlebar,
    .cm-auspiciados .cm-auspiciados-titlebar-main {
        min-height: 560px;
    }

    .cm-auspiciados .cm-auspiciados-titlebar-main {
        padding-top: 112px;
    }

    .cm-auspiciados .cm-auspiciados-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .cm-auspiciados .cm-auspiciados-titlebar,
    .cm-auspiciados .cm-auspiciados-titlebar-main {
        min-height: 500px;
    }

    .cm-auspiciados .cm-auspiciados-title {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    .cm-auspiciados .cm-auspiciados-titlebar,
    .cm-auspiciados .cm-auspiciados-titlebar-main {
        min-height: 420px;
    }

    .cm-auspiciados .cm-auspiciados-titlebar-main {
        padding-top: 84px;
    }

    .cm-auspiciados .cm-auspiciados-title {
        font-size: 36px;
        line-height: 42px;
    }
}

@media (max-width: 479px) {
    .cm-auspiciados .cm-auspiciados-titlebar,
    .cm-auspiciados .cm-auspiciados-titlebar-main {
        min-height: 320px;
    }

    .cm-auspiciados .cm-auspiciados-title {
        font-size: 32px;
        line-height: 38px;
    }
}

/* Noticias page (scoped) */
.cm-noticias .cm-noticias-titlebar {
    min-height: 700px;
}

.cm-noticias .cm-noticias-titlebar-main {
    min-height: 700px;
    padding-top: 135px;
}

.cm-noticias .cm-noticias-title {
    font-size: 56px;
    line-height: 1.05;
}

.cm-noticias .cm-noticias-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.cm-noticias .cm-noticias-feed {
    display: grid;
    gap: 1.75rem;
}

.cm-noticias .cm-noticia-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 30px -24px rgba(15, 23, 42, 0.65);
}

.cm-noticias .cm-noticia-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
}

.cm-noticias .cm-noticia-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cm-noticias .cm-noticia-card:hover .cm-noticia-media img {
    transform: scale(1.02);
}

.cm-noticias .cm-noticia-datebadge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 64px;
    border-radius: 10px;
    background: #0b3466;
    color: #fff;
    text-align: center;
    box-shadow: 0 12px 28px -16px rgba(2, 6, 23, 0.85);
    overflow: hidden;
}

.cm-noticias .cm-noticia-date-day {
    display: block;
    padding: 10px 6px 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.cm-noticias .cm-noticia-date-month {
    display: block;
    padding: 5px 6px 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-noticias .cm-noticia-body {
    padding: 1.2rem 1.25rem 1.35rem;
}

.cm-noticias .cm-noticia-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
    font-size: 13px;
    color: #64748b;
}

.cm-noticias .cm-noticia-meta a {
    color: #0f5ca6;
    text-decoration: none;
}

.cm-noticias .cm-noticia-meta a:hover {
    text-decoration: underline;
}

.cm-noticias .cm-noticia-title {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.25;
}

.cm-noticias .cm-noticia-title a {
    color: #031b4e;
    text-decoration: none;
}

.cm-noticias .cm-noticia-title a:hover {
    color: #0369a1;
}

.cm-noticias .cm-noticia-excerpt {
    margin: 0.85rem 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.cm-noticias .cm-noticia-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

.cm-noticias .cm-noticia-readmore {
    color: #0f5ca6;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.cm-noticias .cm-noticia-readmore:hover {
    color: #075985;
}

.cm-noticias .cm-noticia-author {
    font-size: 13px;
    color: #64748b;
}

.cm-noticias .cm-noticias-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.cm-noticias .cm-page {
    min-width: 2rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    text-align: center;
    font-size: 13px;
    text-decoration: none;
}

.cm-noticias .cm-page.current {
    border-color: #0b3466;
    background: #0b3466;
    color: #fff;
}

.cm-noticias .cm-page.dots {
    border-color: transparent;
    background: transparent;
    min-width: auto;
    padding-inline: 0.2rem;
}

.cm-noticias .cm-page.next {
    padding-inline: 0.85rem;
}

.cm-noticias .cm-page:hover {
    border-color: #0b3466;
    color: #0b3466;
}

.cm-noticias .cm-noticias-sidebar {
    display: grid;
    gap: 1.25rem;
}

.cm-noticias .cm-noticias-widget {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem;
}

.cm-noticias .cm-noticias-widget-title {
    margin: 0 0 0.8rem;
    color: #031b4e;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
}

.cm-noticias .cm-noticias-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.cm-noticias .cm-noticias-search-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 0.7rem;
    color: #334155;
    font-size: 14px;
}

.cm-noticias .cm-noticias-search-input:focus {
    outline: 2px solid rgba(14, 116, 144, 0.2);
    border-color: #0e7490;
}

.cm-noticias .cm-noticias-search-button {
    min-height: 42px;
    border: 1px solid #0b3466;
    background: #0b3466;
    color: #fff;
    padding-inline: 0.9rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
}

.cm-noticias .cm-noticias-search-button:hover {
    background: #0a2d58;
}

.cm-noticias .cm-noticias-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cm-noticias .cm-noticias-category-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    border-top: 1px solid #e2e8f0;
    padding-block: 0.52rem;
}

.cm-noticias .cm-noticias-category-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.cm-noticias .cm-noticias-category-list a {
    color: #0f5ca6;
    text-decoration: none;
    font-size: 14px;
}

.cm-noticias .cm-noticias-category-list a:hover {
    text-decoration: underline;
}

.cm-noticias .cm-noticias-category-list span {
    color: #64748b;
    font-size: 13px;
}

.cm-noticias .cm-noticias-latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.cm-noticias .cm-noticias-latest-list li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.65rem;
    align-items: start;
}

.cm-noticias .cm-noticias-latest-thumb {
    display: block;
    width: 72px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e2e8f0;
}

.cm-noticias .cm-noticias-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-noticias .cm-noticias-latest-title {
    display: inline-block;
    color: #031b4e;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
}

.cm-noticias .cm-noticias-latest-title:hover {
    color: #0369a1;
}

.cm-noticias .cm-noticias-latest-date {
    display: block;
    margin-top: 0.35rem;
    font-size: 12px;
    color: #64748b;
}

.cm-noticias .cm-noticias-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cm-noticias .cm-noticias-tags a {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    padding: 0.3rem 0.55rem;
    font-size: 12px;
    text-decoration: none;
}

.cm-noticias .cm-noticias-tags a:hover {
    border-color: #0b3466;
    color: #0b3466;
}

@media (min-width: 1024px) {
    .cm-noticias .cm-noticias-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        gap: 2.15rem;
    }

    .cm-noticias .cm-noticia-body {
        padding-inline: 1.4rem;
    }
}

@media (max-width: 1200px) {
    .cm-noticias .cm-noticias-titlebar,
    .cm-noticias .cm-noticias-titlebar-main {
        min-height: 560px;
    }

    .cm-noticias .cm-noticias-titlebar-main {
        padding-top: 112px;
    }

    .cm-noticias .cm-noticias-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .cm-noticias .cm-noticias-titlebar,
    .cm-noticias .cm-noticias-titlebar-main {
        min-height: 500px;
    }

    .cm-noticias .cm-noticias-title {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    .cm-noticias .cm-noticias-titlebar,
    .cm-noticias .cm-noticias-titlebar-main {
        min-height: 420px;
    }

    .cm-noticias .cm-noticias-titlebar-main {
        padding-top: 84px;
    }

    .cm-noticias .cm-noticias-title {
        font-size: 36px;
        line-height: 42px;
    }

    .cm-noticias .cm-noticia-title {
        font-size: 25px;
    }
}

@media (max-width: 479px) {
    .cm-noticias .cm-noticias-titlebar,
    .cm-noticias .cm-noticias-titlebar-main {
        min-height: 320px;
    }

    .cm-noticias .cm-noticias-title {
        font-size: 32px;
        line-height: 38px;
    }

    .cm-noticias .cm-noticia-datebadge {
        width: 56px;
    }

    .cm-noticias .cm-noticia-date-day {
        font-size: 23px;
    }
}

/* Contactos page (scoped) */
.cm-contactos .cm-contactos-titlebar {
    min-height: 700px;
}

/* Tourism - Destinos carousel fine-tuning (scoped overrides) */
.destinos-section .carousel-track {
    gap: 24px;
    animation-duration: 32s;
}

.destinos-section .carousel-img {
    width: 9rem;
    height: 6.5rem;
    border-radius: 0.85rem;
}

@media (max-width: 1024px) {
    .destinos-section .carousel-track {
        gap: 20px;
        animation-duration: 36s;
    }

    .destinos-section .carousel-img {
        width: 8rem;
        height: 6rem;
    }
}

@media (max-width: 768px) {
    .destinos-section .carousel-track {
        gap: 16px;
        animation-duration: 40s;
    }

    .destinos-section .carousel-img {
        width: 7rem;
        height: 5.25rem;
    }
}

@media (max-width: 480px) {
    .destinos-section .carousel-track {
        gap: 14px;
        animation-duration: 46s;
    }

    .destinos-section .carousel-img {
        width: 5.75rem;
        height: 4.5rem;
        border-radius: 0.65rem;
    }
}

.cm-contactos .cm-contactos-titlebar-main {
    min-height: 700px;
    padding-top: 135px;
}

.cm-contactos .cm-contactos-title {
    font-size: 56px;
    line-height: 1.05;
}

.cm-contactos .cm-contactos-main {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.cm-contactos .cm-contactos-heading {
    margin: 0;
    color: #031b4e;
    font-size: 35px;
    font-weight: 300;
    line-height: 1.2;
}

.cm-contactos .cm-contactos-intro {
    margin: 1rem 0 1.1rem;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    max-width: 720px;
}

.cm-contactos .cm-contactos-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-block: 0.8rem 1rem;
}

.cm-contactos .cm-contactos-tab {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    padding: 0.46rem 0.9rem;
    font-size: 14px;
    line-height: 1.25;
    transition: all 0.2s ease;
}

.cm-contactos .cm-contactos-tab:hover {
    border-color: #0b3466;
    color: #0b3466;
}

.cm-contactos .cm-contactos-tab.is-active {
    border-color: #0b3466;
    background: #0b3466;
    color: #fff;
}

.cm-contactos .cm-contactos-panel {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem;
}

.cm-contactos .cm-contactos-info-grid {
    display: grid;
    gap: 0.85rem;
}

.cm-contactos .cm-contactos-info-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.8rem;
}

.cm-contactos .cm-contactos-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #9ec4e8;
    background: #ebf5ff;
    color: #0f5ca6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cm-contactos .cm-contactos-info-icon svg {
    width: 18px;
    height: 18px;
}

.cm-contactos .cm-contactos-info-title {
    margin: 0;
    color: #031b4e;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.cm-contactos .cm-contactos-info-line {
    margin: 0.3rem 0 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.cm-contactos .cm-contactos-form {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem;
}

.cm-contactos .cm-contactos-form-grid {
    display: grid;
    gap: 0.75rem;
}

.cm-contactos .cm-contactos-form-full {
    grid-column: 1 / -1;
}

.cm-contactos .cm-contactos-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #fff;
    padding: 0.65rem 0.75rem;
    font-size: 14px;
}

.cm-contactos .cm-contactos-input::placeholder {
    color: #94a3b8;
}

.cm-contactos .cm-contactos-input:focus {
    outline: 2px solid rgba(14, 116, 144, 0.2);
    border-color: #0e7490;
}

.cm-contactos .cm-contactos-textarea {
    min-height: 155px;
    resize: vertical;
}

.cm-contactos .cm-contactos-submit {
    min-height: 44px;
    border: 1px solid #0b3466;
    background: #0b3466;
    color: #fff;
    padding-inline: 1rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.cm-contactos .cm-contactos-submit:hover {
    background: #0a2d58;
}

.cm-contactos .cm-contactos-map-shell {
    border: 1px solid #e2e8f0;
    background: #fff;
    margin-top: 0.75rem;
    overflow: hidden;
}

.cm-contactos .cm-contactos-map {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

@media (min-width: 640px) {
    .cm-contactos .cm-contactos-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 1024px) {
    .cm-contactos .cm-contactos-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.15rem;
    }

    .cm-contactos .cm-contactos-form {
        padding: 1rem 1.05rem;
    }
}

@media (max-width: 1200px) {
    .cm-contactos .cm-contactos-titlebar,
    .cm-contactos .cm-contactos-titlebar-main {
        min-height: 560px;
    }

    .cm-contactos .cm-contactos-titlebar-main {
        padding-top: 112px;
    }

    .cm-contactos .cm-contactos-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .cm-contactos .cm-contactos-titlebar,
    .cm-contactos .cm-contactos-titlebar-main {
        min-height: 500px;
    }

    .cm-contactos .cm-contactos-title {
        font-size: 40px;
        line-height: 50px;
    }

    .cm-contactos .cm-contactos-heading {
        font-size: 31px;
    }

    .cm-contactos .cm-contactos-map {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .cm-contactos .cm-contactos-titlebar,
    .cm-contactos .cm-contactos-titlebar-main {
        min-height: 420px;
    }

    .cm-contactos .cm-contactos-titlebar-main {
        padding-top: 84px;
    }

    .cm-contactos .cm-contactos-title {
        font-size: 36px;
        line-height: 42px;
    }

    .cm-contactos .cm-contactos-heading {
        font-size: 28px;
    }

    .cm-contactos .cm-contactos-map {
        height: 360px;
    }
}

@media (max-width: 479px) {
    .cm-contactos .cm-contactos-titlebar,
    .cm-contactos .cm-contactos-titlebar-main {
        min-height: 320px;
    }

    .cm-contactos .cm-contactos-title {
        font-size: 32px;
        line-height: 38px;
    }

    .cm-contactos .cm-contactos-heading {
        font-size: 25px;
    }

    .cm-contactos .cm-contactos-map {
        height: 320px;
    }
}

/* --- ContactForm missing utilities --- */
.bg-gray-50 { background-color: var(--color-gray-50, #f9fafb); }
.bg-green-400 { background-color: var(--color-green-400, #4ade80); }
.min-h-32 { min-height: 8rem; }
.resize-y { resize: vertical; }
.text-8xl { font-size: 6rem; line-height: 1; }
.font-\['Playfair_Display'\] { font-family: 'Playfair Display'; }

.focus-visible\:border-primary:focus-visible { border-color: var(--primary); }
.focus-visible\:ring-primary\/30:focus-visible {
    --tw-ring-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--primary) 30%, transparent);
    }
    --tw-ring-shadow: 0 0 0 calc(2px + var(--tw-ring-offset-width, 0px)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus-visible\:ring-primary\/40:focus-visible {
    --tw-ring-color: var(--primary);
    @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--primary) 40%, transparent);
    }
    --tw-ring-shadow: 0 0 0 calc(2px + var(--tw-ring-offset-width, 0px)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

@media (min-width: 40rem) {
    .sm\:mt-6 { margin-top: calc(var(--spacing) * 6); }
    .sm\:text-lg {
        font-size: var(--text-lg);
        line-height: var(--tw-leading, var(--text-lg--line-height));
    }
    .sm\:text-6xl {
        font-size: var(--text-6xl);
        line-height: var(--tw-leading, var(--text-6xl--line-height));
    }
}

@media (min-width: 48rem) {
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* Login (minimal: only truly unique combos and pseudo-selectors) */
.cm-login-left-panel {
    width: 50%;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background: rgba(0, 51, 102, 0.8);
}

.cm-login-info-icon {
    width: 75px;
    height: 75px;
    border-color: #003366;
    background: #003366;
}

.cm-input::placeholder {
    color: rgba(51, 51, 51, 0.8);
}

.cm-input:focus {
    border-color: #ffcc00;
    box-shadow: -5px 2px 12px 0 rgba(0, 51, 102, 0.2);
}

/* ==========================================================================
   NeoLab - Dashboard Cliente Styles
   ========================================================================== */

/* Dashboard Layout — only unique: bg-color + font-family */

/* Sidebar Navigation — only unique: hover/active bg + transition */
.neolab-nav-item {
    transition: background-color 0.2s ease;
}

.neolab-nav-item:hover {
    background: rgba(0, 51, 102, 0.1);
}

.neolab-nav-item.active {
    background: rgba(0, 51, 102, 0.2);
}

.neolab-nav-text {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
}

.neolab-nav-item:not(.active) .neolab-nav-icon {
    color: #6b7280;
}

/* Sidebar Footer — only unique: border */
.neolab-sidebar-footer {
    border-top: 0.8px solid #e5e7eb;
}

.neolab-user-name {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
}

.neolab-user-email {
    font-family: 'Inter', sans-serif;
    color: #6b7280;
}

/* Top Header — only unique: bg + shadow */
.neolab-top-header {
    background: #ffffff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.neolab-menu-btn {
    transition: background-color 0.2s ease;
}

.neolab-menu-btn:hover {
    background: rgba(0, 51, 102, 0.1);
}

/* Notification */
.neolab-notification-btn {
    background: var(--neolab-primary);
    transition: transform 0.2s ease;
}

.neolab-notification-btn:hover {
    transform: scale(1.05);
}

.neolab-notification-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.neolab-notification-badge {
    background: #ef4444;
    font-family: 'Nunito', sans-serif;
}

/* Welcome Banner — only unique: shadow */
.neolab-welcome-banner {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.neolab-welcome-text {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
    text-shadow: -5px 5px 8px rgba(210, 217, 223, 0.5), 0px 4px 4px rgba(0, 0, 0, 0.2);
}

/* Stats Cards — only unique: bg + border + shadow */
.neolab-stat-card {
    background: #f5f6fa;
    border: 1px solid #f5f6fa;
    box-shadow: 0px 4px 4px rgba(43, 42, 42, 0.25), -10px 10px 10px rgba(3, 27, 78, 0.6);
}

.neolab-stat-label {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
}

.neolab-stat-value {
    font-family: 'Inter', sans-serif;
    color: #333333;
}

.neolab-stat-icon {
    background: #e8e6ed;
    border: 2px solid #1658a4;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -7px -7px 15px white, 10px 10px 20px #d1cfd5;
}

.neolab-stat-icon img {
    width: 72px;
    height: 40px;
    object-fit: contain;
}

/* Orders Card — only unique: bg + shadow */
.neolab-orders-card {
    background: rgba(245, 246, 250, 0.5);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -5px 10px 10px rgba(0, 0, 0, 0.15);
}

/* Section Title — only unique: font + color + text-shadow */
.neolab-section-title {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.2);
}

/* Chart — only unique: font + color */
.neolab-chart-percentage {
    font-family: 'Inter', sans-serif;
    color: #333333;
}

.neolab-chart-percentage.primary {
    color: var(--neolab-primary);
}

.neolab-chart-info h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--neolab-primary);
    margin: 0;
}

.neolab-chart-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333333;
    margin: 4px 0 0 0;
}

/* Summary Chart — only unique: exact sizes + colors */
.neolab-summary-chart-outer {
    border: 1px solid #b8bad4;
}

.neolab-summary-chart-inner {
    background: #e6e2ed;

}

.neolab-summary-chart-data {
    background: #e6e2ed;
}

.neolab-summary-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--neolab-primary);
}

.neolab-summary-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #000970;
}

/* Recent Orders — only unique: bg + shadow */
.neolab-recent-orders {
    background: rgba(245, 246, 250, 0.5);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -5px 10px 10px rgba(0, 0, 0, 0.15);
}

/* Orders Table — only unique: font + color + borders */
.neolab-orders-table th {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--neolab-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    padding: 16px 24px;
}

.neolab-orders-table td {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333333;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.neolab-orders-table .amount {
    font-weight: 600;
}

/* Status Badges — only unique: font + state colors */
.neolab-status-badge {
    font-family: 'Inter', sans-serif;
}

.neolab-status-badge.completed {
    background: #10b981;
}

.neolab-status-badge.pending {
    background: #f59e0b;
}

.neolab-status-badge.processing {
    background: #3b82f6;
}

/* Results Card — only unique: bg + shadow */
.neolab-results-card {
    background: rgba(245, 246, 250, 0.5);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), -5px 10px 10px rgba(0, 0, 0, 0.15);
}

.neolab-results-title-text {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
    text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.2);
}

.neolab-calendar-label {
    font-family: 'Inter', sans-serif;
    color: #333333;
}

/* Calendar — only unique: bg + shadow + hover + state colors */
.neolab-calendar-btn {
    background: white;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.neolab-calendar-btn:hover {
    background: #f3f4f6;
}

.neolab-calendar-month {
    font-family: 'Inter', sans-serif;
    color: var(--neolab-primary);
}

.neolab-calendar-day-header {
    font-family: 'Inter', sans-serif;
    color: #6b6b6b;
}

.neolab-calendar-day {
    font-family: 'Nunito', sans-serif;
    color: #2d2d2d;
    transition: background-color 0.2s ease;
}

.neolab-calendar-day:hover {
    background: #f3f4f6;
}

.neolab-calendar-day.highlight {
    background: #f0f0f0;
    color: #4318d1;
}

.neolab-calendar-day.empty {
    cursor: default;
}

/* Legend dots — only unique: state colors */
.neolab-legend-dot.completed {
    background: #10b981;
}

.neolab-legend-dot.pending {
    background: #f59e0b;
}

.neolab-legend-dot.processing {
    background: #3b82f6;
}

.neolab-legend-text {
    font-family: 'Inter', sans-serif;
    color: #6b6b6b;
}

/* Responsive Dashboard */
@media (max-width: 1280px) {
    .neolab-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .neolab-sidebar {
        width: 0;
        overflow: hidden;
        transition: width 0.3s ease;
    }
    
    .neolab-sidebar.open {
        width: 256px;
    }
    
    .neolab-stat-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .neolab-welcome-text {
        font-size: 28px;
    }
    
    .neolab-orders-table {
        display: block;
        overflow-x: auto;
    }
    
    .neolab-calendar-day {
        height: 32px;
        font-size: 12px;
    }
}

/* ==========================================================================
   NeoLab - Catálogo de Exámenes Clínicos Styles
   ========================================================================== */

/* Main Container — font-family custom (Nunito), bg custom */
.neolab-examenes-container {
    background: var(--neolab-white);
    font-family: 'Nunito', sans-serif;
}

/* Page Title Section — padding asimétrico (24px 32px) */
.neolab-examenes-header {
    padding: 24px 32px;
}

/* Title BG decorativo — forma asimétrica, sombra y bg custom */
.neolab-examenes-title-bg {
    left: 0;
    top: 0;
    height: 127px;
    width: 50%;
    max-width: 635px;
    background: #f5f6fa;
    border-radius: 0 500px 500px 0;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* ELIMINADA: .neolab-examenes-header-content → migrada a Tailwind inline */
/* ELIMINADA: .neolab-examenes-title-wrapper → migrada a pt-4 inline */

/* Title — font-family Inter, tamaño 32px, color primary custom */
.neolab-examenes-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    color: var(--neolab-primary);
    margin: 0 0 12px 0;
}

/* Subtitle — font-family Inter, color custom */
.neolab-examenes-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #6b7280;
    margin: 0;
}

/* Search Box — ancho fijo custom */
.neolab-examenes-search {
    width: 320px;
}

/* Search Input — border, radius, font-family, transición custom */
.neolab-examenes-search-input {
    height: 50px;
    padding: 0 48px 0 16px;
    background: var(--neolab-white);
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--neolab-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.neolab-examenes-search-input::placeholder {
    color: #999;
}

.neolab-examenes-search-input:focus {
    outline: none;
    border-color: var(--neolab-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

/* Search Icon — posicionamiento custom, dimensiones, color */
.neolab-examenes-search-icon {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #6b7280;
}

/* Categories Section — padding asimétrico */
.neolab-examenes-categories {
    padding: 24px 32px;
}

/* Category Card — dimensiones fijas, bg, sombra neumórfica, transición */
.neolab-category-card {
    width: 219px;
    height: 176px;
    background: #f5f6fa;
    border-radius: 12px;
    box-shadow: -5px 10px 15px rgba(3, 27, 78, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neolab-category-card:hover {
    transform: translateY(-4px);
    box-shadow: -5px 14px 20px rgba(3, 27, 78, 0.35);
}

.neolab-category-card.active {
    background: var(--neolab-primary);
}

.neolab-category-card.active .neolab-category-title,
.neolab-category-card.active .neolab-category-desc {
    color: var(--neolab-white);
}

/* Category Title — font-family Inter, color primary */
.neolab-category-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: var(--neolab-primary);
    margin: 0 0 8px 0;
}

.neolab-category-card.active .neolab-category-title {
    font-size: 20px;
    text-shadow: 0px 4px 5px rgba(255, 244, 244, 0.3);
}

/* Category Description — font-family Inter, color custom */
.neolab-category-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
    margin: 0;
}

/* Exams List Section — bg, sombra, margin asimétrico */
.neolab-examenes-list-section {
    background: #f5f6fa;
    border-radius: 12px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 0 32px 24px;
    padding: 24px;
}

/* ELIMINADA: .neolab-examenes-list-header → migrada a Tailwind inline */
/* ELIMINADA: .neolab-examenes-list-title-wrapper → migrada a Tailwind inline */

/* List Icon — dimensiones, bg, border, sombra neumórfica custom */
.neolab-examenes-list-icon {
    width: 52px;
    height: 52px;
    background: #e8e6ed;
    border: 2px solid #1658a4;
    border-radius: 100px;
    box-shadow: -7px -7px 15px white, 10px 10px 20px #d1cfd5;
}

.neolab-examenes-list-icon img {
    width: 35px;
    height: 38px;
    object-fit: contain;
}

/* List Title — font-family Inter, tamaño 24px, color primary */
.neolab-examenes-list-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--neolab-primary);
    margin: 0;
}

/* List Subtitle — font-family Inter, color custom */
.neolab-examenes-list-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

/* Exams Count — font-family Nunito, color primary */
.neolab-examenes-count {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--neolab-primary);
}

/* ELIMINADA: .neolab-examenes-count strong → migrada a font-bold inline */

/* Exam Cards Grid — grid-template custom */
.neolab-examenes-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* Exam Card — bg, border fina, sombra custom */
.neolab-exam-card {
    background: var(--neolab-white);
    border: 0.2px solid rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* ELIMINADA: .neolab-exam-card-header → migrada a Tailwind inline */

/* Exam Title — font-family Inter, tamaño 21px, color primary */
.neolab-exam-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 28px;
    color: var(--neolab-primary);
    margin: 0;
}

/* Exam Code — bg, padding, font-family, tamaño 12px, color primary */
.neolab-exam-code {
    background: #e8e6ed;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: var(--neolab-primary);
}

/* Exam Description — font-family Inter, tamaño 18px, min-height */
.neolab-exam-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #333;
    margin: 0 0 24px 0;
    min-height: 40px;
}

/* ELIMINADA: .neolab-exam-details → migrada a Tailwind inline */
/* ELIMINADA: .neolab-exam-detail-row → migrada a Tailwind inline */

/* Exam Label — font-family Inter, tamaño 18px */
.neolab-exam-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #333;
}

/* Exam Price — font-family Nunito, tamaño 24px, color custom */
.neolab-exam-price {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #3b9fe1;
}

/* Exam Time — font-family Nunito, tamaño 20px */
.neolab-exam-time {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #333;
}

/* ELIMINADA: .neolab-exam-samples → migrada a Tailwind inline */

/* Sample Badge — padding, font-family, tamaño, color white */
.neolab-sample-badge {
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: var(--neolab-white);
}

.neolab-sample-badge.sangre {
    background: #ef4444;
}

.neolab-sample-badge.orina {
    background: #2e8b57;
}

/* Exam Divider — color custom */
.neolab-exam-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

/* Exam Button — bg, sombra, font-family, transición custom */
.neolab-exam-btn {
    height: 48px;
    background: #3b9fe1;
    border-radius: 12px;
    box-shadow: -5px 5px 20px #bfb7b7;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--neolab-white);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.neolab-exam-btn:hover {
    transform: translateY(-2px);
    box-shadow: -5px 7px 25px #bfb7b7;
}

.neolab-exam-btn:active {
    transform: translateY(0);
}

/* Verify Order Wrapper — padding asimétrico */
.neolab-verify-order-wrapper {
    padding: 24px 32px;
}

/* Verify Order Button — dimensiones, bg, sombra, font-family, text-shadow */
.neolab-verify-order-btn {
    width: 327px;
    height: 48px;
    background: #3b9fe1;
    border-radius: 12px;
    box-shadow: -5px 5px 20px #bfb7b7;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 24px;
    color: var(--neolab-white);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.neolab-verify-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: -5px 7px 25px #bfb7b7;
}

/* Important Info Section — bg, sombra, margin asimétrico */
.neolab-info-section {
    background: #f5f6fa;
    border-radius: 12px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 0 32px 32px;
    padding: 32px 24px;
}

/* Info Section Title — font-family Inter, color primary */
.neolab-info-section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--neolab-primary);
    margin: 0 0 32px 0;
}

/* Info Cards Grid — grid-template custom */
.neolab-info-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Info Card Item — bg, sombra custom */
.neolab-info-card-item {
    background: var(--neolab-white);
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Info Card Icon — dimensiones, bg, border, sombra, margin auto custom */
.neolab-info-card-icon {
    width: 50px;
    height: 50px;
    background: #e8e6ed;
    border: 1px solid #1658a4;
    border-radius: 100px;
    box-shadow: 0px 4px 4px rgba(156, 145, 145, 0.25);
    margin: 0 auto 16px;
    font-size: 20px;
}

/* Info Card Title — font-family Inter, color primary */
.neolab-info-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--neolab-primary);
    margin: 0 0 12px 0;
}

/* Info Card Text — font-family Inter, color custom */
.neolab-info-card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
    margin: 0;
}

/* Responsive Examenes */
@media (max-width: 1024px) {
    .neolab-examenes-title-bg {
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 24px 24px;
        height: auto;
        padding: 24px;
    }

    .neolab-examenes-search {
        width: 100%;
        max-width: 400px;
    }

    .neolab-category-card {
        width: 180px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .neolab-examenes-header,
    .neolab-examenes-list-section,
    .neolab-info-section {
        margin-left: 16px;
        margin-right: 16px;
        padding: 16px;
    }

    .neolab-examenes-title {
        font-size: 24px;
    }

    .neolab-examenes-categories {
        padding: 16px;
        gap: 12px;
    }

    .neolab-category-card {
        width: 150px;
        height: 140px;
    }

    .neolab-category-title {
        font-size: 14px;
    }

    .neolab-category-desc {
        font-size: 12px;
    }

    .neolab-examenes-grid {
        grid-template-columns: 1fr;
    }

    .neolab-verify-order-wrapper {
        padding: 16px;
    }

    .neolab-verify-order-btn {
        width: 100%;
        max-width: 327px;
    }
}

@media (max-width: 480px) {
    .neolab-category-card {
        width: 100%;
        height: auto;
        padding: 16px;
    }

    .neolab-exam-card {
        padding: 16px;
    }

    .neolab-exam-title {
        font-size: 18px;
    }

    .neolab-exam-price {
        font-size: 20px;
    }
}

/* ==========================================================================
   NeoLab - Resumen Pedido / Datos de Pago Styles
   ========================================================================== */

/* Pedido Container */
.neolab-pedido-container {
    background: #f8fafc;
    font-family: 'Nunito', sans-serif;
}

.neolab-pedido-grid {
    grid-template-columns: 1fr 380px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Utility: primary text color */
.neolab-text-primary {
    color: var(--neolab-primary);
}

/* Payment Card */
.neolab-payment-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.neolab-payment-header {
    border-bottom: 0.8px solid #e2e8f0;
}

.neolab-payment-icon {
    background: #3b82f6;
}

/* Payment method buttons */
.neolab-payment-method-btn {
    height: 45px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    transition: all 0.2s ease;
}

.neolab-payment-method-btn.active {
    background: #3b9fe1;
    color: white;
}

.neolab-payment-method-btn:not(.active) {
    background: #f1f5f9;
    color: #475569;
}

.neolab-payment-method-btn:hover:not(.active) {
    background: #e2e8f0;
}

.neolab-payment-method-btn svg {
    width: 20px;
    height: 20px;
}

/* Security Info Box */
.neolab-security-box {
    background: #f8fafc;
    margin: 24px 0;
}

/* Payment card inputs: lighter border to match design */
.neolab-payment-card .input {
    border-color: #e2e8f0;
    box-shadow: none;
}

.neolab-payment-card .input:focus {
    border-color: #3b9fe1;
    box-shadow: 0 0 0 3px rgba(59, 159, 225, 0.1);
}

/* Payment Buttons */
.neolab-pay-btn {
    width: 100%;
    height: 45px;
    background: #3b9fe1;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-bottom: 12px;
}

.neolab-pay-btn:hover {
    background: #2d8bca;
    transform: translateY(-1px);
}

.neolab-cancel-btn {
    width: 100%;
    height: 47px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.neolab-cancel-btn:hover {
    background: #f8fafc;
}

.neolab-terms-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #64748b;
    text-align: center;
    margin-top: 16px;
}

.neolab-terms-text a {
    color: #3b82f6;
    text-decoration: none;
}

.neolab-terms-text a:hover {
    text-decoration: underline;
}

/* Order Summary Card */
.neolab-order-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.neolab-order-summary-header {
    border-bottom: 0.8px solid #e2e8f0;
}

.neolab-order-summary-logo {
    width: 52px;
    height: 52px;
    background: #e8e6ed;
    border: 2px solid #1658a4;
    border-radius: 100px;
    box-shadow: -7px -7px 15px white, 10px 10px 20px #d1cfd5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neolab-order-summary-logo img {
    width: 35px;
    height: 38px;
    object-fit: contain;
}

/* Order Items - layout handled by Tailwind utilities */

.neolab-order-item:last-of-type {
    margin-bottom: 0;
}

/* Order Totals */
.neolab-order-totals {
    border-top: 0.8px solid #e2e8f0;
}

.neolab-order-total-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #64748b;
}

.neolab-order-total-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #1e293b;
}

.neolab-order-final-total {
    border-top: 0.8px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 12px;
}

/* Promo Box */
.neolab-promo-box {
    background: #eff6ff;
    border: 1px solid #3b82f6;
    margin: 16px 0;
}

.neolab-promo-icon {
    background: #3b82f6;
}

.neolab-promo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #64748b;
    margin: 0;
    padding-left: 44px;
}

/* Delivery Time Box */
.neolab-delivery-box {
    background: #f8fafc;
    padding: 12px 16px;
    border-top: 0.8px solid #e2e8f0;
}

/* Responsive Pedido */
@media (max-width: 1024px) {
    .neolab-pedido-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .neolab-order-summary-card {
        order: -1;
    }
}

@media (max-width: 768px) {
    .neolab-pedido-container {
        padding: 16px;
    }
    
    .neolab-payment-body,
    .neolab-order-summary-body,
    .neolab-payment-header,
    .neolab-order-summary-header {
        padding: 16px;
    }
    
    .neolab-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .neolab-payment-methods {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Centro Medico - Pedidos List Styles (migrated to utilities)
   ========================================================================== */

.pendiente.kt-badge {
    background: var(--color-yellow-400);
    color: var(--color-white);
}

.proceso.kt-badge {
    background: var(--color-blue-500);
    color: var(--color-white);
}

.completado.kt-badge {
    background: var(--color-green-500);
    color: var(--color-white);
}

.cancelado.kt-badge {
    background: var(--destructive);
    color: var(--destructive-foreground);
}


/* ==========================================================================
   PEDIDO PACIENTE VIEW STYLES
   ========================================================================== */

/* Main Container */
.neolab-pedido-view-container {
    padding: 20px;
    min-height: 100vh;
    background: #fff;
}

/* Header Banner */
.neolab-pedido-view-banner {
    background: #f5f6fa;
    border-radius: 40px 5px 5px 40px;
    padding: 30px 40px;
    margin-bottom: 24px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border: 10px solid transparent;
}

.neolab-pedido-view-banner-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #003366;
    text-align: center;
    line-height: 48px;
}

/* Main Content Grid */
.neolab-pedido-view-grid {
    display: grid;
    grid-template-columns: 387px 1fr;
    gap: 24px;
}

/* Left Panel - Orders List */
.neolab-orders-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 24px;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}

.neolab-orders-panel-header {
    border-bottom: 0.8px solid #e2e8f0;
}

.neolab-orders-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-orders-filter-btn:hover {
    background: #e2e8f0;
}


/* Order Card */
.neolab-order-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-order-card:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.neolab-order-card.selected {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.neolab-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.neolab-order-badge.rutina {
    background: #3b82f6;
    color: white;
}

.neolab-order-badge.urgente {
    background: #ef4444;
    color: white;
}

.neolab-order-badge.completado {
    background: #10b981;
    color: white;
}

.neolab-order-badge.proceso {
    background: #f59e0b;
    color: white;
}

.neolab-order-badge.pendiente {
    background: #6b7280;
    color: white;
}

.neolab-order-results-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #3b9fe1;
    border-radius: 8px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-order-results-btn:hover {
    background: #2b8fd1;
}

.neolab-order-results-btn span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: white;
    line-height: 16px;
}

/* Patient Info Card */
.neolab-patient-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

.neolab-patient-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.neolab-patient-badge.rutina {
    background: #003366;
    color: white;
}

.neolab-patient-badge.completado {
    background: #10b981;
    color: white;
}

/* Clinical Notes */
.neolab-clinical-notes {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

/* Total Box */
.neolab-order-total-box {
    background: rgba(59, 159, 225, 0.2);
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.neolab-order-total-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neolab-order-total-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 34px;
    color: #003366;
    line-height: 24px;
}

.neolab-order-total-value {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #3b9fe1;
    line-height: 20px;
}

/* Results Card */
.neolab-results-panel-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 24px;
}

/* Results Preview */
.neolab-results-preview {
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neolab-results-preview .emoji {
    font-size: 200px;
    line-height: 1;
}

.neolab-download-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    height: 36px;
    background: #003366;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-download-pdf-btn:hover {
    background: #1a4a7a;
}

.neolab-print-results-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-print-results-btn:hover {
    background: #e2e8f0;
}

/* Responsive Pedido View */
@media (max-width: 1280px) {
    .neolab-pedido-view-grid {
        grid-template-columns: 350px 1fr;
    }
    
    .neolab-order-total-label,
    .neolab-order-total-value {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .neolab-pedido-view-grid {
        grid-template-columns: 1fr;
    }
    
    .neolab-orders-panel {
        max-height: none;
    }
    
    .neolab-patient-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .neolab-pedido-view-container {
        padding: 16px;
    }
    
    .neolab-pedido-view-banner {
        padding: 20px;
        border-radius: 20px 5px 5px 20px;
    }
    
    .neolab-pedido-view-banner-title {
        font-size: 24px;
        line-height: 36px;
    }
    
    .neolab-order-total-box {
        flex-direction: column;
        gap: 16px;
    }
    
    .neolab-order-total-label,
    .neolab-order-total-value {
        font-size: 24px;
    }
    
    .neolab-results-actions {
        flex-direction: column;
    }
    
    .neolab-download-pdf-btn,
    .neolab-print-results-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .neolab-pedido-view-banner-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .neolab-order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .neolab-patient-info-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .neolab-patient-info-row {
        flex-direction: column;
        gap: 4px;
    }
}

/* ==========================================================================
   USER VIEW STYLES
   ========================================================================== */

/* User View Card — bg custom #f5f6fa, shadow y max-width únicos */
.neolab-user-view-card {
    background: #f5f6fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 496px;
    padding: 0;
    overflow: hidden;
}

/* Title — font-family Inter, color primary #003366 custom */
.neolab-user-view-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #003366;
    line-height: 30px;
    margin: 0;
}

/* User Avatar — neumorphic shadow único, colores custom */
.neolab-user-view-avatar {
    width: 52px;
    height: 52px;
    background: #e8e6ed;
    border: 2px solid #1658a4;
    border-radius: 100px;
    box-shadow: -7px -7px 15px white, 10px 10px 20px #d1cfd5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Form Label — font-family Nunito, color #003366 custom */
.neolab-user-form-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #003366;
    line-height: 20px;
    margin-bottom: 10px;
}

/* Form Input — height 50px, border-radius 12px, shadow custom, padding-left 48px para icono */
.neolab-user-form-input {
    width: 100%;
    height: 50px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: -5px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 16px 0 48px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.neolab-user-form-input::placeholder {
    color: rgba(51, 51, 51, 0.8);
}

.neolab-user-form-input:focus {
    outline: none;
    border-color: #3b9fe1;
    box-shadow: -5px 2px 8px rgba(59, 159, 225, 0.15);
}

/* Toggle Password Button — hover cambia SVG a #3b9fe1 */
.neolab-user-form-toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neolab-user-form-toggle-password svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.neolab-user-form-toggle-password:hover svg {
    color: #3b9fe1;
}

/* Primary Button — bg #3b9fe1, hover/active states custom */
.neolab-user-btn-primary {
    width: 100%;
    height: 45px;
    background: #3b9fe1;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    line-height: 21px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.neolab-user-btn-primary:hover {
    background: #2b8fd1;
}

.neolab-user-btn-primary:active {
    background: #1b7fc1;
}

/* Secondary Button — bg rgba custom, border custom */
.neolab-user-btn-secondary {
    width: 100%;
    height: 45px;
    background: rgba(187, 195, 198, 0.5);
    border: 1px solid #ecf1f8;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    line-height: 21px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.neolab-user-btn-secondary:hover {
    background: rgba(187, 195, 198, 0.7);
}

/* Responsive User View */
@media (max-width: 768px) {
    .neolab-user-view-card {
        max-width: 100%;
    }

    .neolab-user-view-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .neolab-user-form-input {
        font-size: 14px;
    }
}

/* ==========================================================================
   DASHBOARD MEDICO STYLES (v2 — migrado a Tailwind + CSS mínimo)
   Solo contiene lo que NO se puede lograr con Tailwind utilities:
   - Bar chart (flexbox bars con alturas dinámicas)
   - Donut chart SVG (posicionamiento del centro)
   - Status badges (colores semánticos custom)
   ========================================================================== */

/* Bar Chart */
.neolab-dm-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 260px;
    padding-top: 20px;
    gap: 12px;
}

.neolab-dm-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}

.neolab-dm-bar {
    width: 100%;
    max-width: 50px;
    background: linear-gradient(180deg, #3b9fe1 0%, #5bb5ed 100%);
    border-radius: 6px 6px 0 0;
    min-height: 8px;
    transition: height 0.4s ease;
}

.neolab-dm-bar:hover {
    background: linear-gradient(180deg, #003366 0%, #3b9fe1 100%);
}

/* Donut Chart */
.neolab-dm-donut-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.neolab-dm-donut {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.neolab-dm-donut-segment {
    transition: stroke-dasharray 0.6s ease;
}

.neolab-dm-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Status Badges */
.neolab-dm-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.neolab-dm-badge-completado {
    background-color: #10b981;
    color: #ffffff;
}

.neolab-dm-badge-proceso {
    background-color: #3b82f6;
    color: #ffffff;
}

.neolab-dm-badge-pendiente {
    background-color: #f97316;
    color: #ffffff;
}

/* Responsive Dashboard Medico v2 */
@media (max-width: 768px) {
    .neolab-dm-chart-container {
        height: 160px;
        gap: 8px;
    }

    .neolab-dm-bar {
        max-width: 36px;
    }
}


/* ==========================================================================
   LABORATORIOS LIST STYLES (v2 — migrado a Tailwind + CSS mínimo)
   Solo contiene lo que NO se puede lograr con Tailwind utilities:
   - Banner con border-radius asimétrico (pill derecho)
   - Search input custom (border, focus state)
   - Dropdowns custom (bg oscuro, flex layout)
   - Lab cards (border states: selected, highlighted)
   - Badges de colores semánticos
   - Action buttons (primary, secondary, delete)
   ========================================================================== */

/* Banner Header */
.neolab-lab-banner {
    background: #f5f6fa;
    border-radius: 0 50px 50px 0;
    padding: 28px 40px;
    overflow: hidden;
    width: fit-content;
    min-width: 55%;
    max-width: 65%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.neolab-lab-banner-bg {
    position: relative;
}

/* Search Input */
.neolab-lab-search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s ease;
}

.neolab-lab-search-input::placeholder {
    color: #94a3b8;
}

.neolab-lab-search-input:focus {
    outline: none;
    border-color: #3b9fe1;
    box-shadow: 0 0 0 2px rgba(59, 159, 225, 0.1);
}

/* Filter Dropdowns */
.neolab-lab-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    padding: 8px 12px;
    background: #003366;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.neolab-lab-dropdown svg {
    color: rgba(255, 255, 255, 0.9);
}

/* Lab Cards */
.neolab-lab-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-lab-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Selected card — golden left border (LAB-002 San Rafael) */
.neolab-lab-card-selected {
    border-left: 4px solid #d4a017;
}

/* Highlighted card — pink background (LAB-004 Express) */
.neolab-lab-card-highlighted {
    background: #fef2f2;
    border-color: #fecaca;
}

/* Badges */
.neolab-lab-badge-dark {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #003366;
    color: #fff;
}

.neolab-lab-badge-green {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #10b981;
    color: #fff;
}

.neolab-lab-badge-orange {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #f59e0b;
    color: #fff;
}

.neolab-lab-badge-teal {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #14b8a6;
    color: #fff;
}

.neolab-lab-badge-red {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #ef4444;
    color: #fff;
}

.neolab-lab-badge-yellow {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #d4a017;
    color: #fff;
}

.neolab-lab-badge-purple {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #64748b;
    color: #fff;
}

/* Action Buttons */
.neolab-lab-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #3b9fe1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.neolab-lab-btn-primary:hover {
    background: #2b8fd1;
}

.neolab-lab-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-lab-btn-secondary:hover {
    background: #f8fafc;
    border-color: #003366;
    color: #003366;
}

.neolab-lab-btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-lab-btn-delete:hover {
    background: #fecaca;
    border-color: #ef4444;
}

/* ==========================================================================
   MEDICOS LIST STYLES (v2 — migrado a Tailwind + CSS mínimo)
   Solo contiene lo que NO se puede lograr con Tailwind utilities:
   - Banner con border-radius asimétrico (pill derecho)
   - Stat cards con iconos decorativos y layout custom
   - Podio cards con medallas y avatar
   - Tabla con badges de especialidad por color
   - Search input y dropdown custom
   - Action buttons (ver, editar, eliminar)
   - Paginación
   ========================================================================== */

/* Banner Header (pill derecho — misma forma que lab-banner) */
.neolab-med-banner {
    background: #f5f6fa;
    border-radius: 0 50px 50px 0;
    padding: 28px 40px;
    overflow: hidden;
    width: fit-content;
    min-width: 55%;
    max-width: 65%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Stat Cards — only hover (base styles now inline via Tailwind) */
.neolab-med-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Stat icon color variants (base styles now inline via Tailwind) */
.neolab-med-stat-icon.activos {
    background: #dbeafe;
    color: #2563eb;
}

.neolab-med-stat-icon.facturacion {
    background: #d1fae5;
    color: #059669;
}

.neolab-med-stat-icon.top {
    background: #fef3c7;
    color: #d97706;
}


.neolab-med-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.neolab-med-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #059669;
    font-weight: 500;
}

.neolab-med-stat-change .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* Podio Cards — only padding + hover (base styles now inline via Tailwind) */
.neolab-med-podio-card {
    padding: 24px 20px;
}

.neolab-med-podio-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.neolab-med-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    background: linear-gradient(135deg, #003366, #3b9fe1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

/* Medal badges for podio */
.neolab-med-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.neolab-med-medal.gold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.neolab-med-medal.silver {
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
}

.neolab-med-medal.bronze {
    background: linear-gradient(135deg, #b45309, #d97706);
}

/* Specialty Badges */
.neolab-med-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.neolab-med-badge.cardiologia {
    background: #dbeafe;
    color: #1d4ed8;
}

.neolab-med-badge.gastro {
    background: #ede9fe;
    color: #6d28d9;
}

.neolab-med-badge.oncologia {
    background: #d1fae5;
    color: #047857;
}

.neolab-med-badge.dermatologia {
    background: #ffedd5;
    color: #c2410c;
}

.neolab-med-badge.urologia {
    background: #ccfbf1;
    color: #0f766e;
}

.neolab-med-badge.neurologia {
    background: #fce7f3;
    color: #be185d;
}

.neolab-med-badge.endocrinologia {
    background: #fef3c7;
    color: #92400e;
}

/* Search Input */
.neolab-med-search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #fff;
    transition: border-color 0.2s ease;
}

.neolab-med-search-input::placeholder {
    color: #94a3b8;
}

.neolab-med-search-input:focus {
    outline: none;
    border-color: #3b9fe1;
    box-shadow: 0 0 0 2px rgba(59, 159, 225, 0.1);
}

/* Table */
.neolab-med-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.neolab-med-table thead th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.neolab-med-table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.neolab-med-table tbody tr:hover {
    background: #f8fafc;
}

.neolab-med-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Check Icon */
.neolab-med-status-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #3b9fe1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b9fe1;
}

.neolab-med-status-check svg {
    width: 14px;
    height: 14px;
}

/* Action Buttons */
.neolab-med-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
}

.neolab-med-btn:hover {
    opacity: 0.85;
}

.neolab-med-btn.ver {
    background: #dbeafe;
    color: #1d4ed8;
}

.neolab-med-btn.editar {
    background: #fef3c7;
    color: #92400e;
}

.neolab-med-btn.eliminar {
    background: #fee2e2;
    color: #dc2626;
}

/* Pagination */
.neolab-med-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-med-pagination-btn:hover {
    border-color: #003366;
    color: #003366;
}

.neolab-med-pagination-btn.active {
    background: #003366;
    border-color: #003366;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .neolab-med-banner {
        min-width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .neolab-med-table {
        display: block;
        overflow-x: auto;
    }
}

/* ==========================================================================
   PEDIDOS GENERADOS LIST STYLES (Refactored - KT + Tailwind)
   ========================================================================== */

/* --- Stat cards: neumorphic shadow matching reference design --- */
.pedidos-stat-card {
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.06), -2px -2px 8px rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pedidos-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.1), -3px -3px 10px rgba(255, 255, 255, 0.9);
}

/* --- "Todos ▽" dropdown pill inside stat cards --- */
.pedidos-dropdown-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.pedidos-dropdown-pill:hover {
    background-color: #f1f5f9;
}

/* --- Table: optional row-height hook (minimal override) --- */
.pedidos-table tbody td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
}

/* --- Action buttons: Ver (blue), Editar (amber), Imprimir (red) --- */
.pedidos-btn-ver {
    background-color: #3b9fe1;
    color: white;
}

.pedidos-btn-ver:hover {
    background-color: #2d8bc9;
}

.pedidos-btn-editar {
    background-color: #f59e0b;
    color: white;
}

.pedidos-btn-editar:hover {
    background-color: #d97706;
}

.pedidos-btn-imprimir {
    background-color: #ef4444;
    color: white;
}

.pedidos-btn-imprimir:hover {
    background-color: #dc2626;
}

/* ==========================================================================
   NeoLab - Pedido Medico View Styles (refactored)
   Only truly custom styles that cannot be achieved with kt-* or Tailwind.
   ========================================================================== */
/* Banner top accent */
.pedido-view-banner {
    border-top: 4px solid var(--color-blue-500, #3b82f6);
}

/* Label column fixed width for order details alignment */
.pedido-view-label-col {
    min-width: 140px;
    flex-shrink: 0;
}

/* Results preview area */
.pedido-view-results-preview {
    min-height: 300px;
}

/* Receipt preview image */
.pedido-view-receipt-img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
}

/* Button color variants (unique colors not in kt-btn system) */
.pedido-view-btn-navy {
    background-color: #003366;
    color: #fff;
}
.pedido-view-btn-navy:hover {
    background-color: #002244;
}

.pedido-view-btn-coral {
    background-color: #ef4444;
    color: #fff;
}
.pedido-view-btn-coral:hover {
    background-color: #dc2626;
}

.pedido-view-btn-teal {
    background-color: #10b981;
    color: #fff;
}
.pedido-view-btn-teal:hover {
    background-color: #059669;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .pedido-view-container {
        padding-inline: calc(var(--spacing) * 2);
    }

    .pedido-view-results-preview {
        min-height: 200px;
    }
}

/* ==========================================================================
   NeoLab - Millas (Administración Canje de Millas)
   ========================================================================== */

/* Banner shadow override (banner shape comes from neolab-med-banner) */
.neolab-millas-banner-shadow {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Two-Panel Layout: left list (~35%) + right detail (~65%) */
.neolab-millas-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
}

/* Left Panel: scrollable card list */
.neolab-millas-left-panel {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

/* Card list scroll area */
.neolab-millas-card-list {
    max-height: calc(100vh - 380px);
    overflow-y: auto;
}

/* Status dropdown select (styled to match reference image) */
.neolab-millas-select {
    height: 36px;
    padding: 0 28px 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.neolab-millas-select:focus {
    outline: none;
    border-color: #3b9fe1;
}

/* Doctor mile card */
.neolab-millas-doctor-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-millas-doctor-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.neolab-millas-doctor-card.selected {
    border-color: #3b9fe1;
    background: #f8fbff;
    box-shadow: 0 2px 12px rgba(59, 159, 225, 0.12);
}

/* "Ver Detalles" pill button inside doctor card */
.neolab-millas-detail-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.neolab-millas-detail-btn:hover {
    background: #1a4a7a;
}

/* Balance box in detail panel */
.neolab-millas-balance-box {
    display: inline-flex;
    align-items: baseline;
    padding: 14px 32px;
    border: 2px solid #d4a017;
    border-radius: 12px;
    background: #fffbeb;
    gap: 16px;
}

/* Action pill buttons at the bottom of history table */
.neolab-millas-action-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.neolab-millas-action-btn:hover {
    opacity: 0.88;
}

.neolab-millas-action-btn.download {
    background: #003366;
}

.neolab-millas-action-btn.print {
    background: #ef4444;
}

.neolab-millas-action-btn.export {
    background: #10b981;
}

/* Responsive Millas */
@media (max-width: 1024px) {
    .neolab-millas-layout {
        grid-template-columns: 1fr;
    }

    .neolab-millas-left-panel {
        max-height: none;
    }

    .neolab-millas-card-list {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .neolab-millas-balance-box {
        padding: 10px 18px;
        gap: 10px;
    }
}

/* ==========================================================================
   USUARIOS PAGE STYLES
   ========================================================================== */

/* Usuarios — Header Banner */
.neolab-usuarios-header-banner {
    position: relative;
    padding: 20px 32px 10px;
}

.neolab-usuarios-header-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 820px;
    height: 124px;
    background: #f6f7fb;
    border-radius: 0 70px 70px 0;
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.16);
    z-index: 0;
}

.neolab-usuarios-header-content {
    position: relative;
    z-index: 1;
    padding: 24px 32px;
}

.neolab-usuarios-stat-card {
    flex: 0 0 auto;
    width: 252px;
    height: 312px;
    background: #f8f9fd;
    border: 1px solid #e2e6f0;
    border-radius: 36px;
    box-shadow: 0px 12px 22px rgba(28, 37, 51, 0.15);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.neolab-usuarios-stat-card.is-primary {
    border: 2px solid #1691ff;
    box-shadow: 0px 14px 26px rgba(20, 134, 255, 0.35);
}

.neolab-usuarios-stat-icon {
    width: 72px;
    height: 72px;
    background: #eef0f6;
    border: 2px solid #1a3a8f;
    border-radius: 999px;
    box-shadow: -6px -6px 12px #ffffff, 9px 9px 16px rgba(209, 207, 213, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.neolab-usuarios-stat-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.neolab-usuarios-stat-dropdown {
    height: 34px;
    padding: 0 16px;
    background: #e9e8ee;
    border-radius: 7px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.24);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2b2b2b;
    cursor: pointer;
    border: none;
    width: fit-content;
}

.neolab-usuarios-stat-dropdown img {
    width: 14px;
    height: 9px;
}

.neolab-usuarios-stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #2f2f2f;
    margin-top: 8px;
}

.neolab-usuarios-stat-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #7e8794;
    margin-top: auto;
}

.neolab-usuarios-stat-info.is-up::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url('../images/centromedico/usuarios-up.svg') center/contain no-repeat;
}

.neolab-usuarios-stat-info.is-live::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #24c04f;
    box-shadow: 0px 3px 6px rgba(34, 197, 94, 0.4);
}

/* Resumen Card */
.neolab-usuarios-resumen-card {
    flex: 0 0 auto;
    width: 252px;
    height: 312px;
    background: #f8f9fd;
    border: 1px solid #e2e6f0;
    border-radius: 36px;
    box-shadow: 0px 12px 22px rgba(28, 37, 51, 0.15);
    padding: 24px;
}

.neolab-usuarios-ring {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    border: 6px solid #22c55e;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.18);
}

.neolab-usuarios-ring--green {
    border-color: #22c55e;
}

.neolab-usuarios-ring--blue {
    border-color: #3b82f6;
}

.neolab-usuarios-ring-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 20px;
    color: #2f2f2f;
}

/* Table Card */
.neolab-usuarios-table-card {
    background: #f5f6fa;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
    margin: 0 32px 32px;
    overflow: hidden;
}

.neolab-usuarios-search-box {
    position: relative;
    width: 265px;
}

.neolab-usuarios-search-input {
    width: 100%;
    height: 42px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 16px 0 42px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.neolab-usuarios-search-input::placeholder {
    color: #999;
}

.neolab-usuarios-search-input:focus {
    outline: none;
    border-color: #003366;
}

.neolab-usuarios-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.neolab-usuarios-filter-dropdown {
    height: 42px;
    padding: 0 16px;
    background: #3a3a3a;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 24px;
}

.neolab-usuarios-filter-dropdown img {
    width: 8px;
    height: 8px;
}

/* Table */
.neolab-usuarios-table {
    width: 100%;
    border-collapse: collapse;
}

.neolab-usuarios-table thead {
    background: #f5f6fa;
    border-bottom: 0.8px solid #e5e7eb;
}

.neolab-usuarios-table th {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 19.5px;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 16px 20px;
    text-align: left;
}

.neolab-usuarios-table tbody {
    background: white;
}

.neolab-usuarios-table td {
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #333;
    border-bottom: 0.8px solid #e5e7eb;
}

.neolab-usuarios-table td:first-child {
    font-weight: 500;
}

.neolab-usuarios-btn {
    height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.neolab-usuarios-btn:hover {
    opacity: 0.9;
}

.neolab-usuarios-btn.ver {
    background: #003366;
    min-width: 43px;
}

.neolab-usuarios-btn.editar {
    background: #10b981;
    min-width: 57px;
}

.neolab-usuarios-btn.eliminar {
    background: #ef4444;
    min-width: 69px;
}

/* Table Footer / Pagination */
.neolab-usuarios-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f5f6fa;
    border-top: 0.8px solid #e5e7eb;
    border-radius: 0 0 20px 20px;
}

.neolab-usuarios-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.neolab-usuarios-pagination-btn {
    height: 39px;
    padding: 0 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neolab-usuarios-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.neolab-usuarios-pagination-btn:hover:not(:disabled) {
    background: #f5f6fa;
}

.neolab-usuarios-pagination-current {
    height: 31px;
    padding: 0 16px;
    background: #003366;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Usuarios */
@media (max-width: 1280px) {
    .neolab-usuarios-stat-card,
    .neolab-usuarios-resumen-card {
        max-width: none;
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 1024px) {
    .neolab-usuarios-header-bg {
        width: 100%;
        border-radius: 24px;
    }
    
    .neolab-usuarios-search-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .neolab-usuarios-header-banner {
        padding: 16px;
    }
    
    .neolab-usuarios-stat-card,
    .neolab-usuarios-resumen-card {
        max-width: none;
        width: 100%;
    }
    
    .neolab-usuarios-table-card {
        margin: 0 16px 16px;
    }
    
    .neolab-usuarios-table {
        display: block;
        overflow-x: auto;
    }
    
    .neolab-usuarios-table-footer {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .neolab-usuarios-pagination-btn {
        padding: 0 8px;
        font-size: 12px;
    }
}
.neolab-footer {
    background: #B6C4D5;
}
.neolab-nav {
    background: #DBE1E8;
}
