.container-main {
    padding: 0 !important;
}

.hand {
    cursor: pointer;
}

.removeme {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 42px;
    padding: 4px 9px;
    z-index: 1;
    font-size: 33px;
}

.figureimage {
    margin: 1% !important;
    max-width: 98% !important;
    height: 150px !important;
}

.file_image {
    position: absolute;
    bottom: 1%;
    width: 100%;
    background-color: rgba(173, 173, 173, 0.77);
}

.tinysmall {
    height: 42px !important;
}

.image_previw {
    position: absolute;
    overflow: hidden;
    left: 0;
    width: 100%;
    height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.image_previw.load {
    background-image: url("../images/other/loading.webp");
}

.image_previw .removeme {
    display: none;
}

.image_previw.active .removeme {
    display: block;
}

.bg-darkblue {
    background-color: #2a3f54;
}

.qr-section {
    background-color: #ffffff;
    padding: 10px 10px;
    border: 0.15rem solid #b2b2b2;
    border-radius: 0.25em;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
    height: 100%;
    position: relative;
    min-height: 160px;
}

.qr-section button {
    padding: 10px 20px;
    border: 1px solid #b2b2b2;
    outline: none;
    border-radius: 0.25em;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #008000ad;
    transition: 0.3s background-color;
}

.qr-section button:hover {
    background-color: #008000;
}

#html5-qrcode-anchor-scan-type-change {
    display: none;
}

#html5-qrcode-select-camera {
    color: #22262a;
    appearance: none;
    background-color: #fff;
    border: 1px solid hsl(214, 40%, 80%);
    border-radius: 2px;
    background-clip: padding-box;
    width: 100%;
    padding: .5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: block;
    text-align: center;
    margin-top: 2px;
}

.qr-section video {
    max-width: 300px !important;
}

#qr-result__scan_region {
    width: 300px !important;
    height: 300px !important;
    overflow: hidden;
}

.qr-section .loadingExtraspinner {
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    display: flex;
}

