/* ================================================================
   PNR Nexus — STYLESHEET
   ROMATECH © 2026
   ================================================================ */

:root {
    --brand-primary: #0B2A4A;
    --brand-secondary: #F7941D;
    --brand-bg: #F0F2F5;
    --brand-card: #FFFFFF;
    --brand-border: #DDE2E9;
    --brand-text: #1C2B3A;
    --brand-muted: #6B7A8D;

    /* Active table theme (default = theme 1) */
    --theme-primary: #ef224b;
    --theme-secondary: #76314e;
    --theme-text: #ffffff;

    /* Typography */
    --font-main: 'Sora', sans-serif;
    --font-mono: 'DM Mono', monospace;
}

/* ===== RESET & BASE ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--brand-bg);
    font-family: var(--font-main);
    color: var(--brand-text);
    font-size: 14px;
    line-height: 1.65;
}

/* ===== API-KEY PAGE ===== */

/* ===== API KEY PAGE – copy email button ===== */
.apikey-copy-email-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: middle;
}

.apikey-copy-email-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.apikey-copy-email-feedback {
    color: #4ade80;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
    animation: pnr-fadein .3s ease;
}

/* ===== NAVBAR ===== */

#pnr-navbar {
    background-color: var(--brand-primary);
    padding: 10px 0;
    box-shadow: 0 2px 16px rgba(11, 42, 74, .28);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#pnr-logo {
    object-fit: contain;
}

#pnr-navbar-product {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: .03em;
}

#pnr-navbar-product strong {
    font-weight: 800;
    color: var(--brand-secondary);
}

.pnr-nav-link {
    color: rgba(255, 255, 255, .75) !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 14px !important;
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pnr-nav-link:hover,
.pnr-nav-link.active {
    background: rgba(247, 148, 29, .18);
    color: var(--brand-secondary) !important;
}

.fdp-nav-link {
    color: #77dbd7 !important;
    background: rgba(119, 219, 215, .08) !important;
    border: 1px solid rgba(119, 219, 215, .20);
}

.fdp-nav-link:hover {
    background: rgba(119, 219, 215, .18) !important;
    color: #77dbd7 !important;
    border-color: rgba(119, 219, 215, .45);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */

#pnr-hero {
    background: linear-gradient(135deg, #0B2A4A 0%, #11385f 55%, #0d3157 100%);
    padding: 56px 0 52px;
    position: relative;
    overflow: hidden;
}

#pnr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(247, 148, 29, .12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(247, 148, 29, .07) 0%, transparent 70%);
}

.pnr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(247, 148, 29, .18);
    border: 1px solid rgba(247, 148, 29, .4);
    color: var(--brand-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 18px;
}

#pnr-hero-title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 18px;
}

#pnr-hero-title em {
    font-style: normal;
    color: var(--brand-secondary);
}

#pnr-hero-desc {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 540px;
}

.pnr-hero-stats {
    margin-top: 4px;
}

.pnr-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.pnr-stat-pill i {
    color: var(--brand-secondary);
}

/* Hero graphic cards */
#pnr-hero-graphic {
    position: relative;
    width: 280px;
    height: 200px;
}

.pnr-hg-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 24px;
    position: absolute;
}

.pnr-hg-card:first-child {
    top: 0;
    left: 0;
    width: 220px;
}

.pnr-hg-card--sm {
    top: 90px;
    left: 60px;
    width: 210px;
    background: rgba(247, 148, 29, .1);
    border-color: rgba(247, 148, 29, .3);
}

.pnr-hg-airline {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 6px;
}

.pnr-hg-route {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.pnr-hg-route i {
    font-size: 16px;
    color: var(--brand-secondary);
}

.pnr-hg-class {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-secondary);
    background: rgba(247, 148, 29, .15);
    padding: 2px 9px;
    border-radius: 100px;
}

/* ===== MAIN ===== */

#pnr-main {
    min-height: calc(100vh - 300px);
}

/* ===== CARDS ===== */

.pnr-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 42, 74, .06);
}

.pnr-card-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 20px;
    background: #F7F9FC;
    border-bottom: 1px solid var(--brand-border);
    font-weight: 700;
    font-size: 13px;
    color: var(--brand-primary);
}

.pnr-card-header i {
    color: var(--brand-secondary);
    font-size: 15px;
}

.pnr-card-body {
    padding: 20px;
}

/* ===== TEXTAREA ===== */

