@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2'), url('../fonts/Vazir.eot') format('embedded-opentype'), url('../fonts/Vazir.ttf') format('truetype'), url('../fonts/Vazir.woff') format('woff');
}

* {
    font-family: Vazir !important
}

body {
    background: url("Images/bg2.jpg");
    background-size: cover;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.rtl {
    direction: rtl !important;
}

.ltr {
    direction: ltr !important;
}


/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

* {
}

.main-container {
    text-align: right;
    background: #f9f9f9;
    /*box-shadow: 0 0 5px 0px #d6d6d6;*/
    box-shadow: 0 0 7px 0px #7c5b7e;
    margin-bottom: 90px;
}

@media (max-width: 575.98px) {
    .main-container {
        margin-bottom: 137px;
    }

    .order-index-container .right-section {
        /*padding: 0px !important;*/
    }

    #post-link-section {
        /*padding:11px !important;*/
    }

    .order-section-title {
        padding-right: 30px !important;
    }

    #follower-section {
        margin-top: 13px;
    }
}

@media (min-width: 991.98px) {
    .main-container {
        margin: 70px 0px;
        border-radius: 25px;
    }
}

input[type="text"]::placeholder {
    color: #d0cfcf;
}

label[disabled] {
    color: #aaa;
}

input[type=checkbox] {
    cursor: pointer;
}

.form-control {
    border-radius: 0px;
    border-color: #969696;
}

input[type="checkbox"] {
    transform: scale(1.5);
}


/*Index*/

#myModal,
#paymentmodal {
    background: #0000006b !important;
}

.payment-alert {
    line-height: 33px;
    text-align: justify;
}

.order-index-container .left-section {
    border-radius: 25px 0px 0px 0px;
    background-color: #7c5b7e;
    color: white;
}

    .order-index-container .left-section ul {
        margin-top: 20px;
    }

        .order-index-container .left-section ul li {
            font-size: 14px;
        }

.main-title {
    font-size: 17px;
    padding-top: 9px;
}

.main-subtitle {
    font-size: 14px;
    color: #888888;
}

.main-page-gift-logo {
    margin-top: 80px;
}

    .main-page-gift-logo img {
        width: 118px;
    }

button.custom-btn {
    border: 1px solid #654967;
    background: #7c5b7e;
    color: white;
    padding: 7px 20px;
    /* border-radius: 23px; */
    margin-top: 30px;
}

.form-control:focus {
    box-shadow: unset !important;
    border-color: #7c5b7e !important;
}

.order-index-container .right-section {
    padding: 27px 31px;
}

.chk-type {
    margin-right: unset !important;
    transform: scale(1.5);
    margin-left: 10px !important;
    cursor: pointer;
}

.chk-type-label {
    margin-top: 4px;
    margin-left: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
}

.col-form-label {
    margin-right: 6px;
}

.form-check-label {
    user-select: none;
    cursor: pointer;
}

.xpost-chk {
    /* margin-top: 10px; */
    transform: scale(1.3);
    margin-left: 5px;
}

.display-none {
    display: none;
}

#xpost-like-input,
#xpost-comment-input,
#winner-input,
#min-mention-input {
    display: contents;
}

#min-comment-input {
    display: contents;
}

#xpost-like-input *,
#xpost-comment-input *,
#min-mention-input * {
    user-select: none;
}

.mobileHelp {
    font-size: 11px;
}

.order-type-section {
    margin-bottom: 14px;
    margin-top: 34px;
}

#mobile-number-section {
    margin-top: 44px;
}

.order-main-section {
    background: white;
    padding: 12px 20px;
    border: 1px solid #969696;
    position: relative;
}

.order-section-title {
    position: absolute;
    right: 0;
    background: #7c5b7e;
    color: white;
    padding: 5px 15px;
    border-radius: 5px 0px 0px 5px;
    font-size: 16px;
}

.order-tools-devider {
    margin-bottom: 67px;
}

#xpost-like-section *,
#xpost-comment-section *,
#min-mention-section * {
    font-size: 14px !important;
}

.MessagesBox {
    border: 1px solid #c02828;
    background: #ffe2e2;
    margin-bottom: 10px;
    color: #d40707;
    padding: 11px 0px;
    font-size: 14px;
}

.shortinfo-box {
    /*width: 140px;*/
}

.order-shortinfo-section {
    margin-top: 26px;
}

.shortinfo-box {
    margin-top: 60px;
    border: 1px solid #c2c2c2;
    border-radius: 10px;
    background: #e7e7e7;
    padding: 16px 1px;
}

.order-submit-btn {
    width: 100%;
}

.shortinfo-ul {
    list-style: none;
}

    .shortinfo-ul li {
        margin-bottom: 10px;
    }