.qr-section .loadingExtraspinner .loaderwebp {
    width: 108px;
    background-image: url("../images/other/loading.webp");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cardimgtop200 {
    max-width: 100% !important;
    height: 200px !important;
}

.h-90 {
    height: 90% !important
}

.h-10 {
    height: 10% !important
}

.container-main {
    overflow-x: auto !important;
}

joomla-tab > joomla-tab-element {
    min-height: 500px;
}

.mycontainer {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px 4px 4px 4px;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 9px;
    padding: 8px;
    word-break: break-all;
    word-wrap: break-word;
    text-align: justify;
    overflow-x: auto;
}

.horizon-scroll {
    overflow-x: auto;
}

.table tbody a:not(.badge) {
    text-decoration: none;
    font-weight: bold;
}

.clear {
    clear: both;
}


.tinypic {
    width: 120px;
    height: 90px;
    border-radius: 5px;
}

.smallpic {
    padding: 2px;
    max-width: 60px;
    height: 60px;
    border-radius: 5px;
}

.qrpic {
    width: 90px;
    height: 90px;
    border-radius: 5px;
}

.loading {
    border: 1px solid darkred;
    border-radius: 5px;
}

.loading:after {
    content: "";
    position: absolute;
    z-index: 19;
    top: calc(50% - 20px);
    left: 50%;
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid darkred;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.width-100 {
    min-width: 100px;
    max-width: 100px;
}

.width-120 {
    min-width: 120px;
    max-width: 120px;
}

.width-160 {
    min-width: 160px;
    max-width: 160px;
}

.width-100p {
    min-width: 100%;
}

.width-200 {
    min-width: 200px;
}

.width-400 {
    min-width: 400px;
}

.height-50 {
    height: 50px;
    overflow: hidden;
}

.text-on-pannel {
    background: #fff none repeat scroll 0 0;
    height: auto;
    margin-left: 20px;
    padding: 3px 5px;
    position: absolute;
    margin-top: -29px;
    border: 1px solid #337ab7;
    border-radius: 8px;
}

.panel {
    /* for text on pannel */
    margin-top: 27px !important;
}

.panel-body {
    padding-top: 5px !important;
}

.text-bold {
    font-weight: bold;
}

.form-container {
    padding: 1rem;
    margin: 2rem auto;
    background-color: #fcfcfc;
    border: 1px solid #e6e6e6;
    width: 50%;
}

/* HTML5 Boilerplate accessible hidden styles */
.promoted-input-checkbox {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.promoted-checkbox input:checked + label > svg {
    height: 24px;
    -webkit-animation: draw-checkbox ease-in-out 0.2s forwards;
    animation: draw-checkbox ease-in-out 0.2s forwards;
}

.promoted-checkbox label:active::after {
    background-color: #e6e6e6;
}

.promoted-checkbox label {
    color: #0080d3;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.promoted-checkbox label:before {
    content: "";
    height: 20px;
    width: 20px;
    margin-right: 1rem;
    float: left;
    border: 2px solid #0080d3;
    border-radius: 3px;
    transition: 0.15s all ease-out;
}

.promoted-checkbox.has-danger {
    flex: 1;
}

.promoted-checkbox svg {
    stroke: #0080d3;
    stroke-width: 2px;
    height: 0;
    width: 25px;
    position: absolute;
    left: 3px;
    top: -6px;
}

@-webkit-keyframes draw-checkbox {
    0% {
        stroke-dashoffset: 33;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-checkbox {
    0% {
        stroke-dashoffset: 33;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.radio-tile-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: inherit;
}

.radio-tile-group .input-container {
    position: relative;
    height: 2rem;
    width: auto;
    margin: 0.5rem;
}

.radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .input-container .radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid #079ad9;
    border-radius: 5px;
    padding: 1rem;
    transition: transform 300ms ease;
}

.radio-tile-group .input-container .icon svg {
    fill: #079ad9;
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .input-container .radio-tile-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #079ad9;
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile {
    background-color: #079ad9;
    border: 2px solid #079ad9;
    color: white;
    transform: scale(1.1, 1.1);
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile .icon svg {
    fill: white;
    background-color: #079ad9;
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile .radio-tile-label {
    color: white;
    background-color: #079ad9;
}

#fieldsresult .form-control-feedback {
    border: 1px solid #c1cad1;
    margin: 3px 0;
    width: 100%;
}

#fieldsresult .invalid {
    border-color: #ac0c0c;
    color: #ac0c0c;
}

.d-flex .control-group {
    flex: 1;
}

.m-w-80 {
    min-width: 80%;
}

.m-h-80 {
    min-height: 80%;
}

.h-80 {
    height: 80% !important;
}

.h-70 {
    height: 70% !important;
}

.h-60 {
    height: 60% !important;
}

.h-50 {
    height: 50% !important;
}

.m-h-90 {
    min-height: 90%;
}

.h-90 {
    height: 90%;
}

.number-data {
    margin-top: -8px;
}

.box-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 3%;
    top: -25px;
    line-height: 38px;
}

.box-extra-badge {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 60%;
    top: 10%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><rect fill='rgb(255,255,255)' x='10%' y='10%' width='90%' height='90%'/></svg>");
    background-position: center;
    background-size: cover;
}

.box-extra-badge:before {
    font-size: 35px;
}

.form-select {
    min-width: 100%;
}

.icon-panel {
    display: block;
    width: 35px;
    height: 35px;
}

.bg-panel {
    background: url(../images/logo/panel.png) no-repeat;
}

.icon-file-excel:before {
    content: "\f1c3";
}

.extrapic {
    --s: 200px; /* control the size */
    --c1: #1d1d1d;
    --c2: #4e4f51;
    --c3: #3c3c3c;

    background: repeating-conic-gradient(from 30deg, #0000 0 120deg, var(--c3) 0 180deg) calc(.5 * var(--s)) calc(.5 * var(--s) * 0.577),
    repeating-conic-gradient(from 30deg, var(--c1) 0 60deg, var(--c2) 0 120deg, var(--c3) 0 180deg);
    background-size: var(--s) calc(var(--s) * 0.577);
    width: 300px;
    min-width: 300px;
    height: 300px;
    float: left;
    margin: 1px;
    position: relative;
    padding: 1px;
}

.extrapic.center {
    line-height: 300px !important;
    text-align: center;
    --s: 200px;
    --c1: #9d1d1d;
    --c2: #9e4f51;
    --c3: #6c3c3c;

    background: repeating-conic-gradient(from 30deg, #0000 0 120deg, var(--c3) 0 180deg) calc(.5 * var(--s)) calc(.5 * var(--s) * 0.577),
    repeating-conic-gradient(from 30deg, var(--c1) 0 60deg, var(--c2) 0 120deg, var(--c3) 0 180deg);
    background-size: var(--s) calc(var(--s) * 0.577);
}

.qr-section {
    background-color: #ffffff;
    padding: 10px 10px;
    border: 0.15rem solid #b2b2b2;
    border-radius: 0.25em;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
    height: 100%;
    position: relative;
    min-height: 160px;
}

.qr-section button {
    padding: 10px 20px;
    border: 1px solid #b2b2b2;
    outline: none;
    border-radius: 0.25em;
    color: white;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #008000ad;
    transition: 0.3s background-color;
}

.qr-section button:hover {
    background-color: #008000;
}

#html5-qrcode-anchor-scan-type-change {
    display: none;
}

#html5-qrcode-select-camera {
    color: #22262a;
    appearance: none;
    background-color: #fff;
    border: 1px solid hsl(214, 40%, 80%);
    border-radius: 2px;
    background-clip: padding-box;
    width: 100%;
    padding: .5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: block;
    text-align: center;
    margin-top: 2px;
}

.qr-section video {
    max-width: 300px !important;
}

#qr-result__scan_region {
    width: 300px !important;
    height: 300px !important;
    overflow: hidden;
}

.qr-section .loadingExtraspinner {
    width: 100%;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    display: flex;
}

.qr-section .loadingExtraspinner .loaderwebp {
    width: 108px;
    background-image: url("../images/other/loading.webp");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.backgray {
    background-color: #80808059;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


.MyToast {
    display: none;
    position: fixed;
    bottom: calc(50% - 25px);
    right: calc(50% - 125px);
    border-radius: 12px;
    background: #fff;
    padding: 20px 30px 20px 10px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    z-index: 9999999999999;
}

.MyToast.danger {
    border: 1px solid darkred;
}

.MyToast.success {
    border: 1px solid darkgreen;
}

.MyToast.active {
    display: block;
    animation: toastanimate 1s ease-out forwards;
}

.toggled .MyToast.active {
    right: 280px;
    transform: translateX(0%);
}

.MyToast .MyToast-content {
    display: flex;
    align-items: center;
}

.MyToast-content .checkstatus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    line-height: 35px;
    min-width: 35px;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.MyToast .checkstatus {
    display: none;
}

.MyToast.success .text-title {
    color: darkgreen;
}

.MyToast.success .checkstatus.btn-success {
    display: block;
}

.MyToast.primary .checkstatus.btn-primary {
    display: block;
}

.MyToast.primary .text-title {
    color: darkblue;
}

.MyToast.danger .checkstatus.btn-danger {
    display: block;
}

.MyToast.danger .text-title {
    color: darkred;
}

.MyToast.warning .checkstatus.btn-warning {
    display: block;
}

.MyToast.warning .text-title {
    color: darkorange;
}

.MyToast-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 18px;
    font-weight: 600;
    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
}

.MyToast .close {
    position: absolute;
    top: 10px;
    left: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.rtl .MyToast .close {
    left: unset;
    right: 15px;
}

.MyToast .close:hover {
    opacity: 1;
}

.MyToast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;

}

.MyToast .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #2770ff;
}

.MyToast.active .progress:before {
    animation: progress 13s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}

@keyframes toastanimate {
    0% {
        bottom: -150px;
        right: 5px;
    }
    100% {
        bottom: 50px;
        right: 5px;
        transform: translateX(0%);
    }
}

.width-25px {
    width: 25px;
    max-width: 25px;
    min-width: 25px;
    text-align: center;
}

.height-25px {
    height: 25px;
    max-height: 25px;
}

.p-15r {
    padding: 0.15rem;
}

.width-45px {
    width: 45px;
    max-width: 45px;
}

.width-50px {
    width: 50px;
    max-width: 50px;
}

.width-75px {
    min-width: 75px;
    max-width: 75px;
}

.width-100px {
    min-width: 100px;
    max-width: 100px !important;
}

.close-top-right {
    position: absolute;
    top: -17px;
    right: -22px;
    background-color: white;
    color: black;
    width: 35px;
    height: 35px;
    z-index: 1;
    border: 1px solid gray;
    border-radius: 5px;
    font-size: 22px;
    cursor: pointer;
}

.modal-fullscreen {
    max-width: 96% !important;
    max-height: 90% !important;
    margin: 2% !important;
}

jdp-container {
    z-index: 9999999999 !important;
}

.counterdata {
    top: 5px;
    min-width: 25px;
    text-align: center;
    height: 25px;
    position: absolute;
}

.counterdata-left {
    left: 5px;
}

.counterdata-right {
    right: 5px;
}

select > option {
    color: black !important;
    width: 100%;
    height: 25px;
}

.form-select {
    min-width: 200px;
}

.tbody-icon .icon-unpublish, .tbody-icon .icon-times, .tbody-icon .fa-times {
    color: #ac0c0c !important;
    border-color: #ac0c0c !important;
}

.tbody-icon .icon-archive, .tbody-icon .icon-archive, .tbody-icon .fa-archive {
    color: #d6a308 !important;
    border-color: #d6a308 !important;
}

@media (max-width: 600px) {
    table.responsive {
        border: 0;
    }

    table.responsive caption {
        font-size: 1.3em;
    }

    table.responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.responsive tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 0.625em;
    }

    table.responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 0.8em;
        text-align: right !important;
        min-height: 40px;
    }

    table.responsive td::before {
        content: attr(data-label);
        float: right;
        font-weight: bold;
        width: 100px;
        text-align: center;
    }

    table.responsive td:last-child {
        border-bottom: 0;
    }
}

.tbody-icon [class="icon-unpublish"] {
    color: white !important;
    background-color: #ac0c0c !important;
    border: 2px solid #ac0c0c !important;
}

.modal-90p {
    width: calc(100% - 100px) !important;
    max-width: none !important;
    height: calc(100% - 100px) !important;
    margin: 50px !important;
}

.modal-body img {
    object-fit: contain;
}

.extraicon {
    width: 50px;
    height: 50px;
    position: absolute;
    right: -25px;
    top: -25px;
}

.sidebar {
    height: 100vh;
    background: #2a3f54;
    color: #fff;
    padding-top: 1rem;
}

.sidebar button {
    color: #ddd;
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: none;
    outline: none;
    margin-bottom: 5px;
    border-radius: 8px;
    height: 45px;
    overflow: hidden;
}

.sidebar button:hover, .sidebar button.active {
    background: #1abb9c;
    color: #fff;
}

.admincard {
    min-width: 295px;
}

.box-circle {
    height: 2rem;
    width: 2rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.box-cube {
    height: 2rem;
    border-radius: 5px;
    min-width: 32px;
    text-align: center;
    max-width: 100%;
}

.top-pos {
    position: absolute;
    top: 2px;
    left: 4px;
}

.border-left-primary {
    border-left: .25rem solid #4e73df !important
}

.border-bottom-primary {
    border-bottom: .25rem solid #4e73df !important
}

.border-left-secondary {
    border-left: .25rem solid #858796 !important
}

.border-bottom-secondary {
    border-bottom: .25rem solid #858796 !important
}

.border-left-success {
    border-left: .25rem solid #1cc88a !important
}

.border-bottom-success {
    border-bottom: .25rem solid #1cc88a !important
}

.border-left-info {
    border-left: .25rem solid #36b9cc !important
}

.border-bottom-info {
    border-bottom: .25rem solid #36b9cc !important
}

.border-left-warning {
    border-left: .25rem solid #f6c23e !important
}

.border-bottom-warning {
    border-bottom: .25rem solid #f6c23e !important
}

.border-left-danger {
    border-left: .25rem solid #e74a3b !important
}

.border-bottom-danger {
    border-bottom: .25rem solid #e74a3b !important
}

.border-left-light {
    border-left: .25rem solid #f8f9fc !important
}

.border-bottom-light {
    border-bottom: .25rem solid #f8f9fc !important
}

.border-left-dark {
    border-left: .25rem solid #5a5c69 !important
}

.border-bottom-dark {
    border-bottom: .25rem solid #5a5c69 !important
}

.logo-box {
    height: 80px !important;
    min-width: 80px !important;
}

.hovericon {
    transition: box-shadow 1s;
    position: relative;
    min-height: 130px;
}

.hovericon .card-body {
    min-height: 112px;
}

.hovericon .card-body .row {
    min-height: 80px;
    line-height: 80px;
}

.hovericon:hover {
    box-shadow: 0 0 14px 4px rgba(0, 0, 0, 0.25);
}

.hovericon img {
    max-width: 100%;
}

.hovericon span {
    text-align: center;
    font-size: 20px;
    position: absolute;
    right: 0;
    width: 50%;
    padding-top: 65px;
}

.group-card {
    position: relative;
    width: 320px;
    padding: 25px 20px;
    background: #f2f3f5;
    border-radius: 14px;
    border: 1px solid #9f9f9f;
    border-left: 4px solid #e53935;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: Tahoma, sans-serif;
}

.group-card .group-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-card .group-content h3 {
    margin: 0;
    font-size: 20px;
    color: #1f2d3d;
}

.group-card .badge {
    position: absolute;
    min-width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
}

.group-card .badge-top {
    top: 10px;
    left: 10px;
    background: #e8f5e9;
    border: 2px solid #2e7d32;
    color: #2e7d32;
}

.group-card .badge-bottom {
    bottom: 10px;
    left: 10px;
    background: #fdecea;
    border: 2px solid #e53935;
    color: #e53935;
}

.group-card .badge-right {
    bottom: 10px;
    right: 10px;
    background: #fdf3ea;
    border: 2px solid #e5a435;
    color: #e58435;
}

.group-card .grid-icon {
    display: grid;
    grid-template-columns: repeat(2, 26px);
    grid-gap: 8px;
}

.group-card .grid-icon span {
    width: 26px;
    height: 26px;
    background: linear-gradient(145deg, #4fc3f7, #1e88e5);
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.15);
}

.text-bg-darkdanger {
    color: #fff !important;
    background-color: darkred !important;
}

.pagingextra {
    position: relative;
    text-align: center;
    padding: 20px 0;
    font-size: 0;
    z-index: 6;
    margin: 50px 0;
    animation: cdp-in 500ms ease both;
    list-style: none;
}

.pagingextra .page-item {
    font-size: 14px;
    text-decoration: none;
    transition: background 250ms;
    display: inline-block;
    text-transform: uppercase;
    margin: 0 3px 6px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    border: 2px solid white;
    line-height: 38px;
    padding: 0;
    color: white;
    font-weight: 700;
    letter-spacing: 0.03em;
    background-color: grey;
    overflow: hidden;
}

.pagingextra .page-item a.page-link, .pagingextra .page-item span.page-link {
    padding: 3px;
    transition: 0.2s all;
    width: 100%;
    text-align: center;
    height: 100%;
    line-height: 26px;
}

.pagingextra .page-item a:hover {
    background-color: rgba(119, 11, 11, 0.91);
}

.pagingextra .page-item.active {
    background-color: #075dc6 !important;
}

.pagingextra .disabled > .page-link, .pagingextra .page-link.disabled {
    /*background-color: rgba(16, 16, 0, 0.44);*/
}


.card-style-nine {
    background: #F5F5F5;
    padding: 55px 45px 35px;
}

.mb-50 {
    margin-bottom: 50px;
}

.card-style-nine .tag {
    font-size: 14px;
    line-height: 29px;
    padding: 0 12px;
    left: 0;
    top: 15px;
    z-index: 1;
}

.card-style-nine .tag.end {
    left: auto;
    right: 0;
}

.card-style-nine .logo-wrapper {
    height: 300px;
}

.card-style-nine .logo-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.pt-35 {
    padding-top: 35px;
}

.btn-eight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 18px;
    color: #030303;
    padding: 0 22px;
    min-width: 160px;
    text-align: center;
    line-height: 51px;
    border: 1px solid #000;
    transition: all 0.3s ease-in-out 0s;
}

.btn-eight:hover, .btn-eight:focus {
    background: #FF3F25;
    border-color: #FF3F25;
    color: #fff;
}

.card-style-nine .agency-name {
    font-size: 24px;
    margin-bottom: 12px;
    height: 34px;
    overflow: hidden;
}

.mb-80 {
    margin-bottom: 80px;
}

.pb-45 {
    padding-bottom: 45px;
}

.pt-40 {
    padding-top: 40px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pb-15 {
    padding-bottom: 15px;
}

.fs-20 {
    font-size: 20px;
}

.lh-lg {
    line-height: 2 !important;
}

.input-box-two .label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.48);
    margin-bottom: 8px;
}

.input-box-two .type-input {
    width: 100%;
    height: 60px;
    border: 1px solid #000;
    border-radius: 10px;
    color: #000;
    padding: 0 20px;
}

.g-xxl-5, .gx-xxl-5 {
    --bs-gutter-x: 3rem;
}

.order-lg-first {
    order: -1 !important;
}

.project-details-one .image-wrapper {
    margin: 0 16px 40px 0;
}

.project-details-one .details-text .tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.6px;
    line-height: 23px;
    border: 1px solid #000;
    color: #000;
    padding: 0 10px;
    margin-bottom: 10px;
}