#pnr-input-textarea {
    font-family: var(--font-mono);
    font-size: 12px;
    border: 2px solid var(--brand-border);
    border-radius: 10px;
    background: #FAFBFC;
    color: var(--brand-text);
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}

#pnr-input-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(11, 42, 74, .1);
    outline: none;
    background: #fff;
}

/* ===== COLOR PICKER ===== */

.pnr-color-hint {
    font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 14px;
}

#pnr-theme-swatches {
    flex-wrap: wrap;
}

.pnr-swatch {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid transparent;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: transform .18s, border-color .18s, box-shadow .18s;
    display: flex;
    outline: none;
}

.pnr-swatch:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.pnr-swatch--active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px var(--brand-primary), 0 4px 16px rgba(0, 0, 0, .18);
    transform: scale(1.1);
}

.pnr-swatch--bordered {
    box-shadow: 0 0 0 1px #ccc inset;
}

.pnr-swatch-half {
    display: block;
    width: 50%;
    height: 100%;
}

.pnr-swatch-half--a {
    background-color: var(--sw-a);
}

.pnr-swatch-half--b {
    background-color: var(--sw-b);
}

.pnr-swatch-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity .18s;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .18);
}

.pnr-swatch--active .pnr-swatch-check {
    opacity: 1;
}

/* ===== FLIGHT TABLE ===== */

#pnr-flight-table {
    margin: 0;
    font-size: 13px;
}

#pnr-flight-thead tr th {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: var(--theme-text);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, .12) !important;
    padding: 12px 14px;
    white-space: nowrap;
}

#pnr-flight-tbody tr {
    transition: background .15s;
}

#pnr-flight-tbody tr:hover {
    background-color: rgba(11, 42, 74, .035);
}

#pnr-flight-tbody td {
    vertical-align: middle;
    padding: 10px 14px;
    border-color: #EEF0F4 !important;
    line-height: 1.4;
}

.pnr-flight-company {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 13px;
}

.pnr-iata {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--theme-primary);
    font-size: 13px;
}

.pnr-class-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 11px;
    /* Cor inicial; será sobrescrita via JS pelo applyTheme() */
    color: var(--theme-primary);
    background: rgba(239, 34, 75, 0.10);
    border: 1px solid rgba(239, 34, 75, 0.30);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.pnr-class-badge.pnr-class-badge--show-booking-class:not([data-booking-class=""])::after {
    content: " - " attr(data-booking-class);
}

/* ===== DRAG & DROP — LINHAS DA TABELA ===== */

/* Cursor de arrastar nas linhas */
#pnr-flight-tbody tr.pnr-draggable-row {
    cursor: grab;
}

#pnr-flight-tbody tr.pnr-draggable-row:active {
    cursor: grabbing;
}

/* Linha sendo arrastada */
#pnr-flight-tbody tr.pnr-row--dragging {
    opacity: 0.4;
    background: rgba(11, 42, 74, .06) !important;
}

/* Linha alvo do drop — indicador de posição */
#pnr-flight-tbody tr.pnr-row--drag-over {
    outline: 2px dashed var(--theme-primary);
    outline-offset: -2px;
    background: rgba(var(--theme-primary-rgb, 239, 34, 75), .06) !important;
    position: relative;
}

#pnr-flight-tbody tr.pnr-row--drag-over td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--theme-primary);
    border-radius: 0 2px 2px 0;
}

/* ===== EDITABLE CELLS ===== */

.pnr-editable {
    border-radius: 4px;
    padding: 1px 4px;
    margin: -1px -4px;
    cursor: text;
    display: inline-block;
    min-width: 20px;
    outline: none;
    transition: background .15s, outline .15s;
}

.pnr-editable:hover {
    background: rgba(11, 42, 74, .07);
}

.pnr-editable:focus {
    background: rgba(247, 148, 29, .08);
    outline: 1.5px dashed rgba(247, 148, 29, .65);
    outline-offset: 1px;
    cursor: text;
}

/* Badge de classe — comportamento especial pois já tem padding/border próprios */
.pnr-class-badge.pnr-editable:hover {
    background: rgba(239, 34, 75, .18);
}

.pnr-class-badge.pnr-editable:focus {
    background: rgba(247, 148, 29, .12);
    outline: 1.5px dashed rgba(247, 148, 29, .65);
    outline-offset: 2px;
}

/* ===== CONTROLES — cabeçalho da tabela ===== */

