.nppc-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
}

.nppc-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: #0e8d56;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.nppc-download-btn:hover { background: #0b7648; }
.nppc-download-btn:disabled { opacity: 0.8; cursor: wait; }
.nppc-preview-note { margin-top: 8px; font-size: 14px; color: #666; }

.nppc-card-shell {
    position: absolute;
    left: -99999px;
    top: auto;
    width: 1000px;
    overflow: hidden;
}

.nppc-card {
    width: 1000px;
    color: #fff;
    font-family: "Noto Sans Bengali", Arial, sans-serif;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.nppc-top-logo { display: block; max-height: 74px; max-width: 330px; }
.nppc-top-logo-text { font-weight: 800; font-size: 30px; line-height: 1.1; }
.nppc-right-heading { font-size: 24px; font-weight: 800; line-height: 1.15; }
.nppc-right-subtext { font-size: 14px; font-weight: 600; margin-top: 6px; opacity: 0.95; }
.nppc-title { margin: 0; font-weight: 800; }
.nppc-category {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 18px;
    font-weight: 700;
}
.nppc-meta { margin-top: 16px; font-size: 18px; font-weight: 600; opacity: 0.95; }
.nppc-footer-logo { max-height: 58px; max-width: 110px; }

/* Template 1 - closest to sample */
.nppc-template-sample_red {
    background: #d80f16;
    min-height: 1000px;
}

.nppc-template-sample_red::before {
    content: "";
    position: absolute;
    left: 0;
    top: 468px;
    width: 150px;
    height: 110px;
    background: linear-gradient(180deg, #ffffff 0 26%, #109f5a 26% 100%);
    clip-path: polygon(0 0, 100% 0, 72% 50%, 100% 100%, 0 100%);
}

.nppc-template-sample_red::after {
    content: "";
    position: absolute;
    right: 0;
    top: 468px;
    width: 150px;
    height: 110px;
    background: linear-gradient(180deg, #ffffff 0 26%, #109f5a 26% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 28% 50%);
}

.nppc-sample-topbar {
    height: 118px;
    background: #18a85f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.nppc-sample-left { max-width: 50%; }
.nppc-sample-right { max-width: 34%; text-align: right; }
.nppc-sample-accent { height: 14px; background: #ecf8ef; }

.nppc-sample-image-zone {
    padding: 18px 130px 12px;
    position: relative;
    z-index: 2;
}

.nppc-sample-image-frame {
    background: #ffffff;
    padding: 12px;
    border: 3px solid rgba(255,255,255,0.92);
    clip-path: polygon(0 0, 91% 0, 100% 8%, 100% 100%, 9% 100%, 0 92%);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.nppc-sample-image-frame img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    clip-path: polygon(0 0, 91% 0, 100% 8%, 100% 100%, 9% 100%, 0 92%);
}

.nppc-sample-content {
    position: relative;
    z-index: 2;
    padding: 22px 94px 14px;
    text-align: center;
}

.nppc-template-sample_red .nppc-title {
    font-size: 48px;
    line-height: 1.32;
    text-shadow: 0 2px 0 rgba(0,0,0,0.04);
}

.nppc-sample-footer {
    position: relative;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px 24px;
}

.nppc-footer-center { font-size: 18px; font-weight: 700; }
.nppc-footer-logo-corner {
    position: absolute;
    right: 18px;
    bottom: 16px;
}

/* Template 2 - clean green */
.nppc-template-clean_green {
    background: linear-gradient(180deg, #118a57 0%, #d71920 54%, #c80d14 100%);
    min-height: 1000px;
}

.nppc-clean-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: rgba(255,255,255,0.12);
}

.nppc-clean-top-right { max-width: 34%; text-align: right; }
.nppc-clean-body { padding: 26px 74px 0; }
.nppc-clean-image-frame {
    background: #fff;
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.nppc-clean-image-frame img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 22px;
}

.nppc-clean-content { text-align: center; padding: 28px 28px 16px; }
.nppc-template-clean_green .nppc-title { font-size: 46px; line-height: 1.3; }
.nppc-clean-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 22px 26px;
}
.nppc-clean-footer .nppc-footer-text { font-size: 20px; font-weight: 700; }
