/* PTJ Travel Smart Form */
.ptj-form-shell,
.ptj-form-shell * {
    box-sizing: border-box;
}

.ptj-form-shell {
    --ptj-blue: #071a63;
    --ptj-blue-2: #0b2a92;
    --ptj-yellow: #ffd400;
    --ptj-text: #0d1830;
    --ptj-muted: #667085;
    --ptj-line: #dbe2ef;
    --ptj-bg: #f5f8fd;
    --ptj-white: #ffffff;
    --ptj-green: #20b65b;
    font-family: inherit;
    max-width: 1120px;
    margin: 0 auto;
    background:
        radial-gradient(circle at top right, rgba(255,212,0,.14), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #e5eaf3;
    border-radius: 28px;
    padding: clamp(22px, 4vw, 46px);
    box-shadow: 0 22px 70px rgba(9, 32, 88, .10);
    color: var(--ptj-text);
}

.ptj-form-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.ptj-form-badge,
.ptj-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ptj-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
}

.ptj-form-head h2 {
    color: var(--ptj-blue);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    margin: 14px 0 12px;
    letter-spacing: -.03em;
}

.ptj-form-head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ptj-muted);
}

.ptj-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin: 18px 0;
    font-weight: 700;
}

.ptj-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.ptj-form-progress {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    margin: 30px 0 34px;
    gap: 12px;
}

.ptj-progress-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #98a2b3;
    font-size: 13px;
}

.ptj-progress-item span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #667085;
    font-weight: 800;
}

.ptj-progress-item.is-active {
    color: var(--ptj-blue);
}

.ptj-progress-item.is-active span,
.ptj-progress-item.is-done span {
    background: var(--ptj-yellow);
    border-color: var(--ptj-yellow);
    color: var(--ptj-blue);
}

.ptj-progress-line {
    height: 2px;
    background: #e4e7ec;
}

.ptj-step {
    display: none;
    animation: ptjFade .28s ease;
}

.ptj-step.is-active {
    display: block;
}

@keyframes ptjFade {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

.ptj-step-title {
    display: flex;
    gap: 28px;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--ptj-line);
    margin-bottom: 26px;
}

.ptj-step-title > div {
    flex: 1 1 auto;
}

.ptj-step-title > p {
    width: min(420px, 46%);
    color: var(--ptj-muted);
    line-height: 1.55;
    margin: 0;
}

.ptj-step-title h3 {
    color: var(--ptj-blue);
    font-size: clamp(24px, 3.2vw, 34px);
    margin: 8px 0 0;
    line-height: 1.15;
}

.ptj-eyebrow {
    background: #eef3ff;
    color: var(--ptj-blue);
    padding: 5px 9px;
    font-size: 11px;
}

.ptj-grid {
    display: grid;
    gap: 18px;
}

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

.ptj-field {
    margin-bottom: 18px;
}

.ptj-field label,
.ptj-choice-title {
    display: block;
    color: var(--ptj-text);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 9px;
}

.ptj-field label b {
    color: #ef4444;
}

.ptj-field label span {
    color: var(--ptj-muted);
    font-weight: 500;
}

.ptj-field input,
.ptj-field select,
.ptj-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    border: 1px solid #cfd8e6;
    border-radius: 12px;
    background: #fff;
    color: var(--ptj-text);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: .2s ease;
}

.ptj-field textarea {
    min-height: 130px;
    resize: vertical;
}

.ptj-field input:focus,
.ptj-field select:focus,
.ptj-field textarea:focus {
    border-color: #4f72d6;
    box-shadow: 0 0 0 4px rgba(44, 83, 190, .10);
}

.ptj-field small {
    display: block;
    color: var(--ptj-muted);
    margin-top: 7px;
    line-height: 1.45;
}

.ptj-choice-section {
    margin: 22px 0;
}

.ptj-radio-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ptj-radio-card {
    display: block;
    cursor: pointer;
}