.pnr-flight-card-header {
    flex-wrap: wrap;
}

.pnr-flight-tools {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pnr-booking-class-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 0;
    margin: 0;
    padding: 4px 10px 4px 8px;
    color: var(--brand-muted);
    background: rgba(107, 122, 141, .10);
    border: 1px solid rgba(107, 122, 141, .20);
    border-radius: 100px;
    white-space: nowrap;
}

.pnr-booking-class-switch .form-check-input {
    float: none;
    flex-shrink: 0;
    width: 36px;
    height: 20px;
    margin: 0;
    border-color: rgba(107, 122, 141, .45);
    cursor: pointer;
}

.pnr-booking-class-switch .form-check-input:checked {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.pnr-booking-class-switch .form-check-input:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(11, 42, 74, .12);
}

.pnr-booking-class-switch .form-check-label {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pnr-flight-tools {
        width: 100%;
        margin-left: 0 !important;
        justify-content: flex-start;
    }
}

/* ===== EDIT HINT — cabeçalho da tabela ===== */

.pnr-edit-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--brand-muted);
    background: rgba(107, 122, 141, .10);
    border: 1px solid rgba(107, 122, 141, .20);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.pnr-edit-hint i {
    color: var(--brand-muted);
    font-size: 12px;
}

@media (max-width: 768px) {
    .pnr-edit-hint {
        display: none;
    }
}

/* ===== DRAG HINT — cabeçalho da tabela ===== */

.pnr-drag-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--brand-muted);
    background: rgba(107, 122, 141, .10);
    border: 1px solid rgba(107, 122, 141, .20);
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.pnr-drag-hint i {
    color: var(--brand-muted);
    font-size: 12px;
}

/* ===== ACTIONS ===== */

.pnr-btn-copy {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #e5830f 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 10px;
    padding: 11px 24px;
    transition: box-shadow .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pnr-btn-copy:hover {
    box-shadow: 0 6px 20px rgba(247, 148, 29, .45);
    transform: translateY(-1px);
}

.pnr-copy-feedback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1caa5a;
    font-weight: 600;
    font-size: 13px;
    animation: pnr-fadein .3s ease;
}

@keyframes pnr-fadein {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SIDEBAR ===== */

.pnr-sidebar-card .pnr-card-body {
    padding: 16px;
}

.pnr-how-list {
    padding-left: 18px;
    margin: 0;
    color: var(--brand-muted);
    font-size: 13px;
}

.pnr-how-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.pnr-api-card {
    background: linear-gradient(145deg, #0B2A4A, #11395f);
    border-color: rgba(255, 255, 255, .1);
}

.pnr-api-card .pnr-card-body {
    padding: 24px 20px;
}

.pnr-api-icon {
    display: block;
    font-size: 32px;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}

.pnr-api-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.pnr-api-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 16px;
}

.pnr-btn-api {
    background: var(--brand-secondary);
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity .2s;
}

.pnr-btn-api:hover {
    opacity: .85;
}

/* ===== ADSENSE PLACEHOLDER ===== */

.pnr-ad-banner {
    text-align: center;
    min-height: 90px;
    background: #F7F9FC;
    border: 1px dashed #CDD5DF;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pnr-ad-sidebar {
    text-align: center;
    min-height: 250px;
    background: #F7F9FC;
    border: 1px dashed #CDD5DF;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pnr-ad-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #aaa;
    margin-bottom: 4px;
}

/* ===== API PAGE ===== */

.pnr-apipage-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 16px;
}

.pnr-apipage-title em {
    font-style: normal;
    color: var(--brand-secondary);
}

.pnr-apipage-desc {
    font-size: 15px;
    color: var(--brand-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature cards */
.pnr-feature-card {
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(11, 42, 74, .06);
    transition: transform .2s, box-shadow .2s;
}

.pnr-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(11, 42, 74, .1);
}

.pnr-feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #0B2A4A, #1a4a7a);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--brand-secondary);
}

.pnr-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.pnr-feature-desc {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0;
}

/* Code blocks */
.pnr-code {
    background: #0f1923;
    border-radius: 10px;
    padding: 18px;
    color: #c8d6e5;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    overflow-x: auto;
    white-space: pre;
}

.pnr-code-highlight {
    color: var(--brand-secondary);
    font-weight: 500;
}

