/* developed by web-premium.ir */
.hmyt-alert,.hmyt-btn,.hmyt-dashboard-wrapper {
}

.hmyt-dashboard-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,.05);
    direction: rtl;
    position: relative
}

.hmyt-tabs-nav {
    display: flex;
    border-radius: 3px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin-bottom: 20px;
    background: #f9fafb;
    box-shadow: 0 5px 10px rgba(0,0,0,.007)
}

.hmyt-tabs-nav::-webkit-scrollbar {
    display: none
}

.hmyt-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    background: #f9fafb;
    transition: .3s;
    font-weight: 500
}

.hmyt-tab svg {
    margin-left: 4px;
    width: 18px;
    height: 18px
}

@media screen and (max-width: 768px) {
    .hmyt-tab {
        padding:8px 12px;
        margin: 0 4px;
        font-size: 13px;
        border-radius: 6px
    }

    .hmyt-tab svg {
        margin-left: 6px;
        width: 16px;
        height: 16px
    }
}

@media screen and (max-width: 480px) {
    .hmyt-tab {
        padding:6px 10px;
        font-size: 12px
    }

    .hmyt-tab svg {
        width: 14px;
        height: 14px
    }
}

.hmyt-tab-active {
    background: #fff;
    font-weight: 700!important;
    color: #ff4f5d!important;
    border-bottom: 2px solid #ff4f5d;
    box-shadow: 0 3px 10px rgb(0 0 0 / 7%)
}

.hmyt-dashboard-wrapper.hidden,.hmyt-numbers.hidden,.hmyt-tab-content,.sidebar-wrapper.hidden {
    display: none
}

.hmyt-tab-content-active,hr {
    display: block
}

.hmyt-box {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 120px
}

.hmyt-stats-boxes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px
}

.hmyt-btn {
    background: #ff4f5d !important;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer
}

.hmyt-btn:disabled {
    background: #d1d5db
}

.hmyt-btn-copy {
    background: #6b7280;
    margin-right: 10px
}

.hmyt-btn-secondary {
    background: #4b5563;
    font-weight: 600;
    margin-left: 10px
}

.hmyt-btn-withdraw {
    margin-bottom: 10px
}

.hmyt-form input,.hmyt-modal input,.hmyt-modal select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px
}

.hmyt-list {
    list-style: none;
    padding-left: 0
}

.hmyt-alert {
    border: 1px solid #ccc;
    display: flex;
    padding: 5px 11px;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px
}

a#hmyt-open-bank-modal,a#hmyt-open-telegram-modal {
    color: #8ca6ad;
    position: relative;
    font-size: 12px;
    transition: transform .2s;
    cursor: pointer
}

a.save-bank#hmyt-open-bank-modal {
    color: #ff4f5d;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    transition: transform .2s
}

.hmyt-alert-error {
    background: #f1e9ec;
    color: #ff4f5d!important;
    border-color: #ff4f5d;
    margin-top: 10px
}

.hmyt-alert-success {
    background: rgba(37,177,213,.12);
    color: #25b1d5!important;
    border-color: #63c6df
}

.hmyt-alert-success-bank {
    background: rgb(135 246 183 / 12%);
    color: #25d56a!important;
    border-color: #87dc97
}

.hmyt-alert-tel {
    background: #eff2f7;
    color: #54667a!important;
    border-color: #54667a
}

.hmyt-alert-warning {
    background: #fff7ed;
    color: #92400e
}

.hmyt-copy-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px
}

.hmyt-description {
    color: #6b7280;
    font-size: 14px
}

.hmyt-products-list-row {
    display: flex;
    flex-direction: column;
}

.hmyt-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f4f4f4;
    border-bottom: solid 8px #f4f4f4;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0,0,0,.04);
    gap: 15px;
    flex-wrap: wrap
}

.hmyt-product-thumb-row {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0
}

.flex-1,.hmyt-product-info {
    flex: 1
}

.hmyt-product-title {
    font-weight: 700;
    color: #334155 !important;
    text-decoration: none;
    font-size: 16px
}

