.bkash-payment-form, .bkash-payment-result {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

.bkash-payment-form a.button {
    font-size: 18px;
    padding: 10px 20px;
}

.bkash-payment-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.bkash-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 600;
}

.bkash-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.bkash-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bkash-level-card {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ribbon styles */
.ribbon {
    height: 150px;
    left: auto;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(90deg);
    width: 150px;
}

.ribbon .value-ribbon {
    background-color: #e74c3c;
    color: white;
}

.ribbon .popular-ribbon {
    background-color: #2ecc71;
    color: white;
}

.ribbon .ribbon-inner {

    font-size: 13px;
    font-weight: 800;
    left: 0;
    line-height: 2;
    margin-top: 35px;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
    width: 200%;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
}

/* level css */

.level-title-header {
    padding: 55px 0px 0px 0px;
}

.level-title {
    color: #002240;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    line-height: 23px;
    letter-spacing: -0.7px;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    margin-bottom: 15px;
}

.level-price {
    font-size: 48px;
    font-weight: 700;
    color: #002240;
    margin: 5px 0;
    line-height: .8;
}

.price-symbol {
    font-size: calc(85em / 100);
    vertical-align: top;
    position: relative;
    top: 5px;
}

.level-duration {
    color: #364B67;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 25px;
    letter-spacing: -0.35px;
}

.level-features {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    text-align: center;
}

.level-features li {
    margin-bottom: 12px;
    color: #364b67;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: -0.35px;
    position: relative;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
}

.button-wrapper {
    margin-top: auto;
    padding-top: 20px;
}

.bkash-payment-button {
    display: inline-block;
    background: white;
    color: #1e3d59;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    border: 2px solid #1e3d59;
    transition: all 0.3s ease;
    font-size: 16px;
}

.bkash-payment-button:hover {
    background: #1e3d59;
    color: white;
    text-decoration: none;
}

.bkash-error {
    background: #ffeeee;
    border-left: 4px solid #e2136e;
    color: #e2136e;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Payment result pages */
.bkash-payment-result {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bkash-payment-result h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.bkash-payment-result p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.bkash-success, .bkash-failed {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bkash-success svg, .bkash-failed svg {
    margin-bottom: 20px;
}

.membership-details {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 6px;
    text-align: left;
    width: 100%;
}

.membership-details p {
    margin: 8px 0;
}

.bkash-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.bkash-button {
    display: inline-block;
    padding: 10px 20px;
    background: #e2136e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.bkash-button:hover {
    background: #c20e5e;
    text-decoration: none;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bkash-levels-grid {
        grid-template-columns: 1fr;
    }
    
    .bkash-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