#LoadingDiv {
    /*border-radius: 0px 26px 26px 0px;*/
    background: #ffffff;
    color: white;
    text-align: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
}

    #LoadingDiv div div {
        margin-left: auto;
        margin-right: auto;
    }

.loading-text {
    color: #7c5b7e;
}

.info-alert {
    font-size: 13px;
}

.header-download-btn {
    background-repeat: no-repeat;
    background-position: right;
    font-size: 14px;
    background-size: 32px;
    padding: 8px 0px 8px 4px;
    font-weight: bold;
    color: #ffffff;
    background-color: #080808;
    border-color: #eaeaea;
}

.left-download-btn {
    background-repeat: no-repeat;
    background-position: right;
}

@media (max-width: 575.98px) {
    .home-title-section {
        background: #7c5b7e;
        padding: 20px 0px;
    }

    .main-title {
        color: white;
    }

    .main-subtitle {
        color: #c1c1c1;
    }
}


/*./Index*/


/*PayResult*/

.pay-result-icon {
    width: 90px;
}


/*./PayResult*/


/*Order Detail*/

.details-card {
    border-color: #222f3e;
}

    .details-card .card-header {
        background: #222f3e;
    }

        .details-card .card-header a {
            color: white;
        }

.order-detail-label {
    font-size: 14px;
    color: #515050;
}

.order-detail-ul {
    list-style: url("Images/item-bullet.png");
}

    .order-detail-ul li {
        margin-bottom: 7px;
    }

.order-rules-ul li {
    margin-bottom: 17px;
}

.form-check-input {
    margin-left: 4px !important;
}

.order-sponsers-ul {
    list-style: none;
}


/*./Order Detail*/


/*Giveaway Page*/

.mentioncount {
    position: absolute;
    right: 0;
    background: #de1f29;
    color: white;
    font-weight: bold;
    padding: 5px 5px 5px 12px;
    border-radius: 25px 0px 0px 25px;
    font-size: 13px;
    top: 0;
}

.winner-profile-image {
    width: 100%;
    /*height: 300px;*/
}

.winner-item-inner {
    position: relative;
}

.winner-detail-section {
    background: #232323d9;
    color: white;
    height: 30px;
    position: absolute;
    width: 100%;
    bottom: 31px;
    padding-top: 7px;
    padding-left: 10px;
    font-size: 15px;
    text-align: center;
    direction: ltr;
    text-transform: uppercase;
}

.winner-rank-label {
    background-image: url(Images/rank-label.png);
    background-size: cover;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    height: 80px;
    padding-right: 51px;
    font-size: 40px;
    line-height: 49px;
    font-weight: bold;
    padding-left: 13px;
}

.winner-page-title {
    margin-top: 12px;
    margin-bottom: 16px;
    color: #616161;
    font-size: 18px;
    /*font-weight: bold;*/
    line-height: 32px;
}


.view-comments-btn {
    width: 100%;
    border-radius: 0;
    font-size: 13px;
    background: #9f1d24;
    border: none;
    display: block;
    padding: 6px 0px;
    color: white;
}

.retry-giveaway-btn {
    background-color: #5f5f5f;
    font-size: 14px;
    color: white;
}

.view-profile-alert {
    font-size: 13px;
    background: #f1f1f1;
    color: #494949;
}


.modal #loading-div {
    text-align: center;
    padding: 70px;
}

    .modal #loading-div img {
        width: 80px;
    }



/*./Giveaway Page*/
iframe .pagelogo {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

footer {
    background: #4d4d4d;
    color: #e8e8e8;
    line-height: 40px;
    border-top: 3px solid #ff7917;
    font-size: 13px;
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
}

.footer-link {
    color: #ff7917;
    font-size: 15px;
}

.textbox-sm {
    width: 60px;
}

.pagination li {
    padding-right: 5px;
}

.simple-header {
    background: #fdfdfd !important;
}


/* For Manager Dashboard */

.card-counter {
    box-shadow: 2px 2px 10px #DADADA;
    margin: 5px;
    padding: 20px 10px;
    background-color: #fff;
    height: 100px;
    border-radius: 5px;
    transition: .3s linear all;
}

    .card-counter:hover {
        box-shadow: 4px 4px 20px #DADADA;
        transition: .3s linear all;
    }

    .card-counter.primary {
        background-color: #007bff;
        color: #FFF;
    }

    .card-counter.danger {
        background-color: #ae28ac;
        color: #FFF;
    }

    .card-counter.success {
        background-color: #05b50d;
        color: #FFF;
    }

    .card-counter.info {
        background-color: #26c6da;
        color: #FFF;
    }

    .card-counter i {
        font-size: 5em;
        opacity: 0.2;
    }

    .card-counter .count-numbers {
        position: absolute;
        right: 35px;
        top: 20px;
        font-size: 32px;
        display: block;
    }

    .card-counter .count-name {
        position: absolute;
        right: 35px;
        top: 65px;
        font-style: italic;
        text-transform: capitalize;
        opacity: 0.5;
        display: block;
        font-size: 18px;
    }

.apply-offcode, remove-offcode {
    font-size: 13px;
}

#offcode-section {
    display: none;
}