.hmyt-product-title:hover {
    text-decoration: underline;
    color: #2563eb
}

.hmyt-product-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 230px;
    flex-wrap: nowrap
}

.hmyt-product-link input {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px
}

.hmyt-modal-content {
    background: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: .3s ease-out zoomIn;
}

.hmyt-message-error,.hmyt-message-success {
    margin-top: 10px;
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.hmyt-modal-close {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer
}

.hmyt-copy-icon,.hmyt-reset-clicks {
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer
}

.hmyt-message-success {
    color: #10b981
}

.hmyt-message-error {
    color: #991b1b
}

.hmyt-copy-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 14px;
    opacity: .8;
    transition: transform .2s;
    color: #5b667a
}

.hmyt-copy-icon:hover {
    opacity: 1
}

.panel-box-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px
}

.hmyt-input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db!important;
    border-radius: 10px;
    font-size: 14px
}

.transaction-item,.withdraw-head {
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px
}

.transaction-item {
    margin-bottom: 10px
}

.transaction-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px
}

.transaction-head-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500
}

.transaction-head-price svg {
    width: 20px;
    height: 20px
}

.transaction-head-product {
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    gap: 8px
}

.transaction-info-time {
    font-size: 12px;
    color: #6b7280
}

.hmyt-status,.withdraw-btn {
    font-size: 14px;
    font-weight: 600
}

.withdraw-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.withdraw-btns {
    gap: 10px
}

.withdraw-btn {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    background: #edeff2;
    color: #737b85;
    transition: .2s
}

.withdraw-btn:hover {
    background: #d0d4dc
}

.withdraw-btn.primary {
    background: #54667a;
    color: #fff!important;
    transition: .2s
}

.withdraw-btn.primary:hover {
    background: #415266
}

.select-none {
    user-select: none
}

.dt-prmum {
    display: flex;
    flex-direction: column;
    align-items: center
}

.hmyt-status.pending {
    color: #35b5fd
}

.hmyt-status.completed {
    color: #43d343
}

.hmyt-status.canceled {
    color: #9f9f9f
}

.sidebar-wrapper.sidebar-developer {
    background: #f9fafb;
    border-radius: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: right
}

.aff-title.flex.flex-r.flex-icenter {
    padding: 15px 20px 12px
}

.aff-title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 16px
}

.aff-icon {
    width: 24px;
    height: 24px;
    background: #ffb1002e!important;
    color: #ffb100!important;
    border-radius: 7px;
    margin-left: 6px;
    animation: 2s linear infinite alternate affAnimate
}

.hmyt-skeleton,.hmyt-skeleton-tab-item {
    animation: 1.2s ease-in-out infinite skeleton-loading
}

.aff-contents {
    font-size: 14px;
    color: #4b5563;
    padding: 0 15px 15px 12px
}

.sidebar-developer-shop {
    font-size: 14px;
    color: #54667a!important;
    font-weight: 500;
    border-radius: 0 0 8px 8px;
    transition: .2s;
    border-top: 1px solid #efefef;
    background: 0 0;
    padding: 12px 0;
}

.flex {
    display: flex
}

.flex-c {
    flex-direction: column
}

.flex-r {
    flex-direction: row
}

.flex-icenter {
    align-items: center
}

.flex-center {
    justify-content: center
}

.flex-wrap {
    flex-wrap: wrap
}

.ltr {
    direction: ltr
}

@media (max-width: 768px) {
    .withdraw-head {
        display:flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        gap: 15px;
        background: #f9fafb;
        border-radius: 8px;
        margin-bottom: 20px;
        flex-direction: column
    }
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    background: rgb(137 137 137 / 10%);
    margin: 15px 0
}

.hmyt-clicks-box {
    position: relative
}

.hmyt-reset-clicks {
    background: 0 0;
    border: none;
    position: absolute;
    left: 10px;
    padding: 0
}

.hmyt-reset-clicks:hover svg path {
    stroke: #ff4f5d
}

.hmyt-reset-clicks[title]:hover:after {
    content: attr(title);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10
}

