﻿/* font Yekan */
@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Yekan_bakh/woff/YekanBakhFaNum-Regular.woff") format("woff"), url("../fonts/Yekan_bakh/woff2/YekanBakhFaNum-Regular.woff2") format("woff2");
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/Yekan_bakh/woff/YekanBakhFaNum-Bold.woff") format("woff"), url("../fonts/Yekan_bakh/woff2/YekanBakhFaNum-Bold.woff2") format("woff2");
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 950;
    src: url("../fonts/Yekan_bakh/woff/YekanBakhFaNum-ExtraBlack.woff") format("woff"), url("../fonts/Yekan_bakh/woff2/YekanBakhFaNum-ExtraBlack.woff2") format("woff2");
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Yekan Bakh FaNum";
    background: var(--Background-Neutral, #f4f7fb);
    background-image: url("../images/bg_hashtsoft.jpg");
    background-size: cover;
    overflow: hidden;
}

button {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    width: 20px;
    background-color: #0b63e5;
    border-radius: 5px;
}

ul {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0;
}

p {
    margin: 0;
}

/* Authentication page */

.authentication {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login {
    display: inline-flex;
    height: 675px;
    padding: 97px 100px 97px 125.5px;
    justify-content: flex-end;
    align-items: center;
    gap: 85.5px;
    border-radius: 24px;
    background: #fff;
    box-shadow: -105px 436px 126px 0px rgba(23, 41, 64, 0), -67px 279px 115px 0px rgba(23, 41, 64, 0.01), -38px 157px 97px 0px rgba(23, 41, 64, 0.04), -17px 70px 72px 0px rgba(23, 41, 64, 0.07), -4px 17px 39px 0px rgba(23, 41, 64, 0.08), 0px 0px 0px 0px rgba(23, 41, 64, 0.08);
}

.login-form {
    display: flex;
    padding: 24px 16px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px;
    background: #fff;
    box-shadow: 9px 5px 46px 0px rgba(35, 106, 92, 0.11);
    gap: 67px;
}

.login-input {
    display: flex;
    justify-content: space-between;
    align-self: stretch;
    flex-direction: column;
    gap: 24px;
}

    .login-input input {
        display: flex;
        height: 40px;
        padding: 6px 12px;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        align-self: stretch;
        border-radius: 72px;
        border: 1px solid var(--Foundation-Gray-05, #dddbda);
        background: var(--Background-White, #fff);
        text-align: right;
    }

.submit-btn {
    display: flex;
    padding: 13.47px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 74.94px;
    background: linear-gradient(90deg, #4535af 0%, #0f8ce9 100%);
    color: #fff;
    font-size: 15px;
}

.login-input label {
    color: var(--Gray-700, #607079);
    text-align: right;
    font-size: 16px;
    font-weight: 400;
}

.login-form p {
    color: var(--Gray-700, #607079);
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

    .login-form p a {
        color: #2c5fbb;
    }

/* Authentication page end */

/* customer page */
.main_container {
    display: flex;
    position: relative;
    align-items: center;
    height: 100vh;
    padding: 30px 0px;
}

.register {
    direction: rtl;
    padding: 50px 40px 20px 50px;
    border-radius: 0px 32px 32px 0px;
    background: #fff;
    box-shadow: 6px 17px 24.5px 0px #e3e2e2;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.AD_OrdermainSection .AD_UserType {
    display: inline-flex;
    padding: 8px 8px 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    background: #f8f8f8;
    width: max-content;
}

    .AD_OrdermainSection .AD_UserType Label {
        display: flex;
        padding-left: 8px;
        align-items: center;
        background: transparent;
        color: #1f1f1f;
        text-align: center;
        font-size: 13.136px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        gap: 5px;
        input [type="radio"]

{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
    width: 24px;
    height: 24px;
}

input[type="radio"]:checked {
    accent-color: #4535af !important;
    border: #4535af !important;
}

span {
    display: flex;
    font-size: 24px;
    justify-content: center;
    align-items: center;
}

img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
}

}

.AD_OrdermainSection .AD_UserType label:hover {
    color: #4535af;
}

.UserTypeLine {
    border: 1px solid #b3b3b3;
    height: 48px;
}

.AD_AccountFields {
    display: flex;
    row-gap: 26px;
    column-gap: 48px;
    justify-content: center;
}

.input-section input {
    display: flex;
    height: 40px;
    padding: 6px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 72px;
    border: 1px solid var(--Foundation-Gray-05, #dddbda);
    background: var(--Background-White, #fff);
}

.input-section {
    margin-bottom: 24px;

#fullName
{
    padding-right: 9.5rem;
}

#username {
    padding-right: 6rem;
}

#password {
    padding-right: 5.5rem;
}

#ConfirmPassword {
    padding-right: 7rem;
}

#nationalID {
    padding-right: 5rem;
}

#companyName {
    padding-right: 10rem;
}

#registerDate {
    padding-right: 7rem;
}

#phoneNumber,
#mobile,
#economicCode {
    padding-right: 6.5rem;
}

#category,
#address,
#referal {
    padding-right: 4rem;
}

#city,
#guild,
#agency,
#state {
    padding-right: 7rem;
}
#fromdate,
#todate{
    padding-right: 7rem;
}