.old-price {
    text-decoration: line-through;
    color: #999999 !important;
}

span.new-price {
    font-weight: bold;
    color: #2a6e00;
}

.offcode-result {
    font-size: 14px;
    display: none;
}

.remove-offcode {
    display: none;
}

.drp-giveaway-theme {
    /*border: 1px solid #747474;*/
    border-radius: 5px;
    font-size: 14px;
    color: #585858;
    height: 35px;
}

.grecaptcha-badge {
    visibility: hidden;
}

.completion-time-li {
    background: white;
    text-align: center;
    border: 1px solid #cbcbcb;
    padding: 4px;
    font-size: 14px;
}

.home-page-profile-img {
    width: 178px;
}

.idpaylogo {
    padding: 5px;
    background: white;
    border-radius: 10px;
}

.enamad img {
    background: white;
    padding: 3px;
    border-radius: 6px;
}

.enamad {
    text-align: center;
    margin-top: 55px;
}

.application-description {
    padding: 50px 32px 28px 32px;
    line-height: 30px;
    color: #656565;
    font-size: 14px;
    width: 100%;
}

    .application-description h1 {
        font-size: 19px;
        font-weight: bold;
    }

    .application-description h2 {
        font-size: 17px;
        font-weight: bold;
    }

    .application-description h3 {
        font-size: 14px;
        font-weight: bold;
    }

    .application-description > h2, h3 {
        margin-top: 20px;
    }

    .application-description p {
        margin-bottom: 4px;
    }

/* Number stepper: دکمه + و − برای input عددی (موبایل) */
.number-stepper {
    display: inline-flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ced4da;
    background: #f1f3f5;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.04);
}

.number-stepper .form-control {
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-radius: 0;
    max-width: 3.5rem;
    min-width: 2.5rem;
    min-height: 44px;
    height: 100%;
    align-self: stretch;
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
    font-weight: 600;
    box-sizing: border-box;
}

.rtl .number-stepper .form-control {
    border-left: none;
    border-right: none;
    border-inline-start: 1px solid #dee2e6;
    border-inline-end: 1px solid #dee2e6;
}

.btn-stepper {
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    color: #7c5b7e;
    background: #f1f3f5;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: none !important;
    box-shadow: none !important;
    transition: background 0.15s ease;
}

.btn-stepper:hover {
    background: #e2e6ea;
    color: #5a4559;
}

.btn-stepper:active {
    background: #dee2e6;
}

.btn-stepper:focus,
.btn-stepper:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.number-stepper .form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #dee2e6;
}

.number-stepper:has(.form-control:disabled) .btn-stepper {
    opacity: 0.6;
    pointer-events: none;
}

/* تراز وسط: چک‌باکس، متن‌ها و استپر عددی در یک راستا */
.form-row:has(.number-stepper) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-row:has(.number-stepper) > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-row:has(.number-stepper) .col-form-label,
.form-row:has(.number-stepper) .form-check-input.xpost-chk {
    margin-bottom: 0;
}

.pwa-install-prompt {
    position: fixed;
    right: auto;
    bottom: 16px;
    left: 50vw;
    z-index: 1100;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    max-width: 620px;
    width: calc(100vw - 32px);
    margin: 0 auto;
    padding: 14px 46px 14px 14px;
    box-sizing: border-box;
    color: #fff;
    background: #2f2633;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.28);
    direction: rtl;
    text-align: right;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.pwa-install-prompt.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.pwa-install-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #2f2633;
    background: #ffd86b;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.pwa-install-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}

.pwa-install-copy strong {
    font-size: 15px;
    font-weight: 800;
}

.pwa-install-copy span {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
}

.pwa-install-action {
    min-height: 42px;
    padding: 0 18px;
    color: #2f2633;
    background: #ffd86b;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.pwa-install-action:hover,
.pwa-install-action:focus {
    background: #ffe08a;
    outline: none;
}

.pwa-install-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    color: rgba(255,255,255,0.78);
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
}

.pwa-install-close:hover,
.pwa-install-close:focus {
    color: #fff;
    outline: none;
}

@media (max-width: 575.98px) {
    .pwa-install-prompt {
        right: auto;
        bottom: 10px;
        left: 50vw;
        width: calc(100vw - 20px);
        grid-template-columns: 1fr;
        padding: 14px 42px 14px 14px;
    }

    .pwa-install-action {
        width: 100%;
    }
}