/* CTA Card */
.pnr-cta-card {
    background: linear-gradient(145deg, #0B2A4A, #0d3559);
    border: 1px solid rgba(247, 148, 29, .25);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 12px 48px rgba(11, 42, 74, .25);
}

.pnr-cta-icon {
    font-size: 44px;
    color: var(--brand-secondary);
    display: block;
    margin-bottom: 16px;
}

.pnr-cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.pnr-cta-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    max-width: 500px;
    margin: 0 auto 28px;
}

.pnr-btn-cta {
    background: var(--brand-secondary);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: box-shadow .2s, transform .15s;
}

.pnr-btn-cta:hover {
    box-shadow: 0 6px 24px rgba(247, 148, 29, .5);
    transform: translateY(-2px);
}

.pnr-cta-sub {
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

/* ===== FOOTER ===== */

#pnr-footer {
    background-color: var(--brand-primary);
    padding: 20px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.pnr-footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.pnr-footer-link {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s;
}

.pnr-footer-link:hover {
    color: var(--brand-secondary);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    #pnr-hero {
        padding: 36px 0 32px;
    }

    .pnr-cta-card {
        padding: 32px 20px;
    }

    .pnr-drag-hint {
        display: none;
    }
}

/* ===== USE CASE LIST ===== */

.pnr-usecase-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pnr-usecase-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--brand-border);
    transition: background .15s;
}

.pnr-usecase-list li:last-child {
    border-bottom: none;
}

.pnr-usecase-list li:hover {
    background: #f7f9fc;
}

.pnr-usecase-list li p {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--brand-muted);
    line-height: 1.5;
}

.pnr-usecase-list li strong {
    font-size: 13px;
    color: var(--brand-primary);
    display: block;
}

.pnr-usecase-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0B2A4A, #1a4a7a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
    font-size: 16px;
    margin-top: 2px;
}

/* ===== STEPS ===== */

.pnr-steps {
    position: relative;
}

.pnr-step {
    padding: 28px 32px;
    position: relative;
}

.pnr-step--mid {
    border-left: 1px solid var(--brand-border);
    border-right: 1px solid var(--brand-border);
}

.pnr-step-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--brand-secondary), #e5830f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pnr-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.pnr-step-desc {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0;
    line-height: 1.6;
}

.pnr-step-desc code {
    font-family: var(--font-mono);
    font-size: 12px;
    background: #EEF0F4;
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .pnr-step--mid {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--brand-border);
        border-bottom: 1px solid var(--brand-border);
    }
}


/* ===== PROMO CARD — Forma de Pagamento ===== */

.pnr-promo-card {
    background: linear-gradient(145deg, #0a1a4a, #2b228c);
    border: 1px solid rgba(119, 219, 215, .25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    display: block;
}

.pnr-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .26);
}

.pnr-promo-card__header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px 0;
}

.pnr-promo-card__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #77dbd7;
    background: rgba(119, 219, 215, .12);
    border: 1px solid rgba(119, 219, 215, .3);
    padding: 2px 8px;
    border-radius: 100px;
}

.pnr-promo-card__body {
    padding: 12px 16px 16px;
    text-align: center;
}

/* Logo da Forma de Pagamento — card vertical (sidebar) */
.pnr-promo-card__icon {
    display: block;
    margin: 0 auto 12px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
}

.pnr-promo-card__title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.pnr-promo-card__title em {
    font-style: normal;
    color: #77dbd7;
}

.pnr-promo-card__desc {
    font-size: 11px;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 14px;
    line-height: 1.55;
}

.pnr-promo-card__gds {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.pnr-promo-card__gds-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 2px 8px;
    border-radius: 100px;
    font-family: var(--font-mono);
}

.pnr-promo-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0066cc;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 8px;
    transition: background .2s, box-shadow .2s;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.pnr-promo-card__cta:hover {
    background: #0055aa;
    box-shadow: 0 4px 14px rgba(0, 102, 204, .5);
    color: #ffffff !important;
}

/* ── Versão horizontal (página api-key) ── */
.pnr-promo-banner {
    background: linear-gradient(135deg, #0a1a4a 0%, #2b228c 55%, #0066cc 100%);
    border: 1px solid rgba(119, 219, 215, .22);
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 28px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.pnr-promo-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}

/* Logo da Forma de Pagamento — banner horizontal */
.pnr-promo-banner__icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(119, 219, 215, .3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.pnr-promo-banner__icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.pnr-promo-banner__content {
    flex: 1;
    min-width: 0;
}

.pnr-promo-banner__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #77dbd7;
    margin-bottom: 4px;
    display: block;
}

.pnr-promo-banner__title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.25;
}