.ptj-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ptj-radio-card > span {
    min-height: 86px;
    padding: 16px 17px;
    border: 1px solid var(--ptj-line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .2s ease;
}

.ptj-radio-card > span b {
    color: var(--ptj-blue);
    font-size: 15px;
}

.ptj-radio-card > span small {
    color: var(--ptj-muted);
    margin-top: 4px;
}

.ptj-radio-card input:checked + span {
    border-color: var(--ptj-yellow);
    box-shadow: inset 0 0 0 2px var(--ptj-yellow);
    background: #fffbea;
}

.ptj-package-box {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: var(--ptj-blue);
    color: #fff;
    margin: 24px 0;
    overflow: hidden;
}

.ptj-package-box::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -80px;
    border-radius: 50%;
    background: rgba(255,212,0,.12);
}

.ptj-package-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.ptj-package-label {
    color: var(--ptj-yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
}

.ptj-package-box h4 {
    margin: 4px 0 2px;
    color: #fff;
    font-size: 20px;
}

.ptj-package-box p {
    margin: 0;
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.ptj-package-price {
    position: relative;
    z-index: 2;
    text-align: right;
    color: var(--ptj-yellow);
    font-size: 19px;
    font-weight: 900;
    white-space: nowrap;
}

.ptj-step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.ptj-step-actions-right {
    justify-content: flex-end;
}

.ptj-btn {
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    padding: 0 20px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    transition: .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ptj-btn:hover {
    transform: translateY(-1px);
}

.ptj-btn-primary {
    background: var(--ptj-yellow);
    color: var(--ptj-blue);
    box-shadow: 0 10px 24px rgba(255,212,0,.22);
}

.ptj-btn-ghost {
    background: #edf1f7;
    color: var(--ptj-blue);
}

.ptj-btn-whatsapp {
    background: var(--ptj-green);
    color: #fff;
    box-shadow: 0 10px 30px rgba(32,182,91,.25);
}

.ptj-wa-dot {
    color: #fff;
    animation: ptjPulse 1.5s infinite;
}

@keyframes ptjPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(1.25); }
}

.ptj-review-card {
    border: 1px solid var(--ptj-line);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
}

.ptj-review-head {
    background: var(--ptj-blue);
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.ptj-review-head b {
    color: var(--ptj-yellow);
    text-align: right;
}

.ptj-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ptj-review-row {
    padding: 14px 17px;
    border-bottom: 1px solid #edf0f5;
}

.ptj-review-row:nth-child(odd) {
    border-right: 1px solid #edf0f5;
}

.ptj-review-row span {
    display: block;
    color: var(--ptj-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.ptj-review-row b {
    color: var(--ptj-text);
    font-size: 14px;
}

.ptj-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    cursor: pointer;
    line-height: 1.5;
    color: var(--ptj-muted);
    font-size: 13px;
}

.ptj-consent input {
    margin-top: 3px;
    accent-color: var(--ptj-blue);
}

.ptj-submit-note {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #eefaf3;
    border: 1px solid #c6efd6;
    border-radius: 14px;
    padding: 14px;
    margin-top: 18px;
}

.ptj-submit-note-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ptj-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.ptj-submit-note b,
.ptj-submit-note span {
    display: block;
}

.ptj-submit-note b {
    color: #126b36;
    font-size: 14px;
}

.ptj-submit-note span {
    color: #4d755e;
    font-size: 12px;
    margin-top: 2px;
}

.ptj-form-trust {
    display: flex;
    gap: 10px 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--ptj-line);
    color: #5c687b;
    font-size: 12px;
    font-weight: 700;
}

.ptj-form-trust span {
    color: var(--ptj-blue);
}

.ptj-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.ptj-field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239,68,68,.08) !important;
}

