.granato-public-schedule{max-width:1180px;margin:0 auto;padding:30px 0}.granato-public-schedule .granato-panel{margin-bottom:24px}.granato-public-schedule .granato-message{padding:14px 18px;border-radius:12px;margin-bottom:18px}.granato-public-schedule .granato-message.aviso{background:#fff6df;color:#7a5b00}


/* Busca de exames no agendamento público - v0.7.3 */
.granato-public-schedule .granato-exame-search{display:flex;align-items:center;gap:12px;width:100%;height:54px;margin:18px 0 24px;padding:0 18px;background:#fff;border:1px solid #d8e3e5;border-radius:14px;box-sizing:border-box;transition:border-color .2s ease,box-shadow .2s ease}.granato-public-schedule .granato-exame-search:focus-within{border-color:#00796f;box-shadow:0 0 0 3px rgba(0,121,111,.08)}.granato-public-schedule .granato-exame-search__icon{flex:0 0 auto;font-size:18px;line-height:1;color:#00796f}.granato-public-schedule .granato-exame-search input{width:100%;height:100%;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-family:Montserrat,Arial,sans-serif;font-size:15px;color:#253746}.granato-public-schedule .granato-exame-search input::placeholder{color:#9aa7ad}.granato-public-schedule .granato-exame-empty{margin:0 0 24px;padding:24px;border:1px dashed #d8e3e5;border-radius:14px;text-align:center;font-family:Montserrat,Arial,sans-serif;font-size:14px;color:#7a898f}


/* Processamento de disponibilidade - v0.8.3 */
.granato-public-schedule{
    position:relative;
}

.granato-public-processing{
    display:none;
    position:absolute;
    inset:0;
    z-index:50;
    align-items:flex-start;
    justify-content:center;
    padding:90px 20px 20px;
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(2px);
    border-radius:inherit;
}

.granato-public-processing.is-visible{
    display:flex;
}

.granato-public-processing-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    max-width:360px;
    padding:22px 26px;
    border:1px solid #dbe7e7;
    border-radius:16px;
    background:#fff;
    box-shadow:0 16px 40px rgba(27,60,70,.12);
    text-align:center;
    color:#526b73;
}

.granato-public-processing-box strong{
    color:#123341;
    font-size:15px;
}

.granato-public-processing-box > span:last-child{
    font-size:13px;
}

.granato-public-processing-spinner{
    width:28px;
    height:28px;
    margin-bottom:4px;
    border:3px solid rgba(0,119,109,.16);
    border-top-color:#00776d;
    border-radius:50%;
    animation:granato-public-spin .75s linear infinite;
}

@keyframes granato-public-spin{
    to{transform:rotate(360deg);}
}

/* v0.8.7 — seleção de exames no agendamento público */
.granato-schedule-type-card small {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    opacity: .72;
}

button.granato-schedule-type-card {
    width: 100%;
    font-family: inherit;
    text-align: left;
}

.granato-exames-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.granato-exames-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.granato-exames-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 38, 45, .62);
    backdrop-filter: blur(4px);
}

.granato-exames-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(7, 42, 48, .24);
}

.granato-exames-modal__dialog h3 {
    margin: 5px 42px 8px 0;
    color: #123f49;
    font-size: 28px;
    line-height: 1.2;
}

.granato-exames-modal__dialog > p {
    margin: 0 0 24px;
    color: #6b7d82;
    line-height: 1.6;
}

.granato-exames-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf7f6;
    color: #0aa8a3;
    font: 400 28px/36px Arial, sans-serif;
    cursor: pointer;
}

.granato-exames-modal__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.granato-exames-modal__option {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 24px;
    border: 1px solid #dce9e9;
    border-radius: 16px;
    background: #f9fcfc;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.granato-exames-modal__option:hover {
    transform: translateY(-2px);
    border-color: #0aa8a3;
    box-shadow: 0 12px 28px rgba(20, 91, 96, .10);
}

.granato-exames-modal__option strong {
    color: #123f49;
    font-size: 18px;
}

.granato-exames-modal__option span {
    margin-top: 9px;
    color: #6b7d82;
    font-size: 14px;
    line-height: 1.55;
}

.granato-exames-modal__option em {
    margin-top: auto;
    padding-top: 18px;
    color: #0aa8a3;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

body.granato-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .granato-exames-modal {
        padding: 14px;
    }

    .granato-exames-modal__dialog {
        padding: 26px 18px 20px;
        border-radius: 18px;
    }

    .granato-exames-modal__dialog h3 {
        font-size: 23px;
    }

    .granato-exames-modal__options {
        grid-template-columns: 1fr;
    }

    .granato-exames-modal__option {
        min-height: 0;
    }
}


/* v0.8.29 - apresentação de pagamento */
.granato-review-payment{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}.granato-review-payment small{display:block;font-size:13px;line-height:1.4;color:#5f7078;font-weight:600}.granato-review-payment strong{color:#08796f}


.granato-review-payment{background:#eef8f6!important;border-color:#b9e0da!important;align-items:center!important;text-align:center!important;padding:18px!important}
.granato-review-payment>span{width:100%;font-size:14px!important;text-transform:none!important;letter-spacing:0!important;margin-bottom:4px}
.granato-review-payment .granato-payment-cash,.granato-review-payment .granato-payment-card{color:#087d72!important;font-size:21px!important;line-height:1.2;margin-top:4px}
.granato-review-payment small{font-size:13px;line-height:1.4;color:#4f656d;font-weight:600}
.granato-payment-or{display:flex;align-items:center;gap:10px;width:100%;font-size:12px;color:#6c7f86;margin:4px 0}
.granato-payment-or:before,.granato-payment-or:after{content:"";height:1px;background:#d4e2e0;flex:1}
.granato-return-note{margin:18px 0 0;padding:14px 16px;border:1px solid #dbe6e8;border-radius:12px;background:#fff;color:#20323a;font-size:14px;line-height:1.5;font-weight:600}