.pnr-promo-banner__title em {
    font-style: normal;
    color: #77dbd7;
}

.pnr-promo-banner__desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    margin: 0;
    line-height: 1.5;
}

.pnr-promo-banner__action {
    flex-shrink: 0;
}

.pnr-promo-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #77dbd7;
    color: #0a1a4a !important;
    font-weight: 800;
    font-size: 13px;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, box-shadow .2s;
}

.pnr-promo-banner__btn:hover {
    background: #a5ebe8;
    box-shadow: 0 4px 16px rgba(119, 219, 215, .5);
    color: #0a1a4a !important;
}

.pnr-promo-banner__gds {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pnr-promo-banner__gds-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 2px 8px;
    border-radius: 100px;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .pnr-promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 18px;
    }

    .pnr-promo-banner__gds {
        justify-content: center;
    }

    .pnr-promo-banner__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== AD BLOCK DETECTOR — OVERLAY ===== */

#pnr-adblock-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(7, 20, 38, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#pnr-adblock-overlay.pnr-adblock-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.pnr-adblock-box {
    background: linear-gradient(160deg, #0d2340 0%, #112d50 100%);
    border: 1px solid rgba(247, 148, 29, .30);
    border-radius: 20px;
    padding: 44px 40px 36px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
    transform: translateY(20px);
    transition: transform .35s ease;
}

#pnr-adblock-overlay.pnr-adblock-overlay--visible .pnr-adblock-box {
    transform: translateY(0);
}

.pnr-adblock-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(247, 148, 29, .12);
    border: 1px solid rgba(247, 148, 29, .35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--brand-secondary, #F7941D);
}

.pnr-adblock-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
    font-family: var(--font-main, 'Sora', sans-serif);
}

.pnr-adblock-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .70);
    line-height: 1.65;
    margin-bottom: 26px;
    font-family: var(--font-main, 'Sora', sans-serif);
}

.pnr-adblock-desc strong {
    color: rgba(255, 255, 255, .92);
}

/* ─── Passos ─────────────────────────────────────────────────── */

.pnr-adblock-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}

.pnr-adblock-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
    font-family: var(--font-main, 'Sora', sans-serif);
}

.pnr-adblock-step strong {
    color: #fff;
}

.pnr-adblock-step-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--brand-secondary, #F7941D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* ─── Botão ──────────────────────────────────────────────────── */

.pnr-adblock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--brand-secondary, #F7941D);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    padding: 13px 24px;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s, opacity .2s;
    font-family: var(--font-main, 'Sora', sans-serif);
    margin-bottom: 16px;
}

.pnr-adblock-btn:hover {
    box-shadow: 0 6px 24px rgba(247, 148, 29, .50);
    transform: translateY(-1px);
}

.pnr-adblock-btn:active {
    transform: translateY(0);
    opacity: .9;
}

/* ─── Rodapé ─────────────────────────────────────────────────── */

.pnr-adblock-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    margin: 0;
    line-height: 1.55;
    font-family: var(--font-main, 'Sora', sans-serif);
}

/* ─── Responsivo ─────────────────────────────────────────────── */

@media (max-width: 480px) {
    .pnr-adblock-box {
        padding: 32px 22px 28px;
    }

    .pnr-adblock-title {
        font-size: 19px;
    }
}

/* ===== BOTÃO DEMO ===== */

.pnr-btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1a4a7a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
    white-space: nowrap;
}

.pnr-btn-demo:hover {
    box-shadow: 0 6px 20px rgba(11, 42, 74, .40);
    transform: translateY(-1px);
}

.pnr-btn-demo:active {
    transform: translateY(0);
}

.pnr-btn-demo i {
    font-size: 15px;
    color: var(--brand-secondary);
}

.pnr-btn-demo-hint {
    font-size: 12px;
    color: var(--brand-muted);
}

/* ===== LIMITE DE USO GRATUITO ===== */

.pnr-limit-modal {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 26, 38, .28);
}

.pnr-limit-topline {
    height: 5px;
    background: linear-gradient(90deg, #ef224b 0 58%, #17a398 58% 78%, #f7941d 78%);
}

.pnr-limit-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    padding: 8px;
}

.pnr-limit-body {
    padding: 34px 36px 30px;
    text-align: center;
}

