/**
 * Prévia de demonstração (guia / carteirinha / comprovante) no portal beneficiário.
 *
 * As classes mkt-home-* vivem na landing (marketing-home-clinic.css). Esse arquivo
 * existe porque o layout do beneficiário NÃO carrega o CSS da landing — se remover
 * daqui de novo, /guia-medico e similares voltam “sem CSS” no painel da direita.
 */

.mkt-home-patient-products__demo,
.mkt-patient-demo-embed {
    width: 100%;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mkt-home-carteirinha-embed,
.mkt-home-guia-embed {
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.mkt-home-patient-embed__top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mkt-home-patient-embed__preview {
    margin-top: auto;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-shrink: 0;
}

.mkt-home-guia-embed .mkt-home-patient-embed__preview {
    aspect-ratio: auto;
}

.mkt-home-carteirinha-embed .mkt-home-patient-embed__preview {
    aspect-ratio: auto;
    min-height: 0;
}

.mkt-home-patient-embed__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.mkt-home-patient-embed__steps li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf0fb;
    font-size: 11px;
    font-weight: 700;
    color: #3d61a8;
}

.mkt-home-patient-embed__steps span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #4b72be;
    color: #fff;
    font-size: 10px;
    flex-shrink: 0;
}

.mkt-home-patient-embed__steps li.is-active {
    background: #4b72be;
    color: #fff;
}

.mkt-home-patient-embed__steps li.is-active span {
    background: #fff;
    color: #4b72be;
}

.mkt-home-patient-embed__access {
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(75, 114, 190, 0.15);
}

.mkt-home-patient-embed__access-label,
.mkt-home-patient-embed__preview-label {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.mkt-home-patient-embed__access-codes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
}

.mkt-home-patient-embed__access-codes > div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px;
    align-items: center;
}

.mkt-home-patient-embed__access-codes dt {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.mkt-home-patient-embed__access-codes dd {
    margin: 0;
}

.mkt-home-patient-embed__access-codes code {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.mkt-home-patient-embed__access-hint {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #64748b;
}

.mkt-home-guia-mock {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(145deg, #4b72be 0%, #5a84cc 55%, #6b93d4 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(75, 114, 190, 0.2);
}

.mkt-home-guia-mock__label {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.85;
}

.mkt-home-guia-mock__hero {
    margin-bottom: 10px;
}

.mkt-home-guia-mock__phase {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.mkt-home-guia-mock__name {
    display: block;
    font-family: 'Quicksand', 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mkt-home-guia-mock__meta {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.mkt-home-guia-mock__timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mkt-home-guia-mock__timeline li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

.mkt-home-guia-mock__timeline li span {
    flex-shrink: 0;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 10px;
    font-weight: 800;
}

.mkt-home-guia-mock__timeline li.is-done {
    color: rgba(255, 255, 255, 0.95);
}

.mkt-home-guia-mock__timeline li.is-current {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.mkt-home-carteirinha-embed__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 18px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(75, 114, 190, 0.2);
    background:
        radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, 0.95) 0%, transparent 58%),
        linear-gradient(155deg, #edf2fb 0%, #f8fafd 48%, #f1f5f9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 14px 36px rgba(75, 114, 190, 0.14),
        0 3px 10px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .mkt-home-carteirinha-embed,
[data-theme="dark"] .mkt-home-guia-embed {
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mkt-home-patient-embed__access {
    background: rgba(10, 15, 30, 0.85);
    border-color: rgba(75, 114, 190, 0.25);
}

[data-theme="dark"] .mkt-home-patient-embed__access-label,
[data-theme="dark"] .mkt-home-patient-embed__preview-label,
[data-theme="dark"] .mkt-home-patient-embed__access-codes dt,
[data-theme="dark"] .mkt-home-patient-embed__access-hint {
    color: rgba(241, 245, 249, 0.55);
}

[data-theme="dark"] .mkt-home-patient-embed__access-codes code {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

[data-theme="dark"] .mkt-home-patient-embed__steps li:not(.is-active) {
    background: rgba(75, 114, 190, 0.18);
    color: #93b4e8;
}

.mkt-home-posop-mock {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(145deg, #3d61a8 0%, #4b72be 55%, #6b93d4 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(75, 114, 190, 0.2);
}

.mkt-home-posop-mock__label {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.mkt-home-posop-mock__phase {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.mkt-home-posop-mock__name {
    display: block;
    font-family: 'Quicksand', 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mkt-home-posop-mock__meta {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.mkt-home-posop-mock__screens {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.mkt-home-posop-mock__screens li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
}

.mkt-home-posop-mock__screens i {
    width: 1em;
    opacity: 0.95;
}