.project-details-one .details-text .project-info-outline {
    background-size: cover;
    padding: 40px;
    background-color: #80808059;
}

.project-details-one .details-text .project-info-outline .main-bg {
    background: #fff;
    padding: 5px;
}

.project-details-one .details-text .project-info-outline .main-bg li {
    border-bottom: 1px solid #000;
    padding: 40px 50px 40px 10px;
}

.project-details-one .details-text .project-info-outline .main-bg li:last-child {
    border-bottom: none;
}

.project-details-one .details-text .project-info-outline .main-bg li .icon {
    position: absolute;
    left: 0;
}

.project-details-one .details-text .project-info-outline .main-bg li strong {
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    display: block;
    margin-bottom: 5px;
}

.project-details-one .details-text .project-info-outline .main-bg li span {
    font-size: 16px;
    display: block;
    color: rgba(0, 0, 0, 0.5);
}

.project-details-one .details-text .project-info-outline .main-bg li .num {
    font-size: 36px;
    color: rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.project-details-one .details-text .social-icon li:first-child {
    color: rgba(0, 0, 0, 0.4);
}

.project-details-one .details-text .social-icon a {
    font-size: 20px;
    color: #000;
    margin: 0 0 0 18px;
    transition: all 0.2s ease-in-out 0s;
}

.project-details-one .details-text .social-icon a:hover {
    color: #FF6725;
}

.project-details-one .page-pagination {
    border-top: 1px solid #000;
}

.project-details-one .page-pagination .page-title .img {
    width: 80px;
}

.project-details-one .page-pagination .page-title span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.28px;
    display: block;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.style-none {
    list-style: none;
}

.h-45x {
    height: 45px !important;
}

.h-50x {
    height: 50px !important;
}

.charitysidebar, .charitysidebar .sidebar {
    transition: all 0.3s ease-in-out 0s;
}

.charitysidebar.close .sidebar {
    width: 85px;
}

.charitysidebar:not(.close) .sidebar b.title {
    width: 100%;
    height: 40px;
}

.charitysidebar.close .sidebar b.title {
    max-width: 0;
    max-height: 0;
    overflow: hidden;
}

.charitysidebar.close .charitysidebarright {
    width: calc(100% - 90px);
}

.charitysidebar:not(.close) .icon-toggle-off {
    display: none;
}

.charitysidebar.close .icon-toggle-on {
    display: none;
}

.person-logo {
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.person-logo-0 {
    background-image: url("../images/other/female.png");
}

.person-logo-1 {
    background-image: url("../images/other/male.png");
}

/*Profile Data*/
.profile-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-header {
    background: linear-gradient(120deg, #2b5876, #4e4376);
    padding: 40px 20px 80px 20px;
    text-align: center;
    position: relative;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background: #fff;
    margin-top: -80px;
    transition: all 0.3s;
    z-index: 1;
}

.avatar:hover {
    transform: scale(1.05);
}

.info-section {
    padding: 30px 30px 40px;
}

.info-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    transition: all 0.2s;
}

.info-item:hover {
    background-color: #f8f9fa;
    padding-right: 10px;
    border-radius: 15px;
}

.badge-custom {
    background: #4e4376;
    color: white;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    margin: 4px;
    display: inline-block;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #f1f3f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s;
    color: #4e4376;
    font-size: 1.4rem;
}

.social-icon:hover {
    background: #4e4376;
    color: white;
    transform: translateY(-5px);
}

.btn-edit {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-edit:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-box {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .info-section {
        padding: 20px;
    }
}

/* Block User */

.ct-productBox {
    -webkit-box-shadow: 0px 3px 0px 0px #3d82c8;
    -moz-box-shadow: 0px 3px 0px 0px #3d82c8;
    box-shadow: 0px 3px 0px 0px #3d82c8;
}

.ct-productBox .ct-productBox-DescriptionInner a {
    color: #498bcf;
}

.ct-productBox .ct-productBox-DescriptionInner a:hover {
    color: #498bcf;
}

.ct-productBox .ct-price {
    color: #498bcf;
}

.ct-productBox--moreInfo .ct-currency {
    color: #498bcf;
}

.ct-productBox--moreInfo-inline .ct-productBox-deliveryInformation .starrr i {
    color: #498bcf;
}

.ct-productBox--moreInfo-inline .ct-discount {
    color: #498bcf;
}

.ct-deliveryBox .ct-productBox-deliveryInformation .starrr i {
    color: #498bcf;
}

.ct-deliveryBox .ct-discount {
    color: #498bcf;
}

.ct-productBox {
    background-color: #fff;
    margin-left: 20px;
    display: table;
}

.ct-productBox .ct-productBox-image {
    width: 200px;
    display: table-cell;
    vertical-align: top;
    position: relative;
}

.ct-productBox .ct-productBox-Description {
    display: table-cell;
    vertical-align: top;
    position: relative;
}

.ct-productBox img {
    max-width: none;
    margin: 0 auto;
    width: 200px;
}

.ct-productBox .ct-productBox-imageContainer {
    position: relative;
    top: -20px;
    left: -20px;
}

.ct-productBox .ct-productBox-DescriptionInner {
    padding: 40px 28px 25px 8px;
}

.ct-productBox .ct-productBox-DescriptionInner p {
    font-size: 14px;
    line-height: 26px;
    color: #4d4d4d;
}

.ct-productBox .ct-productBox-Meta {
    padding: 0 28px 0 8px;
}

.ct-productBox .ct-price {
    font-size: 30px;
    float: right;
}

.ct-productBox.ct-productBox--style2 {
    margin: 0;
    padding: 0 20px 20px 20px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.ct-productBox.ct-productBox--style2 .ct-productBox-imageContainer {
    top: 0;
    left: 0;
}

.ct-productBox.ct-productBox--style2 .ct-productBox-DescriptionInner {
    padding: 15px 0;
}

.ct-productBox.ct-productBox--style2 .ct-productBox-DescriptionInner a {
    color: inherit;
}

.ct-productBox.ct-productBox--style2 .ct-select-label,
.ct-productBox.ct-productBox--style2 input {
    display: inline-block;
    float: left;
    text-align: left;
}

.ct-productBox.ct-productBox--style2 .ct-select-label {
    width: 55%;
    line-height: 28px;
}

.ct-productBox.ct-productBox--style2 input {
    width: 45%;
}

@media (max-width: 500px) {
    .ct-productBox {
        width: 100%;
    }

    .ct-productBox {
        margin-left: 0;
    }

    .ct-productBox .ct-productBox-imageContainer {
        left: 0;
        top: 0;
    }

    .ct-productBox .ct-productBox-image {
        width: 100%;
    }

    .ct-productBox .ct-productBox-image, .ct-productBox .ct-productBox-Description {
        display: block;
    }

    .ct-productBox {
        display: grid;
    }

    .ct-productBox img {
        width: 100%;
    }
}

/*Page Navigation*/

.pagination-container {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.pagination .page-item .page-link {
    border: none;
    margin: 0 4px;
    border-radius: 8px !important;
    color: #555;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

/* رنگ دکمه فعال */
.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
}

.pagination .page-link:hover:not(.active) {
    background-color: #e9ecef;
    color: #0d6efd;
}

.page-info {
    color: #888;
    font-size: 0.9rem;
    margin-top: 15px;
}

.hero {
    height: 420px;
    position: relative;
}

.hero-img {
    height: 420px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, .65);
    position: absolute;
    inset: 0;
    color: white;
    display: flex;
    align-items: center;
}

.gallery img {
    border-radius: 10px;
    transition: .3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.countdown {
    font-size: 20px;
    font-weight: bold;
    color: #0d6efd;
}

/* کارت منوی اصلی با طراحی نرم و سایه ظریف */
.menu-card {
    width: 100%;
    margin: 0 auto;
    border: none;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(0px);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.menu-card:hover {
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    color: #1e2a3e;
}

.card-header i {
    color: #3b82f6;
    margin-left: 10px;
    font-size: 1.5rem;
}

/* محتوای منو با اسکرoll نرم */
.menu-body {
    padding: 0.8rem 0.5rem 1rem 0.5rem;
}

/* استایل درختی اصلی */
.tree-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* آیتم سطح اول (مادر) */
.menu-item-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin: 5px 8px;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-weight: 500;
    color: #1f2937;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.menu-item-parent:hover {
    background: #f8fafd;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ساید چپ (آیکون + متن) */
.item-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.item-label i {
    width: 28px;
    font-size: 1.25rem;
    color: #3b82f6;
    transition: 0.2s;
}

.item-label span {
    font-size: 1rem;
    font-weight: 500;
}

/* دکمه توگل (chevron) */
.toggle-icon {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s;
    cursor: pointer;
}

.toggle-icon:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #0a58ca;
}

.toggle-icon i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

/* زیرشاخه‌ها (سطح دوم) */
.submenu {
    list-style: none;
    margin: 0;
    overflow: hidden;
}

.submenu li {
    margin: 4px 0;
}

.submenu li .child-item i.notacived {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: RGBA(var(--primary-rgb), var(--bg-opacity, 1));
    color: white;
    margin-left: 0;
    padding-top: 4px;
    text-align: center;
}

.submenu li .child-item:not(.active) i.notacived {
    display: none;
}

.submenu .child-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 18px;
    background: #f9fafc;
    transition: all 0.2s;
    cursor: pointer;
    color: #334155;
    font-weight: 450;
    border: 2px solid transparent;
}

.submenu .child-item:hover {
    background: #eef2ff;
    border-color: #3b82f6;
    padding-right: 22px;
    color: #1e40af;
}

.submenu .child-item i {
    margin-left: 12px;
    width: 22px;
    font-size: 0.9rem;
    color: #6b7280;
}

.submenu .child-item:hover i {
    color: #3b82f6;
}

/* کلاس‌های مربوط به وضعیت باز/بسته شدن (jQuery با انیمیشن) */
.submenu.collapsed {
    display: none;
}

.submenu:not(.collapsed) {
    display: block;
    animation: fadeSlideDown 0.25s ease forwards;
}

/* چرخش آیکون chevron هنگام باز بودن */
.menu-item-parent[aria-expanded="true"] .toggle-icon i {
    transform: rotate(180deg);
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* استایل اسکرول بار شیک */
.menu-body::-webkit-scrollbar {
    width: 5px;
}

.menu-body::-webkit-scrollbar-track {
    background: #eef2ff;
    border-radius: 10px;
}

.menu-body::-webkit-scrollbar-thumb {
    background: #b9c8f0;
    border-radius: 10px;
}

/* حالت active برای شبیه سازی انتخاب (اختیاری) */
.child-item.active {
    background: #ffeeee !important;
    color: RGBA(var(--primary-rgb), var(--bg-opacity, 1)) !important;
}

.menu-item-parent.active {
    background: RGBA(var(--primary-rgb), var(--bg-opacity, 1)) !important;
    color: white;
}

/* responsive */
@media (max-width: 576px) {
    .menu-card {
        margin: 0 10px;
    }

    .submenu {
        padding-right: 1rem;
    }

    .item-label span {
        font-size: 0.9rem;
    }
}

/* جداکننده ظریف */
.small-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, #ddd, transparent);
    margin: 6px 12px;
}

.orderimage {
    position: absolute;
    right: 15px;
    top: -80px;
    background-color: white;
    width: 25px;
    border-radius: 50%;
    height: 25px;
    text-align: center;
    cursor: pointer;
}

.fade-back {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    border-radius: 15px;
}

/* عنوان صفحه */
.page-header {
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-header .title {
    font-size: 3rem;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* گرید کارت‌ها */
.ExtraCarts-grid {
    margin: 0 auto;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 10;
}

/* کارت اصلی */
.ExtraCart-BaseCard {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.ExtraCart-BaseCard:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
}

/* هدر کارت با رنگ گرادیانت اختصاصی */
.BaseCard-header {
    padding: 10px 20px 20px;
    position: relative;
    overflow: hidden;
}

.BaseCard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
}

.ExtraCart-BaseCard:hover .BaseCard-header::before {
    opacity: 1;
}

.ExtraCart-image {
    height: 215px;
    padding: 0;
}

.ExtraCart-image img {

}

/* عنوان رویداد */
.ExtraCart-title {
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    height: 45px;
    overflow: hidden;
}

/* تاریخ */
.ExtraCart-date {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.date-badge {
    background: #8f092c;
    color: white;
    padding: 6px;
    border-radius: 40px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.date-badge i {
    font-size: 0.9rem;
}

.date-range {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* توضیحات */
.ExtraCart-description {
    padding: 0 25px 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* فوتر کارت */
.BaseCard-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-badge {
    background: rgba(76, 175, 80, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #4caf50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-btn:hover {
    background: #ff6b6b;
    transform: translateX(-5px);
}

/* انیمیشن ورود کارت‌ها */
.ExtraCart-BaseCard {
    opacity: 0;
    transform: translateY(30px);
    animation: BaseCardFadeIn 0.6s forwards;
}

@keyframes BaseCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأخیر در انیمیشن هر کارت */
.ExtraCart-BaseCard:nth-child(1) {
    animation-delay: 0.1s;
}

.ExtraCart-BaseCard:nth-child(2) {
    animation-delay: 0.2s;
}

.ExtraCart-BaseCard:nth-child(3) {
    animation-delay: 0.3s;
}

.ExtraCart-BaseCard:nth-child(4) {
    animation-delay: 0.4s;
}

.ExtraCart-BaseCard:nth-child(5) {
    animation-delay: 0.5s;
}

/* مودال برای جزئیات بیشتر */
.ExtraCartModal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.ExtraCartModal-overlay.active {
    display: flex;
    opacity: 1;
}

.ExtraCartModal-content {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.95), rgba(20, 20, 40, 0.98));
    backdrop-filter: blur(20px);
    border-radius: 35px;
    max-width: 500px;
    width: 90%;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s;
    text-align: center;
}

.ExtraCartModal-overlay.active .ExtraCartModal-content {
    transform: scale(1);
}

.ExtraCartModal-content i {
    font-size: 3rem;
    color: #ffb347;
    margin-bottom: 20px;
}

.ExtraCartModal-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.ExtraCartModal-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.close-ExtraCartModal {
    background: #ff6b6b;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-family: inherit;
    cursor: pointer;
    font-size: 1rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .ExtraCarts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .ExtraCart-title {
        font-size: 1.4rem;
    }

    .BaseCard-header {
        padding: 20px 20px 15px;
    }

    .ExtraCart-description {
        padding: 0 20px 15px;
        font-size: 0.85rem;
    }
}

/* اسکرول‌بار زیبا */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #ff6b6b;
    border-radius: 10px;
}

/* Donation */
.donation-section .donation-card {
    border: none;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(0px);
    background: rgba(255, 255, 255, 0.96);
}

.donation-section .paymethod-logo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
}

.donation-section .card-header-custom {
    background: #1E3A5F;
    padding: 1.8rem 2rem;
    color: white;
    border-bottom: none;
}

.donation-section .card-header-custom h2 {
    font-weight: 700;
    font-size: 1.9rem;
    letter-spacing: -0.3px;
}

.donation-section .card-header-custom p {
    opacity: 0.85;
    font-weight: 400;
    margin-bottom: 0;
}

.donation-section .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2c3e66;
    margin-bottom: 0.4rem;
}

.donation-section .required-star {
    color: #d9534f;
    font-size: 0.9rem;
}

.donation-section .form-control,
.donation-section .form-select {
    border-radius: 1rem;
    border: 1px solid #cfdfed;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
    background-color: #fff;
    height: 48px;
}

.donation-section .form-control:focus,
.donation-section .form-select:focus {
    border-color: #1E3A5F;
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 95, 0.2);
}

.donation-section .donation-option-btn {
    border-radius: 2rem;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: 0.2s;
    background: #f8fafc;
    border: 1px solid #cddfe7;
    color: #1f3a64;
}

.donation-section .donation-option-btn.active {
    background: #1E3A5F;
    border-color: #1E3A5F;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.donation-section .amount-preset {
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #dee7ef;
    font-weight: 600;
    padding: 0.7rem 0;
}

.donation-section .amount-preset:hover,
.donation-section .amount-preset.selected-amount {
    background: #1E3A5F;
    color: white;
    border-color: #1E3A5F;
    transform: translateY(-2px);
}

.donation-section .payment-method-card {
    border: 1.5px solid #e2edf7;
    border-radius: 1.2rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
    margin-bottom: 0.75rem;
}

.donation-section .payment-method-card.active-method {
    border-color: #1E3A5F;
    background-color: #F0F5FA;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

.donation-section .btn-donate {
    background: #2C5F2D;
    border: none;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 2rem;
    transition: all 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 5px 10px rgba(44, 95, 45, 0.3);
}

.donation-section .btn-donate:hover {
    background: #1f4720;
    transform: scale(0.98);
}

.donation-section .cra-note {
    background: #f0f4fa;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 0.75rem;
    color: #2c3e50;
}

.donation-section .info-badge {
    font-size: 0.7rem;
}

.donation-section hr {
    background-color: #cbdde9;
}

.donation-section .toggle-anonymous {
    background: #f9fbfd;
    border-radius: 1.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid #dde6ef;
}

.donation-section .btn.disabledme {
    pointer-events: none;
    opacity: var(--bs-btn-disabled-opacity);
}

.gender-switch {
    display: flex;
    background: #f1f5f9;
    border-radius: 3rem;
    padding: 0.2rem;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 280px;
}

.gender-option {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid #334155;
    border-radius: 2rem;
    margin-right: 1px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.gender-option.active-gender {
    background: #1E3A5F;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .donation-section .card-header-custom h2 {
        font-size: 1.6rem;
    }
}

.title-header {
    color: #102a4c;
}

.div-header-box {
    transform: translateY(0px);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 20px 35px -12px;
}

.table-header-gradient {
    background: linear-gradient(98deg, #1e2a47 0%, #0f1a2f 100%) !important;
    color: white;
    border-radius: 24px 24px 0 0;
}

.table thead.table-header-gradient th {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    padding: 1rem 0.85rem;
    border-bottom: none;
    background: linear-gradient(98deg, #1e2a47 0%, #0f1a2f 100%) !important;
    color: white;
}

.table thead.table-header-gradient th a {
    color: white;
}

.table tbody td {
    vertical-align: middle;
    padding: 1rem 0.85rem;
    font-weight: 450;
    color: #1f2a44;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table tbody tr:hover {
    background-color: #f8fbff;
    transition: 0.2s;
}

.badge-pay {
    background-color: #eef2ff;
    color: #1e3a8a;
    padding: 0.4rem 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.amount-badge {
    font-weight: 700;
    color: #0b2b4b;
    background: #eef2ff;
    padding: 0.3rem 0.8rem;
    border-radius: 36px;
    display: inline-block;
    font-size: 0.9rem;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: #eef2ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.footer-note {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fafcff;
    border-radius: 0 0 28px 28px;
}

.search-box {
    border-radius: 60px;
    padding: 0.5rem 1rem;
    border: 1px solid #dee2ef;
    background: white;
}

.search-box:focus {
    box-shadow: 0 0 0 3px rgba(30, 42, 71, 0.2);
    border-color: #1e2a47;
}

@media (max-width: 768px) {
    .table thead th {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }

    .table tbody td {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
    }

    .amount-badge {
        font-size: 0.75rem;
    }
}

.stat-card {
    background: white;
    border-radius: 24px;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.box-datestart {

}

.box-datestart-details {

}

.box-datestart-detail {

}

/* ── Header ── */
.card__header {
    background: #f4faf0;
    padding: 14px 16px 0;
}

.card__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card__charity {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card__charity-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #3a8c3f;
    stroke-width: 1.8;
}

.card__charity-name {
    font-size: 12px;
    font-weight: 600;
    color: #3a8c3f;
    letter-spacing: 0.8px;
}

.card__age-badge {
    background: #6abf69;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.card__avatar-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: 0;
}

.card__avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c8e6c0;
    background: #e8f5e1;
}

.card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Sponsor bar ── */
.card__sponsor-bar {
    background: #5cb85c;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card__sponsor-bar-extra {
    padding: 8px 16px;
    display: flex;
    background-color: brown !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card__sponsor-icon {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

.card__sponsor-text {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.6px;
}

/* ── Body ── */
.card__body {
    padding: 16px 20px 0;
    background: #ffffff;
}

.card__name {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.card__dates {
    border-top: 1px dashed #c8e6c0;
    padding-top: 12px;
    margin-bottom: 4px;
}

.card__dates-label {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-bottom: 8px;
}

.card__dates-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #5cb85c;
    stroke-width: 1.8;
}

.card__dates-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.card__dates-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666666;
    padding: 0 4px;
}

/* ── Footer ── */
.card__footer {
    padding: 14px 20px 18px;
    background: #ffffff;
}

.card__details-btn {
    display: block;
    text-align: center;
    padding: 9px;
    border: 1.5px solid #a5d6a7;
    border-radius: 20px;
    color: #4caf50;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #f9fef9;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.card__details-btn:hover {
    background: #5cb85c;
    color: #ffffff;
    border-color: #5cb85c;
}

.table thead a#sorted {
    color: unset !important;
}

.eft-import-card {
    max-width: 640px;
    margin: 1.5rem auto;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);
}

.eft-import-card .card-head {
    background: linear-gradient(135deg, #2c6cbe 0%, #1c4f9c 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.eft-import-card .card-head .exticon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.eft-dropzone {
    width: 100%;
    position: relative;
    border: 2px dashed #c4ccd6;
    border-radius: .85rem;
    background: #f7f9fc;
    padding: 2.25rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .1s ease;
}

.eft-dropzone:hover {
    border-color: #2c6cbe;
    background: #eef4fc;
}

.eft-dropzone.is-dragover {
    border-color: #1c4f9c;
    background: #e3eefb;
    transform: scale(1.01);
}

.eft-dropzone.has-file {
    border-style: solid;
    border-color: #1a9d5a;
    background: #effaf2;
}

.eft-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.eft-dropzone .dz-icon {
    font-size: 2.6rem;
    color: #2c6cbe;
    margin-bottom: .5rem;
}

.eft-dropzone.has-file .dz-icon {
    color: #1a9d5a;
}

.eft-dropzone .dz-filename {
    font-weight: 600;
    word-break: break-all;
}

.eft-format-badge {
    display: inline-block;
    background: #e9eef5;
    color: #3b4a5e;
    border-radius: 999px;
    padding: .15rem .7rem;
    font-size: .8rem;
    font-weight: 600;
    margin: 0 .15rem;
}


.ev-wrap {
    --ev-accent: #1c6ea4;
}

.ev-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(135deg, #123a5c, #1c6ea4);
    color: #fff;
}

.ev-hero img.ev-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
}

.ev-hero .ev-hero-body {
    position: relative;
    padding: 2.5rem 2rem;
    z-index: 2;
}

.ev-badge {
    display: inline-block;
    padding: .25rem .8rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.ev-badge.active {
    background: rgba(40, 167, 69, .9);
}

.ev-badge.upcoming {
    background: rgba(255, 193, 7, .9);
    color: #3d2c00;
}

.ev-badge.ended {
    background: rgba(108, 117, 125, .9);
}

.ev-meta {
    opacity: .9;
}

.ev-card {
    background: #fff;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .08);
}

.ev-action-card {
    border-top: 4px solid var(--ev-accent);
}

.cd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
}

.cd-box {
    background: #0f2e49;
    color: #fff;
    border-radius: .7rem;
    padding: .7rem .25rem;
    text-align: center;
}

.cd-box .cd-num {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cd-box .cd-lbl {
    font-size: .68rem;
    text-transform: uppercase;
    opacity: .8;
    letter-spacing: .03em;
}

.ev-donate-btn {
    font-size: 1.05rem;
    font-weight: 600;
    padding: .7rem 1rem;
}

.ev-reminder {
    background: #f6f9fc;
    border: 1px solid #e3ecf5;
    border-radius: .8rem;
    padding: 1rem;
}

.mid-hr {
    padding: 5px 0;
    margin: 0;
    display: table;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.mid-hr:before,
.mid-hr:after {
    border-top: 1px solid #ccc;
    content: ' ';
    display: table-cell;
    position: relative;
    width: 50%;
}

.childpay-section .field-row {
    background: #fbfdff;
    border: 1px solid #e8eef5;
    border-radius: 1.25rem;
    padding: 1.1rem 1.25rem;
    height: 100%;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.childpay-section .field-row:hover {
    border-color: #c3d6ea;
    box-shadow: 0 10px 24px -16px rgba(30, 58, 95, .55);
    transform: translateY(-2px);
}

.childpay-section .field-row .control-label,
.childpay-section .field-row label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #2c3e66;
    margin-bottom: .55rem;
}

.childpay-section .field-row .field-ico {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    background: #eef4fb;
    color: #1E3A5F;
    font-size: .9rem;
}

.childpay-section .field-row .controls .form-control,
.childpay-section .field-row .controls .form-select,
.childpay-section .field-row .controls input,
.childpay-section .field-row .controls select {
    border-radius: 1rem;
    border: 1px solid #cfdfed;
    padding: .7rem 1rem;
    font-size: .95rem;
    background-color: #fff;
    transition: all .2s;
}

.childpay-section .field-row .controls .form-control:focus,
.childpay-section .field-row .controls .form-select:focus,
.childpay-section .field-row .controls input:focus,
.childpay-section .field-row .controls select:focus {
    border-color: #1E3A5F;
    box-shadow: 0 0 0 .25rem rgba(30, 58, 95, .18);
    outline: none;
}

.childpay-section .field-row.is-amount .controls {
    position: relative;
}

/* ---- selected child preview card ---- */
.childpay-section .field-child .controls > .col-12 {
    margin-bottom: 0 !important;
}

.childpay-section .field-child .lazy-img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 8px 18px -10px rgba(30, 58, 95, .45);
    background: #eef4fb;
}

.childpay-section .field-child .logo-wrapper {
    text-align: center;
}

.childpay-section .field-child .btn-eight {
    display: inline-block;
    margin-top: .6rem;
    padding: .4rem 1.1rem;
    border-radius: 2rem !important;
    background: #1E3A5F;
    color: #fff !important;
    font-weight: 600;
    font-size: .8rem;
    text-decoration: none;
    transition: all .2s;
}

.childpay-section .field-child .btn-eight:hover {
    background: #14304f;
    transform: translateY(-1px);
}

.childpay-section .field-child .table {
    margin-bottom: 0;
}

.childpay-section .field-child .table td {
    border: none;
    border-bottom: 1px solid #eef2f7;
    padding: .5rem .6rem;
    font-size: .9rem;
    vertical-align: middle;
    background: transparent;
}

.childpay-section .field-child .table tr:last-child td {
    border-bottom: none;
}

.childpay-section .field-child .table td:first-child {
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    width: 42%;
}

.childpay-section .field-child .table td:last-child {
    color: #1e293b;
    font-weight: 500;
}

.childpay-section .form-actions {
    border-top: 1px dashed #d4e0ec;
    padding-top: 1.5rem;
    margin-top: .5rem;
}

.childpay-section .btn-childsave {
    background: #2C5F2D;
    border: none;
    padding: .8rem 2.2rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 2rem;
    color: #fff;
    letter-spacing: .5px;
    box-shadow: 0 6px 14px rgba(44, 95, 45, .3);
    transition: all .2s;
}

.childpay-section .btn-childsave:hover {
    background: #1f4720;
    transform: translateY(-1px);
}

.childpay-section .btn-childcancel {
    background: #fff;
    border: 1px solid #e0c3c3;
    padding: .8rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 2rem;
    color: #b23b3b;
    transition: all .2s;
}

.childpay-section .btn-childcancel:hover {
    background: #fbeaea;
    border-color: #d9534f;
}

.extraheight .select2-container {
    overflow: hidden;
}
.extraheight .select2-container .selection {
    border: none;
    outline: 0;
    height: 100%;
    display: grid;
}