.pnr-limit-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    border-radius: 50%;
    color: #b7193a;
    background: #fde9ed;
    font-size: 23px;
}

.pnr-limit-eyebrow,
.pnr-limit-upgrade-kicker {
    display: block;
    color: #b7193a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pnr-limit-title {
    max-width: 430px;
    margin: 7px auto 10px;
    color: #152638;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
}

.pnr-limit-message {
    max-width: 440px;
    margin: 0 auto 18px;
    color: #5a6979;
    font-size: 13px;
    line-height: 1.65;
}

.pnr-limit-countdown-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid #dbe1e7;
    border-radius: 6px;
    background: #f7f9fb;
}

.pnr-limit-countdown-label {
    color: #667484;
    font-size: 12px;
    font-weight: 600;
}

.pnr-limit-countdown {
    min-width: 62px;
    color: #152638;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.pnr-limit-upgrade {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    margin-bottom: 16px;
    padding: 17px;
    border: 1px solid #bee1dc;
    border-left: 4px solid #15998f;
    border-radius: 6px;
    background: #effaf8;
    text-align: left;
}

.pnr-limit-upgrade-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: #127d75;
    color: #fff;
    font-size: 19px;
}

.pnr-limit-upgrade-kicker {
    color: #127d75;
}

.pnr-limit-upgrade h3 {
    margin: 3px 0 4px;
    color: #173c3a;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
}

.pnr-limit-upgrade p {
    margin: 0;
    color: #496664;
    font-size: 12px;
    line-height: 1.5;
}

.pnr-limit-upgrade-btn,
.pnr-limit-wait-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.pnr-limit-upgrade-btn {
    border: 1px solid #ef224b;
    background: #ef224b;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 34, 75, .22);
}

.pnr-limit-upgrade-btn:hover,
.pnr-limit-upgrade-btn:focus {
    border-color: #c81437;
    background: #c81437;
    color: #fff;
}

.pnr-limit-wait-btn {
    min-height: 38px;
    margin-top: 7px;
    border: 0;
    color: #697786;
    background: transparent;
    font-size: 12px;
}

.pnr-limit-wait-btn:hover {
    color: #243749;
    background: #f2f5f7;
}

.pnr-limit-request-id {
    margin: 8px 0 0;
    color: #8994a0;
    font-family: var(--font-mono);
    font-size: 10px;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .pnr-limit-body {
        padding: 30px 20px 22px;
    }

    .pnr-limit-title {
        font-size: 20px;
    }

    .pnr-limit-countdown-wrap {
        align-items: center;
        flex-direction: column;
        gap: 3px;
    }

    .pnr-limit-upgrade {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pnr-limit-upgrade-icon {
        margin: 0 auto;
    }
}

/* ===== USER SESSION ===== */

.pnr-auth-nav-item {
    display: flex;
    align-items: center;
}

.pnr-auth-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 230px;
    min-height: 42px;
    padding: 5px 12px 5px 7px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: var(--font-main);
    text-align: left;
    transition: border-color .2s, background .2s, transform .2s;
}

.pnr-auth-button:hover,
.pnr-auth-button:focus-visible {
    border-color: rgba(247, 148, 29, .75);
    background: rgba(255, 255, 255, .14);
    outline: none;
    transform: translateY(-1px);
}

.pnr-auth-button.is-authenticated {
    border-color: rgba(83, 217, 168, .45);
    background: rgba(23, 153, 115, .2);
}

.pnr-auth-button-icon {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, .14);
    color: #ffd09a;
    font-size: 16px;
}

.pnr-auth-button.is-authenticated .pnr-auth-button-icon {
    color: #8aebc8;
}

.pnr-auth-button-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.2;
}

.pnr-auth-button-copy small {
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pnr-auth-button-copy strong {
    overflow: hidden;
    max-width: 160px;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnr-auth-modal {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(11, 42, 74, .25);
}

.pnr-auth-modal .modal-header,
.pnr-auth-modal .modal-footer {
    border-color: #e7ebf0;
    padding: 20px 24px;
}

.pnr-auth-modal .modal-body {
    padding: 24px;
}

.pnr-auth-modal .modal-title {
    color: var(--brand-primary);
    font-size: 20px;
    font-weight: 800;
}

.pnr-auth-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #d36f06;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pnr-auth-intro {
    margin: 0 0 20px;
    color: var(--brand-muted);
    font-size: 12px;
}

.pnr-auth-modal .form-label {
    margin-bottom: 6px;
    color: #33485e;
    font-size: 11px;
    font-weight: 700;
}

.pnr-auth-modal .form-control,
.pnr-auth-modal .form-select {
    min-height: 44px;
    border-color: #d8e0e8;
    border-radius: 8px;
    font-size: 13px;
}

.pnr-auth-modal .form-control:focus,
.pnr-auth-modal .form-select:focus {
    border-color: #f3a84d;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, .13);
}

.pnr-auth-password-field {
    position: relative;
}

.pnr-auth-password-field .form-control {
    padding-right: 46px;
}

.pnr-auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #738295;
}

