body {
    background: #edf4ff;
    color: #1f2937;
    font-family: "Montserrat", Arial, sans-serif;
}

.booking-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 14px;
}

.booking-card {
    background: #fff;
    border: 0;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(21, 54, 93, 0.14);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px 14px;
}

.brand-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand-box strong {
    display: block;
    color: #163a5f;
    font-size: 0.95rem;
    line-height: 1.1;
}

.brand-box small {
    color: #64748b;
    font-size: 0.72rem;
}

.logo-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(21, 54, 93, 0.12);
}

.booking-logo {
    width: 34px;
    max-height: 28px;
    object-fit: contain;
}

.app-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #173d67 0%, #2366d1 68%, #4aa3ff 100%);
    border-radius: 30px;
    color: #fff;
    padding: 26px 22px 20px;
    margin-bottom: 14px;
    box-shadow: 0 22px 50px rgba(23, 61, 103, 0.24);
}

.app-hero:after {
    content: "";
    position: absolute;
    right: -54px;
    top: -48px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.app-hero h1 {
    position: relative;
    margin: 10px 0 8px;
    font-size: 1.85rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.app-hero p {
    position: relative;
    margin: 0;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
}

.hero-pill {
    position: relative;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.support-link {
    display: inline-block;
    padding: 10px 13px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.app-progress {
    position: relative;
    height: 7px;
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.app-progress .progress-bar {
    background: #fff;
    border-radius: 999px;
}

.booking-card {
    padding: 18px;
    margin-bottom: 14px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.calendar-months {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.calendar-month-block + .calendar-month-block {
    padding-top: 4px;
    border-top: 1px solid #e2e8f0;
}

.calendar-month-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #173d67 0%, #2563eb 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 20px rgba(23, 61, 103, 0.18);
}

.calendar-month-header i {
    opacity: 0.9;
    font-size: 0.95rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    padding: 0 2px;
}

.calendar-weekdays span {
    text-align: center;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calendar-month-block:only-child .day-month {
    display: none;
}

.day-btn {
    position: relative;
}

.day-btn .day-month {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.day-btn .day-number {
    display: block;
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 800;
}

.day-btn.is-disabled .day-month {
    color: #94a3b8;
}

.day-btn,
.turno-btn {
    width: 100%;
    min-height: 86px;
    border: 0;
    border-radius: 22px;
    background: #f1f7ff;
    color: #153e66;
    transition: 0.18s ease;
    font-weight: 600;
}

.day-btn:hover,
.turno-btn:hover {
    transform: translateY(-1px);
    background: #e6f0ff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.13);
}

.day-btn small {
    display: block;
    margin-top: 4px;
    color: #16a34a;
    font-size: 0.75rem;
}

.day-btn.is-disabled {
    background: #f4f6f8;
    color: #94a3b8;
    cursor: not-allowed;
}

.day-btn.is-disabled small {
    color: #ef4444;
}

.turno-btn:disabled {
    background: #f4f6f8;
    color: #94a3b8;
}

.pix-box {
    text-align: center;
    border: 1px dashed #93c5fd;
    background: #eff6ff;
    border-radius: 16px;
    padding: 18px;
    margin-top: 14px;
}

.pix-box img {
    width: 220px;
    max-width: 100%;
}

.pix-code {
    font-size: 0.78rem;
    word-break: break-all;
}

.copy-pix-button {
    width: 100%;
    margin: 12px 0 8px;
    border: 0;
    border-radius: 16px;
    background: #173d67;
    color: #fff;
    font-weight: 800;
    padding: 12px 14px;
}

.copy-pix-button:hover {
    background: #102c4b;
}

.confirmation-card {
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 42%);
    box-shadow: 0 18px 45px rgba(22, 163, 74, 0.18);
    padding: 24px 18px;
    text-align: center;
}

.success-badge {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 24px;
    background: #16a34a;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.26);
}

.confirmation-card h2 {
    margin: 0;
    color: #14532d;
    font-weight: 800;
}

.confirmation-subtitle,
.contract-note,
.nfse-note {
    color: #4b5563;
    font-size: 0.88rem;
}

.receipt-card {
    margin: 18px 0;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    text-align: left;
    box-shadow: inset 0 0 0 1px #dcfce7;
}

.receipt-card > span {
    display: block;
    margin-bottom: 12px;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.receipt-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #eef2f7;
}

.receipt-card strong {
    color: #64748b;
    font-size: 0.82rem;
}

.receipt-card b {
    color: #173d67;
    font-size: 0.86rem;
    text-align: right;
    word-break: break-word;
}

.contract-button {
    display: block;
    width: 100%;
    border-radius: 18px;
    background: #173d67;
    color: #fff;
    font-weight: 800;
    padding: 13px 16px;
    text-decoration: none;
}

.contract-button:hover {
    color: #fff;
    background: #102c4b;
}

.booking-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.72rem;
    padding: 18px 0 8px;
}

.booking-footer span,
.booking-footer strong {
    display: block;
}

.booking-footer strong {
    margin-top: 6px;
}

@media (max-width: 576px) {
    .booking-wrap {
        padding: 12px;
    }

    .app-hero {
        padding: 24px 20px 18px;
    }

    .app-hero h1 {
        font-size: 1.65rem;
    }
}

.payment-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #eef6ff;
    color: #173d67;
    font-size: 0.88rem;
    font-weight: 600;
}

.payment-timer.is-urgent {
    background: #fff4e5;
    color: #b45309;
}

.payment-timer i {
    font-size: 0.95rem;
}
