/* Pay Now + Thank You — GTI Travels theme */
.pay-now-page {
    background: #f6f4ef;
}

.pn-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.pn-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, #0b3022 0%, #164a36 45%, #1a3a28 100%);
}

.pn-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(197, 160, 89, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px);
}

.pn-hero--success .pn-hero-bg {
    background: linear-gradient(120deg, #0b3022 0%, #145a37 50%, #1a3a28 100%);
}

.pn-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: calc(var(--header-height, 80px) + 16px);
    padding-bottom: 28px;
}

.pn-hero .detail-breadcrumb {
    margin-bottom: 8px;
}

.pn-hero h1 {
    margin: 8px 0 8px;
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.pn-hero-sub {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.pn-section {
    padding: 36px 0 56px;
}

.pn-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.7fr);
    gap: 22px;
    align-items: start;
}

.pn-card {
    background: #fff;
    border: 1px solid #e5e1d6;
    border-radius: 14px;
    padding: 26px 26px 22px;
    box-shadow: 0 12px 32px rgba(15, 40, 28, 0.06);
}

.pn-card-head {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee9df;
}

.pn-card-head h2 {
    margin: 0 0 6px;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.35rem;
    color: var(--primary, #0b3022);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pn-card-head p {
    margin: 0;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.45;
}

.pn-card-head span {
    color: #c2410c;
    font-weight: 700;
}

.pn-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
}

.pn-alert.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b42318;
}

.pn-alert.is-ok {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}

.pn-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.pn-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}

.pn-field label span {
    color: #c2410c;
}

.pn-field input,
.pn-field select,
.pn-field textarea {
    width: 100%;
    border: 1px solid #d6d3c9;
    border-radius: 8px;
    background: #fcfbf8;
    padding: 11px 12px;
    font-size: 0.9rem;
    color: #1e293b;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.pn-field textarea {
    min-height: 88px;
    resize: vertical;
}

.pn-field input:focus,
.pn-field select:focus,
.pn-field textarea:focus {
    outline: none;
    border-color: #0b3022;
    box-shadow: 0 0 0 3px rgba(11, 48, 34, 0.12);
    background: #fff;
}

.pn-amount-wrap {
    position: relative;
}

.pn-currency {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: #0b3022;
}

.pn-amount-wrap input {
    padding-left: 28px;
}

.pn-form-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.pn-submit-btn {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0b3022, #1a4734);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(11, 48, 34, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pn-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(11, 48, 34, 0.28);
    background: linear-gradient(135deg, #14432f, #1f5a40);
}

.pn-submit-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.pn-secure-note {
    margin: 0;
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
}

.pn-secure-note i {
    color: #0b3022;
    margin-right: 4px;
}

.pn-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pn-aside-card {
    background: #fff;
    border: 1px solid #e5e1d6;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(15, 40, 28, 0.04);
}

.pn-aside-card h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #0b3022;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pn-aside-card ul {
    margin: 0;
    padding: 0 0 0 16px;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.55;
}

.pn-aside-card li + li {
    margin-top: 4px;
}

.pn-aside-help p {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.pn-help-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #0b3022;
    text-decoration: none;
}

.pn-help-phone:hover {
    color: #c5a059;
}

/* Thank you */
.pn-thanks-card {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e1d6;
    border-radius: 16px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: 0 14px 36px rgba(15, 40, 28, 0.07);
}

.pn-thanks-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf3;
    color: #067647;
    font-size: 1.8rem;
}

.pn-thanks-card h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading, Georgia, serif);
    color: #0b3022;
    font-size: 1.5rem;
}

.pn-thanks-card > p {
    margin: 0 auto 20px;
    max-width: 46ch;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pn-thanks-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 12px;
    background: #f8f7f3;
    border: 1px solid #ebe6da;
}

.pn-thanks-meta .full {
    grid-column: 1 / -1;
}

.pn-thanks-meta span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 3px;
}

.pn-thanks-meta strong {
    font-size: 0.92rem;
    color: #0b3022;
    word-break: break-all;
}

.pn-status-paid {
    color: #067647 !important;
}

.pn-thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pn-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #d6d3c9;
    background: #fff;
    color: #0b3022;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.pn-secondary-btn:hover {
    border-color: #0b3022;
    background: #f8faf8;
}

@media (max-width: 900px) {
    .pn-layout {
        grid-template-columns: 1fr;
    }

    .pn-form-grid,
    .pn-thanks-meta {
        grid-template-columns: 1fr;
    }

    .pn-thanks-meta .full {
        grid-column: auto;
    }
}
