@font-face {
    font-family: 'IRANSansWeb';
    src: url('/fonts/WebFonts/fonts/ttf/IRANSansWeb.ttf') format('truetype');
}
* {
    font-family: 'IRANSansWeb', sans-serif;
}
html {
  font-size: 14px;
  direction:rtl;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
/* width */
::-webkit-scrollbar {
    width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #3ba06f;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #5effb1;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.link{
    text-decoration : none;
    color:#03ad36;
    text-align:center;
}
.main-card {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    background-color: #e9f1b7;
    box-shadow: -2px 3px 20px 4px gray;
    height: 85vh;
    width: 90vw;
    border-radius: 10px;
}
.mr-10{
    margin-right:10px;
}
.ml-10{
    margin-left:10px;
}
.login-card {
    background-color: #dbdec4;
    box-shadow: -2px 3px 20px 4px gray;
    height: 45vh;
    width: 55vw;
    border-radius: 10px;
}
.login-input{
    border: solid 1px black;
    border-radius:10px;
    text-align:center;
}
.login-input:focus{
    border:solid 1px #3e682e;
}
.mt-login{
    margin-top:12%;
}
.LoginBtn {
    width: 100px;
    padding: 5px;
}
.LoginBtn {
    opacity:0.7;
}
    .LoginBtn:hover {
        cursor: pointer;
        background-color: #3e682e;
    }
    .forgot-password:hover {
        cursor: pointer;
    }
.folders {
    height: 40vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.folders-action {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.folders-action:hover{
    opacity:0.65;
    cursor:pointer;
}
.folders-action-new-version {
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .folders-action-new-version:hover {
        opacity: 0.65;
        cursor: pointer;
    }
.folders-action-show {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .folders-action-show:hover {
        opacity: 0.65;
        cursor: pointer;
    }
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    max-width: 25%;
    max-height: 40%;
    min-height: 40%;
    justify-content: space-around;
    margin: 2%;
    background-color: #ccebb8;
    border-radius: 15px;
    box-shadow: -2px 0px 9px 1px;
}
    .icon-card.expand {
        min-width: 90%;
        min-height: 85%;
    }
.icon-card-v3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    max-width: 25%;
    max-height: 10%;
    min-height: 15%;
    justify-content: space-evenly;
    margin: 2%;
    background-color: #ccebb8;
    border-radius: 15px;
    box-shadow: -2px 0px 9px 1px;
}

    .icon-card-v3.expand {
        min-width: 90%;
        min-height: 85%;
    }
.icon-card-main {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust opacity here */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color:white;
}
.my-b {
    border: 1px solid #42847e;
}
.overlay:hover{
    cursor:pointer;
    opacity:0.8;
}
@keyframes borderAnimation {
    0% {
        border-top-color: red; /* Start color */
        border-right-color: red;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    10% {
        border-top-color: transparent; /* Right side */
        border-right-color: blue;
        border-bottom-color: blue;
        border-left-color: transparent;
    }

    20% {
        border-top-color: transparent; /* Bottom side */
        border-right-color: transparent;
        border-bottom-color: green;
        border-left-color: green;
    }

    30% {
        border-top-color: blue; /* Left side */
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: blue;
    }

    40% {
        border-top-color: red; /* Back to start */
        border-right-color: red;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    50% {
        border-top-color: red; /* Start color */
        border-right-color: red;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

    60% {
        border-top-color: transparent; /* Right side */
        border-right-color: blue;
        border-bottom-color: blue;
        border-left-color: transparent;
    }

    70% {
        border-top-color: transparent; /* Bottom side */
        border-right-color: transparent;
        border-bottom-color: green;
        border-left-color: green;
    }

    80% {
        border-top-color: blue; /* Left side */
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: blue;
    }

    90% {
        border-top-color: red; /* Back to start */
        border-right-color: red;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
}

.icon-card.expand {
    animation: borderAnimation 5s linear infinite; /* Apply animation to .expand elements */
    border: 2px dashed;
}
.icon-card:hover{
    cursor:pointer;
    opacity:0.8;
}
.icon-card-v3.expand {
    animation: borderAnimation 5s linear infinite; /* Apply animation to .expand elements */
    border: 2px dashed;
}

.icon-card-v3:hover {
    cursor: pointer;
    opacity: 0.8;
}
.icon-card-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-height: 60vh;
}
#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.create-icon {
    padding: 5%;
    min-width: 50%;
    max-width: 50%;
    min-height: 50%;
    max-height: 50%;
    filter: grayscale(100%);
}
    .create-icon:hover {
        filter: grayscale(50%);
    }
.grayscale .create-icon {
    filter: grayscale(50%);
}
.send-report-btn {
    background-color: #95ca71;
    width: 20%;
    height: 10%;
    margin: 3%;
    text-align: center;
    box-shadow: 1px 2px 5px 1px;
    border-radius: 10px;
}
.voice-report {
    margin: 1px;
    direction:ltr;
}
.send-report-btn:hover {
    cursor: pointer;
    opacity: 0.8;
}
.folders-action-forms {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .folders-action-forms:hover {
        opacity: 0.65;
        cursor: pointer;
    }
.mic {
    display: flex;
    padding-bottom: 15px;
    flex-direction: column;
    justify-content: flex-end;
}
.mic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.detailCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px #b2b988 solid;
    padding:15px;
    min-width:25%;
    max-width:25%;
}
.detail-card-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.detailCard:hover {
    cursor: pointer;
    border: 2px #90966d solid;
}
.scroll {
    overflow: auto;
}
.detail-group {
    display: flex;
    margin: 2%;
    gap: 10%;
    flex-direction: column;
    border: 1px solid #aab362;
    padding: 1%;
    align-items: center;
    justify-content: space-between;
    min-width:25%;
    max-width:25%;
    align-content:center;
}
.action-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.nurse-report-up {
    background-color: #95ca71;
    border-radius: 0 15px 15px 50%;
    padding: 2%;
    margin: 2%;
}
.nurse-report-down {
    background-color: #95ca71;
    border-radius: 50% 15px 15px 0;
    padding: 2%;
    margin: 2%;
}

.doctor-report-up {
    background-color: #95ca71;
    border-radius: 15px 0 50% 15px;
    padding: 2%;
    margin: 2%;
}

.doctor-report-down {
    background-color: #95ca71;
    border-radius: 15px 50% 0 15px;
    padding: 2%;
    margin: 2%;
}
.f-medium {
    font-size: small;
    text-align: center;
    min-width: 12vw;
    min-height: 5vh;
    max-width: 12vw;
    max-height: 5vh;
}
    .f-medium:hover{
        cursor:pointer;
        opacity:0.8;
    }

.download {
    min-height: 10vh;
    max-height: 10vh;
    padding-top: 4vh;
    border-radius: 15px;
}

    .download:hover {
        cursor: pointer;
    }
    .action-btn {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
.login-c {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.image-header {
    min-width:100px;
    max-width:100px;
    min-height:100px;
    max-height:100px;
}
.image-header-main {
    min-width: 150px;
    max-width: 150px;
    min-height: 150px;
    max-height: 150px;
}
.login-form {
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:0.5rem;
}
.mic-icon{
    min-height:50px;
    max-height:50px;
    min-width:50px;
    max-height:50px;
}
.main-page-icons {
    min-height: 100px;
    max-height: 100px;
    min-width: 100px;
    max-height: 100px;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Position it fixed to the viewport */
    z-index: 1; /* Make sure it appears on top of other elements */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if content overflows */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    padding-top: 50px; /* Center vertically */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Center horizontally */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Media query for screens less than 460px */
@media (max-width: 460px) {
    .login-card {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        background-color: #dbdec4;
        box-shadow: -2px 3px 20px 4px gray;
        height: 60vh;
        width: 55vw;
        border-radius: 10px;
    }
    .image-header {
        min-width: 60px;
        max-width: 60px;
        min-height: 60px;
        max-height: 60px;
    }

    .image-header-main {
        min-width: 100px;
        max-width: 100px;
        min-height: 100px;
        max-height: 100px;
    }

    .login-form {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 0.5rem;
    }
    .folders{
        display:flex;
        flex-direction:column;
    }

    .mic-icon {
        min-height: 30px;
        max-height: 30px;
        min-width: 30px;
        max-height: 30px;
    }

    .detail-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .detail-group {
        display: flex;
        margin: 2%;
        gap: 10%;
        flex-direction: column;
        border: 1px solid #aab362;
        padding: 1%;
        align-items: center;
        justify-content: space-between;
        min-width: 90%;
        max-width: 90%;
        align-content: center;
    }

    .login-c {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        height:60vh;
    }
    .main-page-icons {
        min-height: 70px;
        max-height: 70px;
        min-width: 70px;
        max-height: 70px;
    }
    .icon-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 85%;
        max-width: 85%;
        max-height: 40%;
        min-height: 40%;
        justify-content: space-around;
        margin: 2%;
        background-color: #c7f2aa;
        border-radius: 15px;
    }
    .icon-card-v3 {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        min-width: 85%;
        max-width: 85%;
        max-height: 10%;
        min-height: 10%;
        justify-content: space-evenly;
        margin: 2%;
        background-color: #c7f2aa;
        border-radius: 15px;
    }
}

/* Media query for screens between 460px and 820px */
@media (min-width: 460px) and (max-width: 820px) {
    .login-card {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        background-color: #dbdec4;
        box-shadow: -2px 3px 20px 4px gray;
        height: 60vh;
        width: 55vw;
        border-radius: 10px;
    }
    .image-header {
        min-width: 60px;
        max-width: 60px;
        min-height: 60px;
        max-height: 60px;
    }

    .image-header-main {
        min-width: 100px;
        max-width: 100px;
        min-height: 100px;
        max-height: 100px;
    }
    .login-form {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 0.5rem;
    }
    .mic-icon {
        min-height: 30px;
        max-height: 30px;
        min-width: 30px;
        max-height: 30px;
    }

    .detail-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .login-c {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        height: 60vh;
    }
    .main-page-icons {
        min-height: 70px;
        max-height: 70px;
        min-width: 70px;
        max-height: 70px;
    }
    .icon-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 45%;
        max-width: 45%;
        max-height: 40%;
        min-height: 40%;
        justify-content: space-around;
        margin: 2%;
        background-color: #c7f2aa;
        border-radius: 15px;
    }
    .icon-card-v3 {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        min-width: 45%;
        max-width: 45%;
        max-height: 10%;
        min-height: 10%;
        justify-content: space-evenly;
        margin: 2%;
        background-color: #c7f2aa;
        border-radius: 15px;
    }
}
.slider {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ccc;
    border-radius: 15px;
    cursor: pointer;
}

    .slider:before {
        content: '';
        position: absolute;
        width: 30px;
        height: 30px;
        background: #fff;
        border-radius: 50%;
        transition: 0.3s;
    }

    .slider.active:before {
        transform: translateX(30px);
    }





.slider{
    display:none;
}
*{
    font-family:'Arial'
}
p{
    margin:0;
    padding:0;
}
.grayscale{
    background-color:#bd6e44;
}
#result {
    display: flex;
    flex-direction: row-reverse;
    direction: ltr;
    font-size: 14px;
    color: #aa1515;
    margin-top: 20px;
}
.icons {
    display: flex;
    flex-direction: row;
    place-items: start;
    justify-content: center;
    height: 75vh;
    width: -webkit-fill-available;
    flex-wrap:wrap;
}
.icon-card-old {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    min-width: 15%;
    max-width: 15%;
    max-height: 15%;
    min-height: 15%;
    justify-content: center;
    margin: 2%;
    background-color: #3ba06f;
    border-radius: 15px;
    box-shadow: -2px 0px 9px 1px;
}

    .icon-card-old:hover {
        cursor: pointer;
        opacity: 0.8;
    }

    .icon-card-old.grayscale {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        min-width: 25%;
        max-width: 25%;
        max-height: 15%;
        min-height: 15%;
        justify-content: space-evenly;
        margin: 2%;
        background-color: #5effb1;
        border-radius: 15px;
        box-shadow: -2px 0px 9px 1px;
    }

        .icon-card-old.grayscale:hover {
            cursor: pointer;
            opacity: 0.8;
        }
    .main-body {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}
.mute-mic{

}
.mute-mic:hover{
    opacity:0.8;
    cursor:pointer;
}

@media (max-width: 680px) {
    .icon-card-old {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        min-width: 80%;
        max-width: 80%;
        max-height: 15%;
        min-height: 15%;
        justify-content: center;
        margin: 2%;
        background-color: #3ba06f;
        border-radius: 15px;
        box-shadow: -2px 0px 9px 1px;
    }

        .icon-card-old:hover {
            cursor: pointer;
            opacity: 0.8;
        }

        .icon-card-old.grayscale {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            min-width: 80%;
            max-width: 80%;
            max-height: 15%;
            min-height: 15%;
            justify-content: space-evenly;
            margin: 2%;
            background-color: #5effb1;
            border-radius: 15px;
            box-shadow: -2px 0px 9px 1px;
        }

            .icon-card-old.grayscale:hover {
                cursor: pointer;
                opacity: 0.8;
            }
}