.hmyt-reset-clicks[title]:hover:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
    z-index: 10
}

.hmyt-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
    background-color: #ccc!important
}

.telegram-settings-box {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0
}

.telegram-settings-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px
}

.telegram-settings-box label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    cursor: pointer
}

.telegram-settings-box input[type=text] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px
}

.hmyt-form small,.telegram-settings-box small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px
}

.hmyt-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600
}

.hmyt-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 80px
}

.hmyt-telegram-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background .2s
}

.hmyt-telegram-checkbox:hover {
    background: #f0f0f0
}

.hmyt-telegram-checkbox input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: #ff4f5d;
    cursor: pointer
}

.hmyt-telegram-checkbox span {
    font-size: 14px;
    color: #333
}

#telegram-token-wrapper input[type=text] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px
}

#hmyt-telegram-modal .hmyt-modal-content {
    max-width: 450px
}

#hmyt-telegram-modal small {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 5px
}

.hmyt-blocked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 61%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(3px)
}

.hmyt-skeleton,.hmyt-skeleton-wrapper {
    position: relative;
    overflow: hidden
}

.hmyt-blocked-message {
    background: #fff0f1;
    border: 1px solid #ff4f5d;
    color: #ff4f5d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    ;font-size: 15px;
    line-height: 1.6;
    font-weight: 600
}

.hmyt-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05)
}

.hmyt-switch-label {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333
}

.hmyt-switch-label small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-top: 5px
}

.hmyt-switch-toggle {
    display: flex;
    background: #ececec;
    border-radius: 6px
}

.hmyt-switch-item {
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 600;
    color: #9e9e9e;
    cursor: pointer;
    transition: .3s;
    white-space: nowrap
}

.hmyt-switch-item:hover {
    background: #ddd;
    color: #6b7280
}

.hmyt-switch-item.item-selected.item-active {
    background: #49dc4f;
    color: #fff;
    box-shadow: 0 0 0 1px #49dc4f,0 5px 10px rgba(0,0,0,.13)
}

.hmyt-switch-item.item-selected.item-deactive {
    background: #ff5d4e;
    color: #fff;
    box-shadow: 0 0 0 1px #ff5d4e,0 5px 10px rgba(0,0,0,.13)
}

.hmyt-skeleton {
    background: linear-gradient(90deg,#e2e8f0 25%,#d1d9e6 50%,#e2e8f0 75%);
    background-size: 200% 100%;
    border-radius: 10px
}

.hmyt-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    animation: 2s ease-in-out infinite pulse
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@keyframes pulse {
    0%,100% {
        opacity: 0
    }

    50% {
        opacity: .3
    }
}

.hmyt-skeleton-tab {
    display: flex;
    gap: 12px;
    margin-bottom: 24px
}

.hmyt-skeleton-tab-item {
    width: 110px;
    height: 44px;
    background: linear-gradient(90deg,#e2e8f0 25%,#d1d9e6 50%,#e2e8f0 75%);
    background-size: 200% 100%;
    border-radius: 12px
}

.hmyt-skeleton-box,.hmyt-skeleton-input,.hmyt-skeleton-text {
    width: 100%;
    margin-bottom: 12px
}

.hmyt-skeleton-box {
    height: 70px;
    border-radius: 12px
}

.hmyt-skeleton-text {
    height: 24px;
    border-radius: 8px
}

.hmyt-skeleton-input {
    height: 48px;
    border-radius: 12px
}

.hmyt-skeleton-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px
}

.hmyt-skeleton-product-thumb {
    width: 90px;
    height: 90px;
    border-radius: 12px
}

.hmyt-skeleton-product-title {
    width: 65%;
    height: 24px;
    border-radius: 8px
}

.hmyt-skeleton-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px
}

.notice-hmyt-warning {
    border: 1px solid #25b1d5;
    background-color: #25b1d51f;
    color: #25b1d5;
    font-weight: 500
}

.notice-hmyt-success {
    border: 1px solid #3dbf5e;
    background-color: #cbffd747;
    font-weight: 500;
    color: #3dbf5e
}