.ptj-inline-error {
    color: #b42318;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .ptj-form-shell {
        border-radius: 20px;
        padding: 20px 16px;
    }

    .ptj-form-head p {
        font-size: 15px;
    }

    .ptj-form-progress {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .ptj-progress-line {
        display: none;
    }

    .ptj-progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 11px;
    }

    .ptj-progress-item strong {
        line-height: 1.2;
    }

    .ptj-step-title {
        display: block;
    }

    .ptj-step-title > p {
        width: 100%;
        margin-top: 12px;
    }

    .ptj-grid-2,
    .ptj-radio-cards,
    .ptj-review-grid {
        grid-template-columns: 1fr;
    }

    .ptj-review-row:nth-child(odd) {
        border-right: 0;
    }

    .ptj-package-box {
        grid-template-columns: auto 1fr;
    }

    .ptj-package-price {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 66px;
        margin-top: -6px;
    }

    .ptj-step-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .ptj-step-actions-right {
        flex-direction: column;
    }

    .ptj-btn {
        width: 100%;
    }

    .ptj-review-head {
        flex-direction: column;
    }

    .ptj-review-head b {
        text-align: left;
    }
}


/* ===== PTJ Travel Smart Form v1.1.0 ===== */
/* Readability */
.ptj-form-shell {
    font-size: 17px;
}

.ptj-form-head p {
    font-size: 19px;
}

.ptj-progress-item {
    font-size: 15px;
}

.ptj-step-title > p {
    font-size: 17px;
}

.ptj-field label,
.ptj-choice-title {
    font-size: 17px;
    line-height: 1.4;
}

.ptj-field input,
.ptj-field select,
.ptj-field textarea {
    min-height: 58px;
    font-size: 17px;
    line-height: 1.4;
    padding: 15px 16px;
}

.ptj-field small {
    font-size: 15px;
    line-height: 1.55;
}

.ptj-radio-card > span {
    min-height: 100px;
    padding: 18px 20px;
}

.ptj-radio-card > span b {
    font-size: 18px;
}

.ptj-radio-card > span small {
    font-size: 15px;
    line-height: 1.5;
}

/* Prevent package recommendation content from overflowing */
.ptj-package-box {
    min-width: 0;
}

.ptj-package-box > * {
    min-width: 0;
}

.ptj-package-box h4,
.ptj-package-box p,
.ptj-package-price {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.ptj-package-box h4 {
    font-size: 22px;
    line-height: 1.25;
}

.ptj-package-box p {
    font-size: 15px;
    line-height: 1.5;
}

.ptj-package-price {
    font-size: 19px;
    line-height: 1.25;
}

.ptj-btn {
    min-height: 58px;
    font-size: 16px;
}

.ptj-review-head {
    font-size: 16px;
}

.ptj-review-row span {
    font-size: 14px;
}

.ptj-review-row b {
    font-size: 16px;
    line-height: 1.45;
}

.ptj-consent {
    font-size: 15px;
}

/* Keep green tick perfectly circular */
.ptj-submit-note {
    align-items: flex-start;
}

.ptj-submit-note-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    flex: 0 0 38px !important;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    line-height: 1;
}

.ptj-submit-note b {
    font-size: 17px;
}

.ptj-submit-note span {
    font-size: 15px;
    line-height: 1.5;
}

.ptj-form-trust {
    font-size: 14px;
}