#price,
#taxprice,
#discountprice,
{
    padding-right: 4rem;
}

#percentAgency 
{
    padding-right: 6rem;
}

#searchbox {
    padding-right: 4.5rem;
}

#province {
    padding-right: 4.5rem;
}

#postalCode,
#birthDate,
#description,
#explanation {
    padding-right: 5.5rem;
}

}

.input-section label {
    position: absolute;
    top: 0.67rem;
    padding-right: 1rem;
    color: var(--Text-Primary, #354752);
    text-align: right;
    font-size: 14px;
    font-weight: 400;
}

    .input-section label span {
        color: red;
        position: absolute;
        bottom: 0.5rem;
    }

.input-section select {
    display: flex;
    height: 40px;
    padding: 6px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-radius: 72px;
    border: 1px solid var(--Foundation-Gray-05, #dddbda);
    background: var(--Background-White, #fff);
    width: 100%;
}

.input-section .select2 {
    display: flex;
    height: 40px;
    padding: 6px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;
    align-self: stretch;
    border-radius: 72px;
    border: 1px solid var(--Foundation-Gray-05, #dddbda);
    background: var(--Background-White, #fff);
    width: 100%;
    position: initial;
}

    .input-section select:focus-visible {
        outline-color: #0f8ce9;
    }

.AD_AccountFields .required {
    content: "*";
    color: #f00;
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.AD_submituserAccount {
    display: inline-flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 21px;
    border-radius: 12px;
    background: linear-gradient(90deg, #4535af 0%, #0f8ce9 100%);
    color: #fff;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.returnBtn {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 4px;
    border-radius: 48px;
    background: #dbe2fe;
}

.page_title {
    color: rgba(0, 0, 0, 0.8);
    font-size: 24px;
    font-weight: 600;
}

/* profile section */
.right-section {
    position: absolute !important;
    right: 1% !important;
    top: 8% !important;
    padding-top: unset !important;
}

.profile-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    border-radius: 13px;
    background: #fff;
    /* position: relative; */
    bottom: 0;
    right: 0.7rem;
}

.exit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #e20000;
    font-size: 13.067px;
    font-weight: 700;
    cursor: pointer;
}

    .exit-btn span {
        font-size: 15.67px;
    }

.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15.7px;
}

    .profile img {
        width: 29px;
    }

.profile-name {
    text-align: right;
    margin-right: 7px;
}

/* profile section end */

/* navigation section */

.nav-section {
    /* position: relative; */
    right: 4rem;
}

    .nav-section ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        margin-top: 34px;
        padding-left: 0;
    }

        .nav-section ul li a {
            color: #161c2d;
            font-size: 20px;
            font-weight: 400;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-section ul a {
            color: #161c2d;
            display: flex;
            padding: 10% 40px;
            justify-content: flex-end;
            align-items: center;
            gap: 8px;
            align-self: stretch;
        }

    .nav-section .active {
        background: #fff;
        display: flex;
        padding: 32px 40px;
        align-items: center;
        gap: 8px;
        border-radius: 0px 40px 40px 0px;
    }

.selected-path {
    border-radius: 0px 40px 40px 0px;
    background: #fff;
}

    .selected-path a {
        color: #473bf0 !important;
    }

/* navigation section end */

/* customer page end */

/* dashboard page */

.all-customers {
    display: flex;
    width: 223px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #68d585;
    background: linear-gradient(240deg, #fff 12.45%, #e7ffe1 157.77%);
}

    .all-customers span {
        display: flex;
        font-size: 40px;
        justify-content: center;
        align-items: center;
        color: rgba(8, 136, 43, 1);
    }

    .all-customers p {
        align-self: stretch;
        color: #2cb952;
        text-align: center;
        font-size: 32px;
        font-weight: 800;
    }

    .all-customers h1 {
        color: #535353;
        font-size: 14px;
        font-weight: 600;
    }

.new-customer {
    display: flex;
    width: 223px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #0f8ce9;
    background: linear-gradient(240deg, #fff 12.45%, #e1e7ff 157.77%);
}

    .new-customer span {
        display: flex;
        font-size: 40px;
        justify-content: center;
        align-items: center;
        color: rgba(44, 95, 187, 1);
    }

    .new-customer p {
        color: #2c5fbb;
        text-align: center;
        font-size: 32px;
        font-weight: 800;
    }

    .new-customer h1 {
        color: #535353;
        font-size: 14px;
        font-weight: 600;
    }

.all-supports {
    display: flex;
    width: 223px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #fce194;
    background: linear-gradient(240deg, #fff 12.45%, #fffce1 157.77%);
}

    .all-supports span {
        display: flex;
        font-size: 40px;
        justify-content: center;
        align-items: center;
        color: rgba(168, 127, 9, 1);
    }

    .all-supports p {
        color: #dba816;
        text-align: center;
        font-size: 32px;
        font-weight: 800;
    }

    .all-supports h1 {
        color: #535353;
        font-size: 14px;
        font-weight: 600;
    }

.open-support {
    display: flex;
    width: 223px;
    padding: 8px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #a59dff;
    background: linear-gradient(240deg, #fff 12.45%, #e1e2ff 157.77%);
}

    .open-support span {
        display: flex;
        font-size: 40px;
        justify-content: center;
        align-items: center;
        color: rgba(97, 0, 143, 1);
    }

    .open-support p {
        color: #9a00e2;
        text-align: center;
        font-size: 32px;
        font-weight: 800;
    }

    .open-support h1 {
        color: #535353;
        font-size: 14px;
        font-weight: 600;
    }

.chart-section {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    column-gap: 74px;
    row-gap: 30px;
}

.chart {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    /* flex: 1 0 0; */
    border-radius: 16px;
    border: 1px solid #ebebeb;
}

    .chart p {
        align-self: stretch;
        color: #535353;
        text-align: right;
        font-size: 14px;
        font-weight: 600;
    }

/* dashboard page end */

/* support page */

.showResultBtn {
    display: flex;
    /* width: 176px; */
    padding: 6.809px 13.617px;
    justify-content: center;
    align-items: center;
    gap: 17.872px;
    border-radius: 10.213px;
    background: linear-gradient(90deg, #4535af 0%, #0f8ce9 100%);
    color: #fff;
}

.supportDate {
    display: flex;
    align-items: center;
    gap: 19px;
}

    .supportDate .date {
        display: flex;
        width: 229px;
        height: 40px;
        padding: 6px 12px;
        justify-content: space-between;
        align-items: center;
        border-radius: 72px;
        border: 1px solid var(--Foundation-Gray-05, #dddbda);
        background: var(--Background-White, #fff);
    }

        .supportDate .date span {
            color: #473bf0;
            text-align: right;
            font-size: 14px;
            font-weight: 700;
        }

        .supportDate .date .icon-calendar {
            display: flex;
            color: unset;
            font-size: 24px;
            font-weight: unset;
        }

.support-detail {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    border-radius: 16px;
    border: 1px solid #ebebeb;
    background: #fcfcfc;
}

.support-name {
    color: #445fcc;
    font-size: 16px;
    font-weight: 700;
    gap: 4px;
}

    .support-name .icon-profile-tick {
        font-size: 24px;
    }

.support-name-refer {
    color: #009934;
    font-size: 16px;
    font-weight: 700;
    gap: 4px;
}

    .support-name-refer .icon-user-edit {
        font-size: 24px;
    }

.followUp-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

    .followUp-date p {
        color: rgba(0, 0, 0, 0.8);
        text-align: right;
        font-size: 16px;
    }

    .followUp-date span {
        font-weight: 700;
    }

.followUp-text {
    color: rgba(0, 0, 0, 0.8);
    text-align: right;
    font-size: 14px;
}

    .followUp-text span {
        font-weight: 700;
    }

.followUp-btn {
    display: flex;
    width: 507px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 15px;
}

.followUp-btn-close {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    border-radius: 48px;
    background: #fedbdb;
    color: #c60000cc;
    span

{
    font-size: 24px;
    color: #c60000;
}

}

.followUp-btn-send {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    border-radius: 48px;
    background: #dbe2fe;
    color: #000000cc;
    span

{
    font-size: 24px;
    color: #292d32;
}

}


table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    position: sticky;
    top: 0;
    background-color: #f2f2f2; /* رنگ پس‌زمینه هدر */
}

th, td {
    /*border: 1px solid #ddd;*/
    padding: 8px;
    text-align: right; /* برای متون فارسی */
}

th {
    background-color: #f2f2f2;
}

.leftSection {
    .icon a

{
    margin: 0px 16px;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

}

.table-container {
    max-height: calc(100vh - 400px); /* یا هر ارتفاع دلخواه */
    overflow-y: auto;
    /*border: 1px solid #ddd; /* اختیاری: برای نمایش بهتر حاشیه */
}

    .table-container::-webkit-scrollbar {
        width: 10px;
    }

    .table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .table-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 5px;
    }

        .table-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.mainSection {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 75vh; /* یا هر ارتفاع مناسب دیگر */
    padding: 0 15px;
}



/* برای حفظ عنوان جدول در بالا */
.titleSection {
    position: sticky;
    top: 0;
    background-color: #fff; /* یا هر رنگ دلخواه */
    z-index: 1;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loadingButton {
    width: 50.4px;
    height: 20px;
    --c: linear-gradient(#ffffff 0 0);
    background: var(--c) 0% 50%, var(--c) 50% 50%, var(--c) 100% 50%;
    background-size: 10.1px 100%;
    background-repeat: no-repeat;
    animation: bars-t0lx83md 1s infinite linear;
}

@keyframes bars-t0lx83md {
    33% {
        background-size: 10.1px 10%,10.1px 100%,10.1px 100%;
    }

    50% {
        background-size: 10.1px 100%,10.1px 10%,10.1px 100%;
    }

    66% {
        background-size: 10.1px 100%,10.1px 100%,10.1px 10%;
    }
}


.spinner {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .spinner::before,
    .spinner::after {
        content: '';
        width: 100%;
        height: 100%;
        animation: spinner-rfi6tk 1.2s infinite linear;
        box-sizing: border-box;
        border: 11.2px solid rgba(71,75,255,0.1);
        border-radius: 50%;
        position: absolute;
    }

    .spinner::before {
        animation-direction: reverse;
        border-right-color: #474bff;
        right: calc(50% - 5.6px);
    }

    .spinner::after {
        border-left-color: #474bff;
        left: calc(50% - 5.6px);
    }

@keyframes spinner-rfi6tk {
    0% {
        transform: rotate(0deg);
    }

    50%, 100% {
        transform: rotate(360deg);
    }
}


.search-container {
    width: 400px;
    padding: 10px;
    float: left;
    display: flex;
}
    .search-container button {
        white-space: nowrap;
        height: 40px;
        margin-right: 10px;
        border-radius: 30px;
    }

.search-input {
    width: 100%;
    height: 25px;
    direction: rtl;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