.notice-hmyt-error {
    border: 1px solid #ff4f5d;
    background-color: #ffcbcf17;
    color: #ff4f5d;
    font-weight: 500
}

.notice-alt,.notice-badge-error {
    color: #fff;
    border-radius: 25px;
    gap: 6px;
    display: flex
}

.notice-alt {
    padding: 4px 8px;
    font-weight: 600!important;
    justify-content: center;
    align-items: center
}

.notice-badge-warning {
    background-color: #25b1d5
}

.notice-badge-success {
    background-color: #3dbf5e;
    background-size: 100%
}

.notice-badge-error {
    background-color: #ff4f5d;
    padding: 1px 8px;
    font-weight: 600;
    justify-content: center;
    align-items: center
}

.notice-hmyt {
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 10px;
    margin: 0
}

.coupon-creator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    background: #f9fafb;
    margin-top: 15px;
}

.coupon-creator-form .form-group {
    flex: 1 1 200px;
}

.coupon-creator-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.coupon-creator-form input {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.coupon-creator-form .submit-group {
    flex-basis: 100%;
    text-align: left;
    margin-top: 10px;
}

.coupon-list-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.coupon-list-item:last-child {
    border-bottom: none;
}

.coupon-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.coupon-code {
    font-family: monospace;
    background: #eef;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #4353ff;
    border: 1px dashed #c1c8ff;
}

.coupon-code-wrapper:hover .coupon-code {
    background: #e0e5ff;
}

.coupon-details {
    font-size: 14px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.coupon-details span {
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #cccc;
    font-size: 12px;
}

.coupon-delete-btn {
    color: #ff4f5d;
    border: 1px solid #ff4f5d;
    padding: 2px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.coupon-delete-btn:hover {
    background: #fde0e3;
}

.mediabtn {
    vertical-align: middle !important;
    border: 1px solid #ff4f5d !important;
    background: #fff !important;
    border-radius: 4px !important;
    color: #ff4f5d !important;
    font-weight: 500 !important;
    padding: 0px 3px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 10px;
    right: 9px;
}

/* .mediabtn{vertical-align:middle;border:1px solid #ff4f5d;background:#fff;border-radius:4px;color:#ff4f5d;font-weight:500;font-size:13px;cursor:pointer;position:absolute;top:10px;right:9px;transition:.2s} */
.mediabtn:hover {
    background-color: #ffe3e5 !important;
    transition: .2s
}

.hmyt-dashboard-wrapper {
    text-align: right;
}

.hmyt-dashboard-wrapper > div {
    line-height: normal;
}

form#hmyt-bank-form > label {
    margin: 10px 0 10px 0 !important;
}

.hmyt-copy-link-wrapper {
    position: relative;
    width: 100%;
}

/* اعمال استایل‌های درخواستی شما به کلاس اینپوت */
.hmyt-input-text.hmyt-affiliate-link-input {
    display: block !important;
    border: 1px solid #d1d5db !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 15px !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    border-radius: 10px;
    color: #4b5563 !important;
    background: #fff;
    width: 100% !important;
    padding-right: 45px !important;
    text-align: left;
    direction: ltr;
    box-sizing: border-box;
}

/* استایل آیکون SVG */
.hmyt-copy-icon-svg {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
    width: 18px;
    height: 18px;
    color: #4b5563;
}

.hmyt-copy-icon-svg:hover {
    opacity: 1;
}

.hmyt-modal-close {
    display: flex;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.2s ease
}

.hmyt-modal-close:hover {
    opacity: 0.7;
}

.hmyt-modal-close svg {
    background: #e1e1e1;
    border-radius: 50px;
    padding: 5px;
    width: 24px;
    height: 24px;
}

.hmyt-modal:before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);
    z-index: -1;
}

.hmyt-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000029;
}
.hmyt-product-row:last-child {
    border-bottom: 1px solid #f4f4f4;
}

.hmyt-product-row > .panel-box-item {
    background: transparent;
}