#npcp-modal {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.npcp-box {
    background: #fff;
    border-radius: 20px;
    overflow: visible;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    position: relative;
}

#npcp-close {
    position: absolute;
    top: -16px;
    right: -16px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    width: 25px;
    height: 25px;
    background: red;
    text-align: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

#npcp-card {
    width: 100%;
    border-radius: 20px;
    overflow: visible;
    font-family: 'SolaimanLipi', Arial, sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 15px;
    box-sizing: border-box;
    background: transparent !important;
}

.npcp-topbar {
    display:flex;
    justify-content: space-between;
    /* align-items: center; */
    padding: 10px 0;
}

.npcp-logo img { height: 40px; }

.npcp-date { font-size: 14px; }

.npcp-image-wrap {
    border: 5px solid #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.npcp-image {
    width:100%;
    height:250px;
    object-fit:cover;
}

.npcp-content {
    text-align:center;
}

.npcp-title {
    font-size: 36px;
    margin: 0 0 12px 0;
    line-height: 1.5;
    word-break: break-word;
    white-space: normal;
    padding-top: 10px;
}

.npcp-details {
    background: rgba(0,0,0,0.6);
    padding: 20px 15px; /* উপরে-নিচে সমান */
    border-radius: 12px;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    margin:0 0 10px 0; /* Footer থেকে দূরত্ব */
}

.npcp-footer {
    text-align: center;
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
    padding-top: 10px;
    padding-bottom: 14px;
}

.npcp-bottom {
    display:flex;
    justify-content:center;
    margin-top:10px;
}

.npcp-bottom button {
    padding:10px 18px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    background:#fff;
    font-weight:bold;
    color: black;
}

.npcp-buttons {
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px 0;
}

.npcp-buttons button {
    padding:12px 25px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    background: #9999D9;
    color: black;
    font-weight: normal;
    transition:0.3s;
}

.npcp-buttons button:hover {
    background:#006400;
    color: white;
}

.npcp-logo {
    width: 50%;
}

.npcp-date {
    width: 48%;
    text-align: right;
    align-items: center;
}

.npcp-logo > img {
    height: 40px;
    margin: 0 0 0 0;
}