/* Custom fix for the digital stamp banner */
.digital-stamp-header-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.digital-stamp-card {
    width: 100%;
    padding: 8px 0;
    background: #F3F4F6;
    margin: 0;
}

.digital-stamp-card .digital-stamp-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0.75rem;
}

    .digital-stamp-card .digital-stamp-header h6 {
        margin: 0px;
        color: #161616;
        font-size: 14px;
    }

    .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
        cursor: pointer;
    }

        .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card span {
            color: #1B8354;
            font-size: 14px;
        }

        .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card svg,
        .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card img {
            transition: 0.3s;
        }

    .digital-stamp-card .digital-stamp-header.open .btn-digital-stamp-card svg,
    .digital-stamp-card .digital-stamp-header.open .btn-digital-stamp-card img {
        transform: rotate(180deg);
    }

.btn-digital-stamp-card img {
    margin-right: 4px;
    margin-left: 4px;
}

.digital-stamp-card .digital-stamp-body {
    padding-top: 40px;
    padding-bottom: 32px;
    display: none;
    width: 100%;
    margin: 0 auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

    .digital-stamp-card .digital-stamp-body .digital-stamp-container {
        margin-bottom: 32px;
        display: flex;
        gap: 32px;
    }

        .digital-stamp-card .digital-stamp-body .digital-stamp-container .box {
            display: flex;
            align-items: flex-start;
            gap: 18px;
        }

            .digital-stamp-card .digital-stamp-body .digital-stamp-container .box .img-border-rounded {
                padding: 14px 16px;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid #067647;
                border-radius: 100%;
            }

            .digital-stamp-card .digital-stamp-body .digital-stamp-container .box h6 {
                margin-top: 0px;
                margin-bottom: 12px;
                color: #161616;
                font-size: 18px;
            }

            .digital-stamp-card .digital-stamp-body .digital-stamp-container .box .green-text {
                color: #1B8354;
            }

            .digital-stamp-card .digital-stamp-body .digital-stamp-container .box p {
                margin: 0px;
                color: #384250;
                font-size: 16px;
            }

    .digital-stamp-card .digital-stamp-body .stamp-link-box {
        padding: 8px 28px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 8px;
        background: #FFF;
    }

        .digital-stamp-card .digital-stamp-body .stamp-link-box p {
            margin: 0px;
            color: #161616;
            font-size: 16px;
        }

        .digital-stamp-card .digital-stamp-body .stamp-link-box a {
            color: #1B8354;
            font-size: 16px;
            text-decoration: underline;
        }

.stamp-ar {
    direction: rtl;
}

.stamp-en {
    direction: ltr;
}

/* Responsive layout to match Bootstrap container behavior */
@media (min-width: 576px) {
    .digital-stamp-card .digital-stamp-header,
    .digital-stamp-card .digital-stamp-body {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .digital-stamp-card .digital-stamp-header,
    .digital-stamp-card .digital-stamp-body {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .digital-stamp-card .digital-stamp-header,
    .digital-stamp-card .digital-stamp-body {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .digital-stamp-card .digital-stamp-header,
    .digital-stamp-card .digital-stamp-body {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .digital-stamp-card .digital-stamp-header,
    .digital-stamp-card .digital-stamp-body {
        max-width: 1320px;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .digital-stamp-card {
        padding: 8px 16px;
    }

        .digital-stamp-card .digital-stamp-header {
            flex-wrap: wrap;
        }

            .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
                flex: 100%;
                margin-right: 33px;
            }

        .digital-stamp-card .digital-stamp-body .digital-stamp-container {
            flex-direction: column;
        }

    [dir="ltr"] .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
        margin-right: 0px;
        margin-left: 33px;
    }
}