.pnr-auth-password-toggle:hover {
    background: #f0f3f6;
    color: var(--brand-primary);
}

.pnr-auth-primary,
.pnr-auth-secondary {
    min-height: 41px;
    padding: 8px 17px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.pnr-auth-primary {
    border: 1px solid var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
}

.pnr-auth-primary:hover,
.pnr-auth-primary:focus {
    border-color: #164b78;
    background: #164b78;
    color: #fff;
}

.pnr-auth-secondary {
    border: 1px solid #d6dee6;
    background: #fff;
    color: #516477;
}

.pnr-auth-secondary:hover,
.pnr-auth-secondary:focus {
    border-color: #b8c6d3;
    background: #f5f7f9;
    color: var(--brand-primary);
}

.pnr-auth-feedback {
    padding: 10px 12px;
    border: 1px solid #f1c1c8;
    border-radius: 8px;
    background: #fff4f5;
    color: #a6263b;
    font-size: 11px;
    font-weight: 600;
}

.pnr-auth-feedback.is-success {
    border-color: #b8e3d4;
    background: #f0fbf7;
    color: #147657;
}

.pnr-auth-help {
    display: block;
    margin-top: 5px;
    color: #7d8b98;
    font-size: 10px;
}

.pnr-account-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef5fa, #f8fafc);
}

.pnr-account-avatar {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 10px;
    background: var(--brand-primary);
    color: #fff;
    font-size: 20px;
}

.pnr-account-identity div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.pnr-account-identity strong {
    overflow: hidden;
    color: var(--brand-primary);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pnr-account-identity span:last-child {
    color: var(--brand-muted);
    font-family: var(--font-mono);
    font-size: 10px;
}

.pnr-account-details {
    display: grid;
    gap: 0;
    margin: 17px 0 0;
}

.pnr-account-details div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 2px;
    border-bottom: 1px solid #edf0f3;
}

.pnr-account-details dt,
.pnr-account-details dd {
    margin: 0;
    font-size: 11px;
}

.pnr-account-details dt {
    color: #738295;
    font-weight: 600;
}

.pnr-account-details dd {
    color: #2b4157;
    font-weight: 700;
    text-align: right;
}

.pnr-account-admin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 17px;
    padding: 10px;
    border: 1px solid #d9e2ea;
    border-radius: 8px;
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.pnr-account-admin-link:hover {
    border-color: #f4b56b;
    background: #fff9f2;
    color: #b75e00;
}

.pnr-account-actions {
    justify-content: space-between;
}

.pnr-password-required-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 13px;
    border: 1px solid #f2cc9c;
    border-radius: 9px;
    background: #fff9f0;
    color: #9b5508;
}

.pnr-password-required-note > i {
    font-size: 22px;
}

.pnr-password-required-note div {
    display: flex;
    flex-direction: column;
}

.pnr-password-required-note strong {
    font-size: 12px;
}

.pnr-password-required-note span {
    font-size: 10px;
}

@media (max-width: 991.98px) {
    .pnr-auth-nav-item {
        margin-top: 7px;
    }

    .pnr-auth-button {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    #pnr-login-modal .modal-dialog,
    #pnr-account-modal .modal-dialog,
    #pnr-password-modal .modal-dialog {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        margin-right: auto;
        margin-left: auto;
    }

    .pnr-auth-modal {
        width: 100%;
        max-width: 100%;
    }

    .pnr-auth-modal .modal-header,
    .pnr-auth-modal .modal-footer,
    .pnr-auth-modal .modal-body {
        padding: 18px;
    }

    .pnr-auth-modal .modal-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pnr-auth-modal .modal-footer .btn {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
        white-space: normal;
    }

    .pnr-account-actions {
        grid-template-columns: 1fr;
    }

    .pnr-account-actions .btn {
        width: 100%;
    }
}
