/* =====================================================================
   MKDF Tours – PlugnPay Checkout Styles (Enhanced v2)
   ===================================================================== */

/* ── Wrapper ── */
.mkdf-pnp-checkout-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 48px auto;
    padding: 0 20px;

    box-sizing: border-box;
}

/* ── Cards (shared) ── */
.mkdf-pnp-summary,
.mkdf-pnp-payment {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ── Section Titles ── */
.mkdf-pnp-summary__title,
.mkdf-pnp-payment__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mkdf-pnp-summary__title::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24' stroke='%23e87722' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4'/%3E%3C/svg%3E") no-repeat center/contain;
    flex-shrink: 0;
}

.mkdf-pnp-payment__title::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24' stroke='%23e87722' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z'/%3E%3C/svg%3E") no-repeat center/contain;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   BOOKING SUMMARY – REDESIGNED
   ══════════════════════════════════════════════════════════════════════ */

/* ── Hero Image with Overlay ── */
.mkdf-pnp-summary__hero {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mkdf-pnp-summary__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    margin: 0;
}

.mkdf-pnp-summary__hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.mkdf-pnp-summary__tour-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.3;
}

/* ── Detail Rows with Icons ── */
.mkdf-pnp-summary__details {
   display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.mkdf-pnp-summary__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f2f4f7;
}

.mkdf-pnp-summary__row:last-child {
    border-bottom: none;
}

.mkdf-pnp-summary__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: #f4f6f9;
}

.mkdf-pnp-summary__icon svg {
    width: 16px;
    height: 16px;
    stroke: #7a8a9a;
}

.mkdf-pnp-summary__row-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.mkdf-pnp-summary__label {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mkdf-pnp-summary__value {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b3c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Total Card ── */
.mkdf-pnp-summary__total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff7f0 0%, #fff2e8 100%);
    border: 1px solid #fde0c4;
    border-radius: 10px;
}

.mkdf-pnp-summary__total-label {
    font-size: 14px;
    font-weight: 600;
    color: #5a4a3a;
}

.mkdf-pnp-summary__total-price {
    font-size: 22px;
    font-weight: 800;
    color: #e87722;
    letter-spacing: -0.02em;
}


/* ══════════════════════════════════════════════════════════════════════
   PAYMENT FORM
   ══════════════════════════════════════════════════════════════════════ */

/* ── Fields ── */
.mkdf-pnp-field {
    margin-bottom: 20px;
}

.mkdf-pnp-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3d4f5f;
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.mkdf-pnp-field label .req {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1;
}

.mkdf-pnp-field label .mkdf-pnp-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.55;
}

.mkdf-pnp-field input[type="text"],
.mkdf-pnp-field input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5dce6;
    border-radius: 8px;
    font-size: 15px;
    color: #1a2b3c;
    background: #f9fafb;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    letter-spacing: 0.04em;
}

.mkdf-pnp-field input:focus {
    border-color: #e87722;
    background: #fff;
    box-shadow: none;
}

.mkdf-pnp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Accepted Cards Badge ── */
.mkdf-pnp-accepted-cards {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 14px;
    background: #f7f9fb;
    border: 1px solid #eef1f5;
    border-radius: 8px;
}

.mkdf-pnp-accepted-cards__label {
    font-size: 11px;
    font-weight: 600;
    color: #7a8a9a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.mkdf-pnp-accepted-cards__icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mkdf-pnp-accepted-cards__icons svg {
    width: 36px;
    height: 24px;
    opacity: 0.8;
}

/* ── Gift Card ── */
.mkdf-pnp-giftcard {
    background: #f9fafb;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.mkdf-pnp-giftcard h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mkdf-pnp-note {
    font-size: 12px;
    color: #7a8a9a;
    margin-top: 8px;
    line-height: 1.5;
}

/* ── Messages ── */
#mkdf-pnp-messages {
    margin-bottom: 16px;
}

.mkdf-pnp-msg {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.mkdf-pnp-msg--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.mkdf-pnp-msg--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* ── Button Row ── */
.mkdf-pnp-btn-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}

/* ── Back Button ── */
.mkdf-pnp-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 24px;
    min-height: 50px;
    background: #fff;
    color: #3d4f5f;
    text-decoration: none;
    border: 1px solid #d5dce6;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.mkdf-pnp-back-btn:hover {
    background: #f7f9fb;
    border-color: #b8c4d0;
    color: #1a2b3c;
    text-decoration: none;
}

.mkdf-pnp-back-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Pay Button ── */
.mkdf-pnp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 50px;
    padding: 0 28px;
    background: #e87722;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.mkdf-pnp-btn:hover:not(:disabled) {
    background: #d46a1c;
}

.mkdf-pnp-btn:active:not(:disabled) {
    background: #c25f17;
}

.mkdf-pnp-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mkdf-pnp-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Secure Note ── */
.mkdf-pnp-secure-note {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mkdf-pnp-secure-note svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* ── Trust Strip ── */
.mkdf-pnp-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef1f5;
}

.mkdf-pnp-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.mkdf-pnp-trust-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* ── Block Notices ── */
.mkdf-pnp-block {
    padding: 24px;
    border-radius: 10px;
    margin: 20px 0;
}

.mkdf-pnp-block--permanent {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.mkdf-pnp-block--permanent h3 {
    color: #b91c1c;
    margin: 0 0 8px;
}

.mkdf-pnp-block--temp {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.mkdf-pnp-block--temp h3 {
    color: #92400e;
    margin: 0 0 8px;
}

/* ── Success Page ── */
.mkdf-pnp-success {
    max-width: 560px;
    margin: 60px auto;
    text-align: center;
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mkdf-pnp-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #16a34a;
    font-size: 34px;
    font-weight: bold;
}

.mkdf-pnp-success__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 14px;
}

.mkdf-pnp-success__text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.mkdf-pnp-success__ref {
    font-size: 13px;
    color: #94a3b8;
}

.mkdf-pnp-success__ref code {
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #475569;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
   
   
   
  
@media (max-width: 768px) {
    .mkdf-pnp-checkout-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 24px auto;
    }

    .mkdf-pnp-field-row {
        grid-template-columns: 1fr;
    }
.mkdf-pnp-summary__details {
    grid-template-columns: 1fr;
}
    .mkdf-pnp-summary,
    .mkdf-pnp-payment {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .mkdf-pnp-summary__image {
        height: 160px;
    }

    .mkdf-pnp-btn-row {
        flex-direction: column-reverse;
    }

    .mkdf-pnp-btn-row .mkdf-pnp-btn,
    .mkdf-pnp-btn-row .mkdf-pnp-back-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .mkdf-pnp-trust-strip {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .mkdf-pnp-checkout-wrap {
        padding: 0 14px;
        margin: 16px auto;
    }

    .mkdf-pnp-summary,
    .mkdf-pnp-payment {
        padding: 18px 14px;
    }

    .mkdf-pnp-summary__title,
    .mkdf-pnp-payment__title {
        font-size: 15px;
    }

    .mkdf-pnp-summary__image {
        height: 140px;
    }

    .mkdf-pnp-summary__icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .mkdf-pnp-summary__icon svg {
        width: 14px;
        height: 14px;
    }

    .mkdf-pnp-summary__total-price {
        font-size: 20px;
    }

    .mkdf-pnp-success {
        padding: 36px 24px;
        margin: 24px auto;
    }

    .mkdf-pnp-success__title {
        font-size: 22px;
    }

    .mkdf-pnp-accepted-cards {
        flex-wrap: wrap;
    }
}