@media (max-width: 767px) {
    .ptj-form-shell {
        font-size: 18px;
        padding: 22px 18px;
    }

    .ptj-form-head h2 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.08;
    }

    .ptj-form-head p {
        font-size: 18px;
        line-height: 1.6;
    }

    .ptj-step-title h3 {
        font-size: 30px;
        line-height: 1.15;
    }

    .ptj-step-title > p {
        font-size: 17px;
        line-height: 1.55;
    }

    .ptj-field label,
    .ptj-choice-title {
        font-size: 19px;
        line-height: 1.4;
        margin-bottom: 11px;
    }

    .ptj-field input,
    .ptj-field select,
    .ptj-field textarea {
        min-height: 62px;
        font-size: 19px;
        padding: 16px 17px;
        border-radius: 14px;
    }

    .ptj-field small {
        font-size: 16px;
        line-height: 1.55;
    }

    .ptj-radio-card > span {
        min-height: 112px;
        padding: 20px 22px;
        border-radius: 16px;
    }

    .ptj-radio-card > span b {
        font-size: 21px;
        line-height: 1.3;
    }

    .ptj-radio-card > span small {
        font-size: 16px;
        line-height: 1.55;
        margin-top: 7px;
    }

    .ptj-package-box {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
        border-radius: 18px;
    }

    .ptj-package-icon {
        width: 54px;
        height: 54px;
    }

    .ptj-package-label {
        font-size: 12px;
    }

    .ptj-package-box h4 {
        font-size: 22px;
        line-height: 1.28;
    }

    .ptj-package-box p {
        font-size: 16px;
        line-height: 1.55;
    }

    .ptj-package-price {
        grid-column: 1 / -1;
        width: 100%;
        padding-left: 0 !important;
        margin-top: 2px;
        text-align: left;
        font-size: 20px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ptj-btn {
        min-height: 62px;
        font-size: 17px;
    }

    .ptj-review-row {
        padding: 16px 18px;
    }

    .ptj-review-row span {
        font-size: 14px;
    }

    .ptj-review-row b {
        font-size: 17px;
    }

    .ptj-consent {
        font-size: 15px;
    }

    .ptj-submit-note {
        gap: 14px;
        padding: 16px;
    }

    .ptj-submit-note-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex: 0 0 40px !important;
    }

    .ptj-submit-note b {
        font-size: 18px;
        line-height: 1.35;
    }

    .ptj-submit-note span {
        font-size: 16px;
        line-height: 1.55;
        margin-top: 4px;
    }

    .ptj-form-trust {
        font-size: 14px;
        line-height: 1.5;
    }
}


/* ===== PTJ Travel Smart Form v1.2.0 ===== */
/* Slightly smaller mobile typography than v1.1.0, while keeping readability. */
.ptj-consent-error {
    outline: 2px solid #ef4444;
    outline-offset: 7px;
    border-radius: 6px;
}

.ptj-consent-message {
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
    margin: -6px 0 18px;
}

.ptj-submit-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ptjSpin .75s linear infinite;
}

@keyframes ptjSpin {
    to { transform: rotate(360deg); }
}

.ptj-btn.is-loading {
    opacity: .88;
    cursor: wait;
}

@media (max-width: 767px) {
    .ptj-form-shell {
        font-size: 17px;
    }

    .ptj-form-head h2 {
        font-size: clamp(31px, 8vw, 40px);
    }

    .ptj-form-head p {
        font-size: 17px;
    }

    .ptj-step-title h3 {
        font-size: 28px;
    }

    .ptj-step-title > p {
        font-size: 16px;
    }

    .ptj-field label,
    .ptj-choice-title {
        font-size: 17px;
    }

    .ptj-field input,
    .ptj-field select,
    .ptj-field textarea {
        min-height: 58px;
        font-size: 17px;
        padding: 14px 16px;
    }

    .ptj-field small {
        font-size: 15px;
    }

    .ptj-radio-card > span {
        min-height: 104px;
        padding: 18px 20px;
    }

    .ptj-radio-card > span b {
        font-size: 19px;
    }

    .ptj-radio-card > span small {
        font-size: 15px;
    }

    .ptj-package-box h4 {
        font-size: 20px;
    }

    .ptj-package-box p {
        font-size: 15px;
    }

    .ptj-package-price {
        font-size: 18px;
    }

    .ptj-btn {
        min-height: 58px;
        font-size: 16px;
    }

    .ptj-review-row b {
        font-size: 16px;
    }

    .ptj-submit-note b {
        font-size: 17px;
    }

    .ptj-submit-note span {
        font-size: 15px;
    }
}
