﻿@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 10;
    src: url('/Fonts/Dana/woff2/Dana-Hairline.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Hairline.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 100;
    src: url('/Fonts/Dana/woff2/Dana-Thin.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Thin.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 200;
    src: url('/Fonts/Dana/woff2/Dana-UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-UltraLight.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 300;
    src: url('/Fonts/Dana/woff2/Dana-Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Light.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 500;
    src: url('/Fonts/Dana/woff2/Dana-Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Medium.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 600;
    src: url('/Fonts/Dana/woff2/Dana-DemiBold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-DemiBold.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 800;
    src: url('/Fonts/Dana/woff2/Dana-ExtraBold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-ExtraBold.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 900;
    src: url('/Fonts/Dana/woff2/Dana-Black.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Black.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 930;
    src: url('/Fonts/Dana/woff2/Dana-ExtraBlack.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-ExtraBlack.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 960;
    src: url('/Fonts/Dana/woff2/Dana-Heavy.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Heavy.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: 990;
    src: url('/Fonts/Dana/woff2/Dana/Dana-Fat.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Fat.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: bold;
    src: url('/Fonts/Dana/woff2/Dana-ExtraBold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-ExtraBold.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: dana;
    font-style: normal;
    font-weight: normal;
    src: url('/Fonts/Dana/woff2/Dana-Regular.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('/Fonts/Dana/woff/Dana-Regular.woff') format('woff'); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
    font-family: "IRANSans";
    src: url('/Fonts/IRANSans/woff2/IRANSansWeb(FaNum).woff2');
    font-weight: 900;
    font-style: normal;
}

select, option {
    font-family: IRANSans !important;
    font-size: 14px;
}
body {
    font-family: "IRANSans";
}

/*select {
    width: 50% !important;
}

@media (max-width : 767px) {
    select {
        width: 100% !important;
    }
}*/


[data-title] {
    position: relative;
}

    [data-title]::after, [data-title]::before {
        position: absolute;
        transition: all 0.2s 0.2s;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        font-size: 12px;
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
    }

    [data-title]::after {
        content: attr(data-title);
        bottom: calc(100% + 6px);
        background-color: #000;
        color: #fff;
        padding: 2px 6px;
        border-radius: 4px;
        white-space: nowrap;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        font-family: 'IRANSans';
    }

    [data-title]::before {
        content: "";
        border: solid 4px;
        bottom: calc(100% - 1px);
        border-color: #000 transparent transparent transparent;
    }

    [data-title]:hover::after, [data-title]:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }


.custom-select {
    background-color: #7901fa;
    border: 2px solid #fff;
    color: white;
    padding: 4px 8px;
    font-size: 15px;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    font-family: 'IRANSans';
    text-align: center;
}

.custom-select:disabled {
    cursor: not-allowed;
    background-color: #993aff;
    opacity: 0.7;
}

.custom-select option {
    background-color: #993aff;
    color: white;
    cursor: pointer;
    text-align: center;
}

.custom-select:focus {
    border-color: #ccc;
}

.dropdown-content {
    position: absolute;
    opacity: 0;
    transition-property: transform, opacity;
}

.dropdown-content.fade.show {
    opacity: 1;
}

.dropdown-content.slide {
    transform: translateY(1rem);
}

.dropdown-content.slide.show {
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content.zoom {
    transform: scale(0.8);
}

.dropdown-content.zoom.show {
    transform: scale(1);
    opacity: 1;
}



.swal2-modal {
    font-family: 'IRANSans';
    direction: rtl;
}

.swal2-actions {
    flex-direction: row-reverse;
}

.bgPurple {
    background-color: #2400462e;
    padding-block: 10px;
    border-radius: 10px;
}

.bgPurple2 {
    background-color: #6900d9 !important;
}

.bgGreen {
    background-color: #00766e45;
    padding-block: 10px;
    border-radius: 10px;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

#backArrow:hover {
    transform: translateX(-8px)
}

#backArrow {
    transition: all 0.4s 0.15s;
}

#searchIcon {
    transition: transform 0.2s;
    cursor: pointer;
}
#searchIcon:hover, #searchIcon:active {
    transform: scale(1.2)
}

.bodyAdmin {
    background: linear-gradient(-35deg, #240046, #01422b,#240046,#01422b);
    /*background: linear-gradient(-35deg,#461177,#01422b,#461177,#01422b);*/
    /*background: linear-gradient(-35deg,#3D0E61,#461177,#4E148C,#01422b);*/
    background-size: 400% 300%;
    -webkit-animation: gradient 20s ease infinite;
    animation: gradient 20s ease infinite;
    /*height: 100vh;*/
}

.body {
    /*background: linear-gradient(-35deg, #240046, #01422b,#240046,#01422b);*/
    /*background: linear-gradient(-35deg,#461177,#01422b,#461177,#01422b);*/
    background: linear-gradient(-35deg,#3D0E61,#461177,#4E148C,#01422b);
    background-size: 400% 300%;
    -webkit-animation: gradient 20s ease infinite;
    animation: gradient 20s ease infinite;
    /*height: 100vh;*/
}

@media (max-width: 1770px) {

    .HeadRiskList {
        /*flex-direction: column-reverse;*/
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .Rbutton {
        /*width: 200px;*/
    }
}


@media (max-width: 1400px) {
    .HeadRiskList {
        width: 80% !important;
    }

    .ContentRiskList {
        width: 80% !important;
    }
}

@media (max-width: 1200px) {

    .HeadRiskList {
        width: 90% !important;
    }

    .ContentRiskList {
        width: 90% !important;
    }

    .Alignment {
        justify-content: space-evenly !important;
    }
}

@media(max-width:992px) {
    #addSaratanId {
        margin-top: 15px !important;
    }

    .HeadRiskList {
       
        width: 100% !important;
    }
    #RiskListTitle {
        font-size: medium !important;
    }

    .Rbutton {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ContentRiskList {
        width: 100% !important;
    }

    .grid-list {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


@media (max-width: 780px) {

    .riskContainer {
        width: 95% !important;
    }

    .riskSubContainer {
        width: 100% !important;
    }



    .HeadRiskList {
        width: 100% !important;
        justify-content: space-between;
        align-items: center !important;
    }




    .R_main {
        width: 100% !important;
    }

    .RMcenter {
        display: flex;
        align-items: center;
        justify-content: space-between !important;
        padding-right: 10px !important;
        padding-left: 10px !important
    }

    .ImgFooter {
        width: 30px !important;
    }

    .FontFooter {
        font-size: 15px !important;
    }

    .LogoFooter {
        width: 150px !important;
    }

    .form-label {
        font-size: 15px !important;
    }

    .title {
        font-size: 25px !important;
    }

    .subtitle {
        font-size: 15px !important;
    }

    .R_RistList {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
    }

    .containerDrag {
        display: none !important;
    }

    .AddFile_Btn {
        width: 60% !important;
    }
}

@media (max-width: 400px) {



    .R_main {
        width: 90% !important;
    }

    #RiskListTitle {
        font-size: medium !important;
    }

    .AddFile_Btn {
        width: 90% !important;
    }
}

@media (max-width: 300px) {

    #RiskListTitle {
        font-size: 15px !important;
    }

    .RMcenter {
        display: flex;
        align-items: center;
        justify-content: space-between !important;
        padding: 0px !important;
    }

    .ImgFooter {
        width: 15px !important;
    }

    .FontFooter {
        font-size: 10px !important;
    }

    .LogoFooter {
        width: 100px !important;
    }

    .form-label {
        font-size: 10px !important;
    }

    .form-label-Radio {
        font-size: 10px !important;
    }

    .title {
        font-size: 20px !important;
    }

    .subtitle {
        font-size: 10px !important;
    }




    .InpMobileContent {
        width: 250px !important;
    }
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
/** {
    scrollbar-width:;
    scrollbar-color: #008077 #ffffff;
}*/

/* Chrome, Edge, and Safari */
/*    *::-webkit-scrollbar {
        width: 150px;
    }

    *::-webkit-scrollbar-track {
        background: red;
        border-radius: 10px;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #008077;
        border-radius: 10px;
        border: 13px solid #ffffff;
    }*/

/*::-webkit-scrollbar {
    width: 12px;
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #008077;
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #006760;
}*/

* {
    /*    scrollbar-width: thin;*/
/*    scrollbar-color: #008077 #0000;*/
}


.itemCancer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #3D0E61;
    border-radius: 5px;
    padding: 8px;
    margin: 5px;
    width: auto;
    background-color: #fbf6fe;
}

.cancerBtnDel {
}


.cancerVal {
    color: black;
    font-family: "IRANSans" !important;
}

.cancerTitle {
    margin-left: 10px !important;
    font-family: "IRANSans" !important;
    color: #4E148C !important;
}

.delBtnCancer {
    cursor: pointer;
    border: 1px solid gray;
    border-radius: 5px;
    padding: 2px 1px !important;
    width: 60%;
    min-width: max-content;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: #3D0E61;
}

    .delBtnCancer:hover {
        background-color: #e1bcfe;
    }
/* ===== Scrollbar CSS ===== */
.glass {
    background: rgba(255, 255, 255, 0.1); /* رنگ پس‌زمینه شفاف */
    border-radius: 10px; /* گوشه‌های گرد */
    padding: 20px;
    backdrop-filter: blur(10px); /* اعمال تاری بر روی پس‌زمینه */
    -webkit-backdrop-filter: blur(10px); /* پشتیبانی برای Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه برای عمق بیشتر */
    border: 1px solid rgba(255, 255, 255, 0.3); /* مرز ظریف */
}


.HeadRiskList {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.R_RistList {
    margin: 3px;
    /*    cursor: pointer;*/
    padding: 10px;
    justify-content: space-around;
    height: 100%;
    width: 100%
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-items: center;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    flex-grow: 1;
    /*    padding: 10px;*/
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    /*    user-select: none;*/
}



.table-risk {
    direction: ltr;
    color: white;
    font-family: 'IRANSans';
    min-width: max-content;
    background-color: white;
    border-collapse: separate;
    width:100%;
}

    .table-risk th, .table-risk td {
        padding: 4px 20px;
        white-space: nowrap;
        border: 1px solid #fff;
        text-align: center;
        height: 50px;
    }
.table-risk th, .table-risk td {
    padding: 4px 20px;
    white-space: nowrap;
/*    border: 1px solid #fff;*/
    text-align: center;
    height: 50px;
}

.table-risk tr:nth-child(2n+1) {
    background-color: #810cff;
}
.table-risk tr:nth-child(2n) {
    background-color: #6900d9;
}

.table-risk thead th {
    background-color: #45008f;
}






.dropdown-filter-toggle {
    margin-inline: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    min-width: 160px;
    font-size:14px;
    overflow: hidden;
    font-family: IRANSans;
    direction: rtl

}

.dropdown-content-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    transition: all 0.2s;
    user-select: none;
    color: #000;
    font-weight: normal;
    /*    border-bottom:1px solid rgba(0,0,0,0.15)*/
}

.dropdown-content-item:hover {
    background-color: #ededed;
}



.checkbox-custom-wrapper input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-custom-wrapper label {
    display: inline-block;
}

.checkbox-custom-wrapper .check {
    cursor: pointer;
    position: relative;
    /*    margin: auto;*/
/*    width: 18px;*/
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
    display: flex;
    align-items: center;
    gap: 6px;
    width:100%;
    text-align:start;
}

.checkbox-custom-wrapper .check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c8ccd4;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.checkbox-custom-wrapper .check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.checkbox-custom-wrapper .check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.checkbox-custom-wrapper .check:hover:before {
    opacity: 1;
}

.checkbox-custom-wrapper .check:hover svg {
    stroke: #fff;
}


.checkbox-custom-wrapper input[type="checkbox"]:checked + .check svg {
    stroke: #fff;
}
.checkbox-custom-wrapper.checkbox-custom-green .check:hover svg {
    stroke: #008077;
}
.checkbox-custom-wrapper.checkbox-custom-green input[type="checkbox"]:checked + .check svg {
    stroke: #008077;
}

.checkbox-custom-wrapper input[type="checkbox"]:checked + .check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

.checkbox-custom-wrapper input[type="checkbox"]:checked + .check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}





.R_main {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.w100 {
    width: 100%;
}

.w90 {
    width: 90%;
}

.w80 {
    width: 80%;
}

.w70 {
    width: 70%;
}

.form-check {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.form-label-Radio {
    padding: 0px;
    /*margin: 20px 0px 0px 0px;*/
    font-weight: 400 !important;
    padding-right: 3px !important;
}


.form-label {
    padding: 0px;
    /*margin: 20px 0px 0px 0px;*/
    font-weight: 600;
    margin: 0px !important;
}

.AlertReqRadio {
    border: 2px solid;
    color: #212526 !important;
    border-color: #ff003e !important;
    outline: 0 !important;
    border-radius: 5px;
}

.AlertReq {
    border: 2px solid;
    color: #212526 !important;
    border-color: #ff003e !important;
    outline: 0 !important;
}


a {
    text-decoration: none !important;
    color: inherit;
}

    a:hover {
        text-decoration: none !important;
        color: inherit;
    }

.BorderItem {
    background-color: #7901fa;
    border-radius: 10px;
    color: white;
}

/*    .BorderItem:hover {
        background-color: #4E148c;
    }

    .BorderItem:active {
        background-color: #01422b;
        color: white
    }*/

.Rrev {
    flex-direction: row-reverse;
}

.Crev {
    flex-direction: column-reverse;
}

.Rflex {
    display: flex;
    flex-direction: row;
}

.Cflex {
    display: flex;
    flex-direction: column;
}

.Rcenter {
    justify-content: center;
    align-items: center;
}




.riskContainer {
    width: 100%;
}

.riskSubContainer {
    height: 90vh;
    font-family: 'dana';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




p {
    font-family: IRANSans;
    text-align: justify;
    direction: rtl;
}

.mp {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}

.titleFa {
    font-family: IRANSans;
    font-weight: 600;
    font-size: 30px;
    color: white;
}

.title {
    font-family: 'dana';
    font-weight: 600;
    font-size: 30px;
    color: white;
}

.subtitle {
    font-family: 'dana';
    font-weight: 200;
    font-size: 15px;
    color: white;
}

p {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}

.bgGradient {
    /*background: linear-gradient(-35deg, #240046, #226f54,#240046);*/
    background: linear-gradient(-35deg,#3D0E61,#461177,#4E148C,#01422b);
    background-size: 400% 300%;
    -webkit-animation: gradient 20s ease infinite;
    animation: gradient 20s ease infinite;
    height: 100vh;
}




.borderContent {
    margin: 5px;
    border: 3px solid #04b175;
    border-radius: 10px;
}



@-webkit-keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.table-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    text-align: center;
    font-size: clamp(13px, 2vw, 14px);
}

.table-header {
    font-weight: bold;
    padding: 8px;
}

.table-header, .table-cell {
    background-color: rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-cell {
}

    .table-cell input {
        width: 100%;
        height: 100%;
        display: inline-block;
        text-align: center;
    }

@media (max-width: 768px) {
    .table-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .table-cell:nth-child(4),
    .table-cell:nth-child(5),
    .table-cell:nth-child(6) {
        grid-column: span 3;
    }

    .table-header:nth-child(4),
    .table-header:nth-child(5),
    .table-header:nth-child(6) {
        display: none
    }


    .table-risk {
        font-size: 12px;
    }

        .table-risk img {
            width: 16px !important;
        }

        .table-risk th, .table-risk td {
            padding: 6px 6px;
            height: 40px;
        }

    .custom-select {
        font-size: 12px;
        padding: 2px 4px;
    }
}
