﻿@import url('Uicons/css/uicons-solid-rounded.css');
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
     font-family: "IRANYekanWeb";
    src: url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.eot');
    src: url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.eot#iefix')format("embedded-opentype"), url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.woff2')format("woff2"), url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.woff')format("woff"), url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.ttf')format("truetype"), url('IRANYekanWeb/Web Fonts/1510aa80463174b1d0847ab936a70e8e.svg')format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /*--mindaro*/
    --green-color: #d9fe66;
    --green-meno-color: #739942;
    /*--ghost-white*/
    --lightgray-color: #EFF1F5;
    /*--seasalt*/
    --white-color: #fafafa;
    /*--onyx*/
    --black-color: #424345;
    --gray-color: #7B7D81;
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 80px;
}

html, body {
    font-family: IRANYekanWeb,'Helvetica Neue', Helvetica, Arial, sans-serif;
}

main {
    overflow: hidden;
}

container-fluid
.test {
    background-color: var(--green-color);
}

h1:focus {
    outline: none;
}

.items-color {
    background: var(--gray-color);
}

.hover-green:hover {
    background-color: var(--green-color) !important;
}

.active-green {
    background-color: var(--green-color) !important;
}
.text-success1 {
    color:var(--green-color);
}
.text-danger1 {
    color: #ff6b6b;
}
.items-color-btn {
    background: #4B4B4B;
}

.hov:hover {
    background-color: blue;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #fff;
}

.loading-container {
    text-align: center;
    width: 200px;
}

    .loading-container .progress {
        height: 4px;
    }

.progress-bar-index {
    transition: width 0.4s ease;
    background-color: var(--green-meno-color);
}

/*.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}




    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }*/

code {
    color: #c02d76;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

a {
    text-decoration: none;
}

.accordion {
    background-color: #eee;
    color: gray;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    /*fi-br-search transition: 0.4s;*/
}
/*Login page*/
.lg\:border-complete {
    border: 1px solid #F0F0F1;
    padding: 20px;
}

.item-center {
    justify-content: center;
}

.register-box {
    width: 100%;
}

@media (min-width: 1024px) {
    .lg\:p-8 {
        padding: 32px;
    }
}

.app-logo {
    max-width: 140px;
    height: auto; /*test*/
}

.inner-addon {
    position: relative;
}

    .inner-addon .glyphicon {
        position: absolute;
        padding: 7px;
        pointer-events: none;
        height: 50px;
    }

.inner-addon1 {
    height: 50px;
}

.left-addon .glyphicon {
    left: 0px;
}

.right-addon .glyphicon {
    right: 0px;
}

.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

.button-primary {
    width: -webkit-fill-available;
}

.form-login-inputs {
    direction: ltr;
}
/*Alert*/
.hidden {
    display: none !important;
}

.alert-dismissible .btn-close {
    left: 0;
    right: auto;
}
.btn-outline-green-meno {
    --bs-btn-color: #739942;
    --bs-btn-border-color: #739942;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #739942;
    --bs-btn-hover-border-color: #739942;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #739942;
    --bs-btn-active-border-color: #739942;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #739942;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #739942;
    --bs-gradient: none;
}

.btn.btn-outline-green-meno:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--green-meno-color);
    border-color: var(--green-meno-color);
}
/*-----------Sidebar Menu------------------------*/
.nav-meneu {
    height: 100%;
    position: fixed;
    right: 0;
    position: sticky;
}


.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large !important;
    padding-top: 8px;
    margin: 3px;
}

.sidbar-items-color {
    color: var(--gray-color); /*#81d4fa;*/
}

.sidbar-return-color {
    color: var(--white-color);
}

.circle-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #81d4fa;
    padding: 10px;
    background-color: white;
}

.active-icon, .active-parent {
    background-color: var(--green-color) !important;
    /*border-left: 4px solid #81d4fa;*/
}

.active-menu > span > i, .active-menu > i {
    color: var(--black-color);
}

.nav-item-title {
    color: black;
    font-size: 8px;
    inline-size: max-content;
    font-family: IRANSans;
    margin-top: 4px;
}

.nav-item {
    padding: 0 !important;
    min-height: 60px;
}

.left-border {
    border-left: 3px solid blue;
}

.nav-icon-item {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.background-light {
    background-color: var(--white-color);
}

.background-dark {
    background-color: var(--black-color);
}

.background-lightgray {
    background-color: var(--lightgray-color);
}

.nav-meneu.nav-meneu--hover {
    /* height: 100vh;
    position: fixed;
    right: 0;
    top: 0;*/
    width: 5rem;
    transition: width 0.3s ease;
    overflow-x: hidden;
}

.nav-meneu--hover.expanded {
    width: 14rem;
}

.nav-meneu--hover.collapse {
    width: 5rem;
}

.nav-meneu.nav-meneu--hover .sidebarlink {
    align-items: center;
    justify-items: center;
    cursor: pointer;
}

.nav-meneu.nav-meneu--hover.expanded .sidebarlink {
    display: flex;
    justify-content: flex-start;
    padding: .5rem 1rem;
}

.nav-meneu--hover .menu-text {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    margin-left: 1rem;
    font-size: small;
}

.nav-meneu--hover.expanded .menu-text {
    opacity: 1;
}

/*--------Panel-----------------*/
.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}

.panel {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-primary {
    border-color: #ddd;
}

    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #0BAFFF;
        border-color: #0BAFFF;
    }

.panel-body {
    min-height: 200px;
}

.costumize-tabs {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    margin: 44px 15px;
    padding: 10px 0;
    align-items: center;
}

    .costumize-tabs > button {
        display: flex;
        flex-direction: column;
    }

    .costumize-tabs > .nav-link.active {
        background-color: lightgray;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        align-items: center;
    }

input[type="search"] {
    border: none;
    background: transparent;
    margin: 0;
    padding: 5px 6px;
    font-size: 13px;
    color: inherit;
    border: 1px solid transparent;
    border-radius: inherit;
}

.search-input {
    display: flex;
    padding: 1px;
    border: 1px solid currentColor;
    border-radius: 5px;
    width: 200px;
    line-height: 10px;
}

.glyphicon > .oi {
    padding-top: 7px;
}

input:focus-visible {
    outline: none;
}

.sidbar-header > .bb-sidebar-top-row {
    background-color: #0BAFFF !important;
    border-bottom: 1px solid #0BAFFF !important;
    border-right: 1px solid #0BAFFF !important;
}

.navItemColor > a {
    color: #000a !important;
}

.search-container {
    position: relative;
}

.custom-dropdown {
    position: absolute;
    color: black;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    z-index: 1000;
}

.bg-panel {
    background-color: #d4d4d4;
}

.list-group-item {
    border: 0;
}

.card-header {
    padding: 1px;
    background-color: #81d4fa;
    color: white;
}

.btnClinics:hover .hover-show {
    display: inline !important;
}

.btnClinics .delete-icon {
    display: none;
}

.btnClinics:hover .delete-icon {
    display: inline-block;
}

.icons {
    position: relative;
}

    .icons .delete-icon {
        display: none;
    }

    .icons:hover.delete-icon {
        display: inline-block;
    }

/*Symptom and Complaint component*/
.search-container-line {
    position: relative;
    width: 100%;
}

.text-error {
    color: red;
    text-align: right;
    direction: rtl;
}

.line-input {
    width: 100%;
    padding: 0 !important; /* space for icon on the right */
    font-size: 12px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
}

    .line-input:focus {
        border-bottom: 2px solid #0078d7;
    }

.search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* allows clicks to go through to input */
    font-size: 12px;
    color: #888;
}
/*Organs Component*/
.treeview {
    padding-right: 1rem;
}

.tree-node {
    margin-right: 1rem;
}

.node-header {
    cursor: pointer;
}

.node-children {
    margin-right: 1.2rem;
    padding-right: 0.5rem;
}

.w-10vw {
    width: 13vw;
}

.form-select-rtl {
    background-position: left .75rem center !important;
}

.w-40 {
    width: 40%
}

.w-80 {
    width: 80%;
}

.font-size-xsmall {
    font-size: x-small;
}

.header-list {
    border: 1px solid #0BAFFF;
    border-radius: 9px;
    padding: 5px;
    background-color: #0BAFFF;
}

.pe-6 {
    padding-right: 7rem !important;
}

.ps-6 {
    padding-left: 7rem !important;
}

.popup-panel {
    position: fixed;
    top: 400px;
    left: 600px;
    width: 250px;
    height: 250px;
    z-index: 1000;
}

.active-column {
    background-color: lightgray !important;
}

.me-6 {
    margin-right: 4rem !important;
}
/* --------------Sidebar Menu First ---------------------- */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(135deg, #1a1c2e 0%, #16181f 100%);
    transition: all 0.3s ease;
}

    .sidebar.collapsed {
        width: var(--sidebar-width-collapsed);
    }

.sidebar-link {
    color: #a0a3bd;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 16px;
    white-space: nowrap;
    overflow: hidden;
    min-height: 56px;
}

    .sidebar-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    .sidebar-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }

.logo-text {
    background: linear-gradient(45deg, #FAFAFA, #EEEEF3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.3s ease;
}

.notification-badge {
    background: #ff6b6b;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.profile-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    margin-left: var(--sidebar-width);
    background-color: white;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
}

    .main-content.Collapsed {
        margin-left: var(--sidebar-width-collapsed);
    }

.toggle-btn {
    position: absolute;
    right: -15px;
    top: 20px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}

.collapsed .logo-text {
    opacity: 0;
}

.collapsed .profile-info {
    opacity: 0;
}

.collapsed .app-logo {
    max-width: 40px;
}

.collapsed .sidebar-link {
    /*text-align: center;*/
    padding: 1rem !important;
    margin: 4px 8px;
}

    .collapsed .sidebar-link i {
        margin: 0 !important;
    }

.profile-info {
    transition: opacity 0.2s ease;
}
/*---------Profile page ----------*/
@media (min-width: 1200px) {
    .cover-setting {
        height: 240px;
    }
}
/* ---------Shared Between components------------- */
.widget-box {
    border-radius: 20px;
    padding: 10px;
    margin: 5px;
    align-items: center;
    justify-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-dropdown {
    width: 80px !important;
    background: #343a40;
    border-radius: 20px;
}

.full-height-container {
    height: 95vh;
    display: flex;
    flex-direction: column;
    padding: 1px;
}

.box-shadow-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-box {
    flex-grow: 1;
    overflow: auto;
    padding: 1px;
    border-radius: 20px;
}

.calendar-container {
    width: 200px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 0px;
    margin: 0;
}

.calendar-container1 {
    width: 193px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 0px;
    margin: 0;
}

.vertical-divider {
    width: 1px;
    height: 20px;
    background-color: #ccc;
    margin: 0 10px;
}

.list-item-wrapper:hover .action-icons {
    display: flex !important;
    align-items: center;
}

.background-color-darkgray {
    background-color: #e0e0e0;
}

/*  
.search-box:focus-within .search-suggestion {
    visibility: visible;
}*/
.breadcrumb-bar {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 4px 10px;
    /*border-radius: 20px;*/
    /*background-color: #f8f9fa;*/
    cursor: pointer;
}

.breadcrumb-segment {
    max-width: min(20vw, 200px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-back-breadcrumb {
    border: none !important;
    background-color: #f0f0f0 !important;
    box-shadow: none !important;
    outline: none !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333 !important;
    transition: background-color 0.2s ease;
}

    .btn-back-breadcrumb:hover {
        /*background-color: #f0f0f0 !important;*/ 
        color: var(--green-meno-color) !important; 
    }

    
    .btn-back-breadcrumb:focus,
    .btn-back-breadcrumb:active,
    .btn-back-breadcrumb:focus-visible {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
.hover-item.action-icons {
    display: none !important;
}

.hover-item:hover .action-icons {
    display: inline-flex !important;
}

.ellipsis {
    margin-right: 8px;
    margin-left: 8px;
    cursor: pointer;
}
.nav-pills1 .nav-link {
    background: transparent;
    color: var(--black-color);
    font-size: smaller;
    border: 1px solid var(--lightgray-color);
    padding: 7px 9px;
}

    .nav-pills1 .nav-link.active {
        background-color: var(--green-color);
        color: var(--black-color) !important;
    }

.nav-pills .nav-link {
    background: transparent;
    color: var(--black-color);
    font-size: smaller;
    border: 1px solid var(--lightgray-color);
    padding: 7px 9px;
}

    .nav-pills .nav-link.active {
        background-color: var(--green-color);
        color: var(--black-color) !important;
    }

.nav-tabs .nav-link {
    border: none;
}

    .nav-tabs .nav-link.active {
        background-color: transparent;
        border-bottom: 1px solid var(--green-color);
    }

.nav-item {
    min-height: 40px;
    margin: 0 3px;
}

.form-select.rtl {
    background-position: left .75rem center;
    padding: .375rem .75rem .375rem 2.25rem;
}

.font-size-smaller {
    font-size: smaller;
}

.font-size-small {
    font-size: small;
}

.font-size-xxsmall {
    font-size: xx-small;
}

.font-size-xsmall {
    font-size: x-small;
}

.font-size-medium {
    font-size: medium;
}

.font-size-large {
    font-size: large;
}

.font-size-60px {
    font-size: 60px;
}

.font-weight-600 {
    font-weight: 600;
}

.test-charts-navigation {
    width: 100%;
    height: 100%;
}

.test-ordering-navigation {
    /*width: 350px;*/
    height: 87%;
}

.test-History-navigation {
    /*width: 1060px;*/
    height: 100%;
}

.icd-searchOrgan-navigation {
    width: 350px;
    height: 60px;
}

.icd-description-navigation {
    width: 350px;
    height: 100%;
}

.icd-viewPanel-navigation {
    height: 99%;
}

.icd-selectedicd-navigation {
    height: 100%;
}

.icd-carttemplate-navigation {
    height: 100px;
}

.medication-navigation {
    height: 850px;
}

.medication-drugcart-navigation {
    /*width: 350px;*/
    height: 60px;
}

.medication-prescription-navigation {
    height: 800px;
}

.loading-navigation {
    height: 800px;
}

.Upload-test-chart-navigation {
    height: 100%;
}

.background-color-white {
    background-color: var(--white-color);
}

.background-color-lightgray {
    background-color: var(--lightgray-color);
}

.background-color-gray {
    background-color: var(--gray-color);
}

.background-color-greenmono {
    background-color: var(--green-meno-color);
}

.background-color-green,
background-color-green :focus,
background-color-green:hover {
    background-color: var(--green-color) !important;
}

.h-30 {
    height: 30%;
}

.h-37 {
    height: 37%;
}

.h-40 {
    height: 40%;
}

.h-60 {
    height: 60%;
}

.h-80 {
    height: 80%;
}

.h-85 {
    height: 85%;
}

.h-90 {
    height: 90%;
}

.h-95 {
    height: 95%;
}

.h-96 {
    height: 96%;
}

.h-max-250px {
    max-height: 250px;
}

.h-Max-300px {
    max-height: 300px;
}

.h-Max-390px {
    max-height: 390px;
}

.h-Max-700px {
    max-height: 700px;
}

.h-fill-available {
    height: -webkit-fill-available;
}

.h-min-50px {
    min-height: 50px;
}

.min-height-fitContent {
    min-height: fit-content;
}

.h-900px {
    height: 900px;
}

.h-fit-content {
    height: fit-content;
}
.h-90vh{
    height:90vh;
}
.mh-80 {
    max-height: 80%;
}

.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.w-95 {
    width: 95% !important;
}

.w-20px {
    width: 20px;
}

.w-30px {
    width: 30px;
}

.w-250px {
    width: 250px;
}

.w-200px {
    width: 200px;
}

.w-300px {
    width: 300px;
}

.min-width-50 {
    min-width: 50px;
}

.min-width-90 {
    min-width: 90px;
}

.min-width-140 {
    min-width: 140px;
}

.max-width-200px {
    max-width: 200px;
}

.max-width-300px {
    max-width: 300px;
}

@media (min-width: 992px) {

    .w-lg-30 {
        width: 30% !important;
    }

    .w-lg-70 {
        width: 70% !important;
    }
}

.py-12px {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.px-4-5 {
    padding-right: 2rem !important;
    padding-left: 3rem !important;
}

.width-fit-content {
    width: fit-content !important;
}

.min-width-min-content {
    min-width: min-content;
}

.max-with-fill {
    max-width: -webkit-fill-available;
}

.start-2 {
    left: 2%;
}

.start-30 {
    left: 30%;
}

.bottom-2 {
    bottom: 2%;
}

.color-black {
    color: var(--black-color);
}

.color-white {
    color: var(--white-color) !important;
}

.color-gray {
    color: var(--gray-color);
}

.color-lightgray {
    color: var(--lightgray-color);
}

.color-green {
    color: var(--green-color);
}
.color-green-meno {
    color: var(--green-meno-color);
}

.top-80 {
    top: 80%;
}

.top-46 {
    top: 46%;
}

.top-10px {
    top: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.w-max-content {
    width: max-content;
    min-width: -webkit-fill-available;
}

.w-min-width-fill {
    min-width: -webkit-fill-available;
}

.flip-horizontal {
    transform: scaleX(-1);
}

.line-height-16px {
    line-height: 16px;
}

.border-solid-lightgray {
    border: 1px solid var(--lightgray-color);
}

.border-radius-10px {
    border-radius: 10px;
}

.list-group-hover-action:hover {
    font-weight: 600;
    background-color: var(--lightgray-color);
}

.grid-wrap-historyDrug {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    padding: 16px;
    justify-items: center;
}

.justify-items-center {
    justify-items: center;
}

.box-shadow-1 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-order:hover {
    background-color: var(--white-color) !important;
}

.row-striped .row:nth-child(odd) {
    background-color: var(--lightgray-color); /* light gray */
}

.list-group-item .inline-icon {
    display: none;
}

.list-group-item:hover .inline-icon {
    display: inline-block;
}
.hover-row .inline-icon {
    display: none;
}

.hover-row:hover .inline-icon {
    display: inline-block;
}
tr .inline-icon {
    display: none;
}

tr:hover .inline-icon {
    display: inline-block;
}

.col-7 .inline-icon {
    display: none;
}

.col-7:hover .inline-icon {
    display: inline-block;
}

.hiding-icon .inline-icon {
    display: none;
}

.hiding-icon:hover .inline-icon {
    display: inline-block;
}

.custom-green-progress .progress-bar {
    background-color: var(--green-color) !important;
    color: var(--black-color) !important;
}

.custom-gray-progress .progress-bar {
    background-color: var(--gray-color) !important;
}
/* Default unchecked → white */
.custom-checkbox {
    background-color: #fff;
    border: 1px solid var(--lightgray-color); /* match Bootstrap secondary border */
}

    /* When checked → secondary */
    .custom-checkbox:checked {
        background-color: var(--gray-color); /* Bootstrap secondary */
        border-color: var(--lightgray-color);
    }

.custom-checkbox-green {
    background-color: #fff;
    border: 1px solid var(--gray-color);
    accent-color: var(--green-color);
}

    .custom-checkbox-green:checked {
        background-color: var(--green-color);
        border-color: var(--gray-color);
    }

ul.dropdown-menu.rtl {
    inset: 0px auto auto 0px !important;
    transform: translate(0px, 40px) !important;
}

.active-bg-green.dropdown-item:active {
    background-color: var(--green-color);
}

.justify-self-center {
    justify-self: center;
}

.w-fill-acailable {
    width: -webkit-fill-available;
}

.justify-self-start {
    justify-self: start;
}

.justify-items-end {
    justify-items: end;
}

.hover-green:hover,
.hover-green:focus {
    background-color: var(--green-color) !important;
}

.hover-gray:hover,
.hover-gray:focus {
    background-color: var(--gray-color) !important;
}

.dropdown-itemselect-green {
    --bs-dropdown-link-active-bg: var(--green-color);
    --bs-dropdown-link-active-color: var(--black-color);
}

.top-row {
    flex: 65 1 0;
    min-height: 0;
}

.bottom-row {
    flex: 35 1 0;
    min-height: 0;
}

.left-flex-life {
    flex: 22 1 0; /* معادل 22% */
    min-width: 0;
    min-height: 0;
}

.right-flex-life {
    flex: 78 1 0;
    min-width: 0;
    min-height: 0;
}

.flex-1-1 {
    flex: 1 1 0;
}

.flex-2-1 {
    flex: 2 1 0;
}

.flex-3-1 {
    flex: 3 1 0 !important;
}

.flex-0-auto {
    flex: 0 0 auto;
}

.min-height-0 {
    min-height: 0;
}

.min-width-0 {
    min-width: 0;
}
.horizontal-scroll {
    overflow-x: scroll;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
/*----------Select or DropDown Design---------*/
.placeholder-select {
    font-size: 0.8rem;
    color: #999;
    padding: .45rem 0.75rem !important;
}

.normal-select > option, placeholder-select > option {
    font-size: 10.5px;
    color: #999;
}

.normal-select {
    font-size: .9rem;
    color: #000;
    font-weight: bold;
}
/*---------Card Hover -----------*/
.card {
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.10);*/
    transition: box-shadow 0.2s;
}

    .card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    }

    .card .inline-icon {
        opacity: 0;
        transition: opacity 0.2s;
        pointer-events: none;
    }

    /* Show icons when card is hovered */
    .card:hover .inline-icon {
        opacity: 1;
        pointer-events: auto;
    }
/*---------Collapsible panel on the right side in ICD component -----------*/

/* ----------- Toast and other style for SharedComponents------------*/
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

    .backdrop.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .backdrop.closing {
        opacity: 0;
        pointer-events: none;
    }

.toast-slide-in {
    animation: toastIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toast-slide-out {
    animation: toastOut 0.45s cubic-bezier(0.55, 0, 0.55, 0.2) forwards;
}

@keyframes toastIn {
    0% {
        transform: translateY(120%) scale(0.95);
        opacity: 0;
    }

    60% {
        transform: translateY(-10%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes toastOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(120%);
        opacity: 0;
    }
}

/*---setting Right panel-----Use this style in settings Pages--*/
.setting-subitem {
    background: rgb(72, 82, 74);
    padding: 8px 8px;
    height: 50px;
    border-radius: 20px;
    align-items: center;
    margin-top: .25rem;
    margin-bottom: .25rem;
}

    .setting-subitem input[type=number] {
        color: white;
        background: rgb(30, 30, 30);
        border: none;
        height: 40px;
        border-radius: 20px;
    }

    .setting-subitem .percent {
        width: 88px;
    }

    .setting-subitem .price {
        width: 150px;
    }

    .setting-subitem .medume-txt {
        width: 250px;
    }
    /*.setting-subitem input[type=text] {
        color: white;
        background: rgb(30, 30, 30);
        width: 200px;
        border: none;
        height: 40px;
        border-radius: 20px;
    }*/
    .setting-subitem input {
        color: white;
        background: rgb(30, 30, 30);
        width: 200px;
        border: none;
        height: 40px;
        border-radius: 20px;
    }

.setting-textArea {
    background: rgb(72, 82, 74);
    border-radius: 20px;
    padding: 8px 12px;
}
/*-------scrollBar----------*/
/* Style the scrollbar track */
::-webkit-scrollbar {
    width: 9px;
    height: 12px;
}

/* Style the background of the scrollbar track */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

/* Style the draggable part of the scrollbar */
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid #f0f0f0; /* gives padding effect */
}

    /* On hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

/*-------Text Wrap ----------*/
.text-wrap {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    cursor: pointer;
    line-height: 1.1;
    max-height: 7em;
    height: 100%;
}

.text-ellipsis {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
}
/*-------All Drugs----------*/
.section {
    margin-bottom: 20px;
    padding: 15px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.section-header {
    padding: 0 15px;
}

.medication-item, .allergy-item, .history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
/*---------- Search Collapsible 2------------*/
.search-suggestion {
    position: absolute;
    /*top: 80%;*/
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 1;
    z-index: 1000;
    width: 100%;
    min-height: 100px;
    visibility: hidden;
}

.search-box:focus-within .search-suggestion {
    visibility: visible;
}
/*--------Search Collapsible------------*/
.search-in-menu {
    transition: width 0.3s ease-in-out;
    width: 370px;
}

    .search-in-menu:focus-within {
        width: -webkit-fill-available;
    }

.search-transition-input {
    transition: width 0.5s cubic-bezier(.4,0,.2,1), opacity 0.5s;
    height: 32px;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 0 8px;
    background: transparent;
    z-index: 10;
}

.search-containerParaclinic {
    position: relative;
    width: 100%;
    outline: none;
    transition: width 0.3s ease-in-out;
}

    .search-containerParaclinic.expanded {
        width: 100%;
    }

.search-container {
    position: relative;
    width: 300px;
    margin: 1rem;
    outline: none;
    transition: width 0.3s ease-in-out;
}

    .search-container.expanded {
        width: 100%;
    }

.search-input {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
}

.search-container1 {
    position: relative;
    margin: 1rem;
    outline: none;
    transition: width 0.3s ease-in-out;
}

    .search-container1.expanded {
        width: 100%;
    }

.search-settings {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    z-index:9999;
}

    .search-settings.open {
        max-height: 280px;
        /*max-height: fit-content;*/
        opacity: 1;
        padding: 0.5rem;
    }

    .search-settings.closed {
        max-height: 0;
        opacity: 0;
        padding: 0 0.5rem;
    }

.search-settingsfollow {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    z-index: 9999;
}

    .search-settingsfollow.open {
        max-height: 280px;
        /*max-height: fit-content;*/
        opacity: 1;
        padding: 0.5rem;
    }

    .search-settingsfollow.closed {
        max-height: 0;
        opacity: 0;
        padding: 0 0.5rem;
    }
.text-ellipsispanel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-settings1 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    z-index: 1000;
}

    .search-settings1.open {
        max-height: 500px;
        opacity: 1;
        padding: 0.5rem;
    }

    .search-settings1.closed {
        max-height: 0;
        opacity: 0;
        padding: 0 0.5rem;
    }



.chart-wrap {
    width: 100%;
    height: 100%;
    padding: 12px; /* اختیاری */
    box-sizing: border-box;
    display: flex;
}

    /* خود canvas باید کش بیاید */
    .chart-wrap canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

.chart-wrapper {
    flex: 1 1 0;
    min-height: 0;
}

.chart--container {
    flex: 1;
    position: relative;
    display: flex;
    min-height: 0;
    height: 95%;
    align-items: center;
    align-content: center;
    justify-content: center;
}

    .chart--container canvas {
        width: 90% !important;
        height: auto !important;
        margin: .5rem 5rem;
    }

/*-------Setting panel--------*/
.settings-container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.scroll-container {
    max-height: 500px;
    overflow: auto;
    padding: 0.5rem;
    direction: ltr;
    text-align: left;
}

.navigation-footer {
    margin-top: auto;
}

.bottom-20 {
    bottom: 20px;
}

.right-370 {
    right: 370px;
}

.content-footer {
    position: absolute;
    bottom: 10px;
    right: 370px;
}

.icon-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
}

    .icon-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
/*.list-group:hover{
    color: var(--green-color);
}*/
.hidden {
    display: none;
}

.border-bottom-green {
    border-bottom: 1px solid #d9fe66;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}
/*-------button Badge----------*/
.button-container-badge {
    position: relative;
    display: inline-block;
}

.button-badge {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.badge-c {
    position: absolute;
    top: -6px;
    left: -6px;
    background-color: red;
    color: white;
    font-size: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.badge-d {
    position: absolute;
    right: -6pX;
    background-color: red;
    color: white;
    font-size: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/*----FieldSet Border with legend or title*/
.fieldset {
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    padding: 1.5rem 1rem 1rem 1rem;
    position: relative;
    margin-top: 2rem;
}

.legend {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background-color: #1e1e1e;
    padding: 0 0.5rem;
    font-weight: bold;
    color: #ccc;
    z-index: 1;
}
.legend2 {
    position: absolute;
    top: -.5rem;
    right: 1rem;
    background-color: var(--gray-color);
    padding: 0 0.5rem;
    font-weight: 600;
    color: var(--white-color);
    z-index: 1;
}

/*------Custom Input number----------*/

.number-input {
    display: inline-block;
}


    .number-input .number-input-field {
        width: 3.0rem;
        padding: .15rem .35rem;
        font-size: .95rem;
        font-weight: 600;
        border: none;
        border-bottom: 1px solid white;
        background: transparent;
        color: white;
    }


        .number-input .number-input-field:focus {
            outline: none;
            box-shadow: none;
            border-bottom-color: rgba(13,110,253,0.6);
        }


    .number-input .form-label.small {
        display: block;
        margin-bottom: .15rem;
    }



/*--------------*/



.filter-chip {
    height: 30px;
    min-width: 75px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    border-radius: 15px;
    background-color: white;
    border: 1px solid black;
    transition: background-color 0.3s ease;
    color: black;
    white-space: nowrap;
    width: fit-content;
}


    .filter-chip.active {
        background-color: var(--green-color);
        color: white;
    }

    .filter-chip i {
        font-size: 10px;
    }

.bp-container {
    border-radius: 15px;
    padding: 0px 10px;
    background-color: transparent;
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 0 0 auto;
}

.bp-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-width: 400px;
    min-width: 180px;
}

.bp-title {
    font-weight: 700;
    font-size: 1.7rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-icon {
    color: #7f8c8d;
    font-size: 1.7rem;
}

.btn-add-pressure {
    background-color: #e0e0e0;
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 550;
    color: #333;
    display: flex;
    flex-direction: row;
    gap: 1px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.20);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: clamp(50px, 8vw, 80px);
    height: clamp(80px, 12vh, 120px);
    width: 50%;
    height: 40px;
}


.btn-add-pressure:hover {
    background-color: #c0c0c0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.bp-record {
    border-bottom: 1px solid #ddd;
}

.bp-value {
    font-weight: 1000;
    font-size: 0.8rem;
    color: #2c3e50;
}

.bp-value1 {
    font-weight: 1000;
    font-size: 0.7rem;
    color: #2c3e50;
}

.bp-label {
    font-size:8px;
    color: #6c757d;
}

.bp-label1 {
    font-size: 0.50rem;
    color: #6c757d;
}

.bp-subtext {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.bp-list-container {
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
}

.flex-card-soft {
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0.15, 0.15, 0.15, 0.15);
    display: flex;
    background-color: white;
}

.flex-card-soft11 {
    border-radius: 10px;
    box-shadow: 0 0px 6px rgba(0, 0,0, 0.1);
    display: flex;
    background-color: white;
}
/*-------------------------*/
.containers {
    width: 100%;
    background: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}




.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    min-height: 0;
}

.title h2 {
    font-weight: bold;
    margin: 0;
}

.title p {
    margin: 2px 0;
    font-size: 0.9rem;
    color: gray;
}

.image-placeholder {
    justify-content: center;
    background-color: #eee;
    border-radius: 8px;
}

.stats {
    display: flex;
    /*border-top: 1px solid #ddd;*/
    padding-top: 2%;
}

.stat {
    text-align: center;
    flex: 1;
    padding: 0 5px;
}

.label {
    font-size: 0.85rem;
    color: gray;
    margin-top: 4px;
}

.value-with-unit {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
}

.main-valuet1 {
    
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.main-value1 {
    font-size: 2.6rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.main-value2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.main-value3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.main-value4 {
    font-size: 2.3rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.unit {
    font-size: 10px;
    color: #696969;
    position: relative;
    bottom: 5px;
}

.unit1 {
    font-size: 0.6rem;
    color: #696969;
    position: relative;
    bottom: -4px;
}

.unit2 {
    font-size: 0.8rem;
    color: #696969;
    position: relative;
    bottom: -4px;
}

.unit3 {
    font-size: 0.8rem;
    color: #696969;
    position: relative;
    bottom: -4px;
}

.unit4 {
    font-size: 0.6rem;
    color: #696969;
    position: relative;
    bottom: -6px;
}

.separator {
    font-size: 1.5rem;
    font-weight: bold;
}

.labeldis {
    color: #696969;
    font-weight: bold;
    font-size:10px;
    margin: 0;
}

.labeldis1 {
    color: #696969;
    font-weight: bold;
    font-size: 8px;
    margin: 0;
}

.stat-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px;
    text-align: center;
    border-left: 1px solid #ddd;
    overflow: hidden;
}


.title {
    font-weight: bold;
    color: #696969;
    margin-bottom: 4px;
}


.date {
    font-size: 0.8rem;
    color: gray;
}


.bmi-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.value-with-units {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.value-with-units1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-btn {
    font-size: 0.85rem;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: transparent;
    color: #333;
    cursor: default;
}

.status-badge {
    display: inline-block;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    min-width: 70px;
    user-select: none;
}

.status-badge1 {
    display: flex;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    min-width: 80px;
    user-select: none;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 30px;
}

.status-badgebmi {
    display: inline-block;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    min-width: 40px;
    user-select: none;
    width: 40px;
    height: 20px;
}

.status-high {
    background-color: #eb5757;
}

.status-normal {
    background-color: #6fcf97;
}

.status-low {
    background-color: #f7cb73;
}

.vital-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.status-yellow-light {
    background-color: #f9d88f;
}

.status-yellow {
    background-color: #f7cb73;
}
/* لاغر? */
.status-green {
    background-color: #6fcf97;
}
/* ا?ده‌آل */
.status-orange {
    background-color: #f2994a;
}
/* اضافه وزن */
.status-red {
    background-color: #eb5757;
}
/* چاق? */
.status-darkred {
    background-color: #7f1d1d;
}

.status-green1 {
    background-color: #d9fe66;
    color: #333;
}

.status-orange1 {
    background-color: #505050;
    color: #fff;
}

.status-red1 {
    background-color: #282828;
    color: #fff;
}

/* لاغر */
.status-yellow1 {
    background-color: #A8A8A8;
    color: #333;
}

/* لاغری شدید */
.status-yellow-light1 {
    background-color: #D0D0D0;
    color: #333;
}

.status-darkred1 {
    background-color: #000000;
    color: #fff;
}


.widget-box1 {
    background-color: var(--lightgray-color);
    margin: 1rem;
    padding: 0.5rem;
    height: 350px;
    width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    justify-content: center;
    align-items: center;
}

.widget-box01 {
    background-color: var(--lightgray-color);
    margin-top: 1rem;
    padding: 0.5rem;
    height: 800px;
    width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
}

.widget-box2 {
    background-color: var(--lightgray-color);
    height: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    width: 100%;
}

.widget-box3 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color: var(--lightgray-color);
    justify-content: center;
    align-items: center;
    width: 100%;
}

.widget-box4 {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color: white;
    gap: 4px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: 0;
    height: 100%;
    width: 20%
}

.widget-boxRest {
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    background-color: white;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.widget-boxsurgery {
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    background-color: white;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

    .widget-boxsurgery i {
        font-size: 64px;
        color: #555;
        transition: all 0.3s ease;
    }

        .widget-boxsurgery i:hover {
            font-weight: bold;
            color: #333;
            transform: scale(1.1);
        }

.widget-box5 {
    position: relative;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    height: 400px;
    background-color: whitesmoke;
    display: flex;
    margin: 0 auto;
    width: 100%
}

.widget-box6 {
    position: relative;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color: #FBFBFB;
    display: flex;
    height: 100%;
    min-height: 0;
}

.datepicker-item {
    min-width: 160px;
    display: flex;
    flex-direction: row;
}

.widget-box2 span.clear-btn.left {
    display: none !important;
}

.widget-boxDate {
    display: flex;
    align-items: center;
}

    .widget-boxDate span.clear-btn.left {
        display: none !important;
    }

.big-icon1 {
    font-size: 1.5rem;
    font-weight: 1200;
    color: #000;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
}

    .big-icon1:hover {
        color: #222;
        transform: scale(1.4);
    }

.History-center-icon-css {
    font-size: 30px;
    color: gray;
    line-height: 0.8;
}
.History-center-icon-css1 {
    font-size: 18px;
    color: gray;
    line-height: 0.8;
}
.analyse-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.Chart-center-icon-css {
    font-size: 40px;
    color: gray;
    line-height: 0.8;
    position: static;
}

.fullscreen-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.bmi-trash-icon {
    display: none;
    cursor: pointer;
}

.bmi-hover-zone:hover .bmi-trash-icon {
    display: inline-block;
}

.bmi-hover-zone:hover .bmi-state {
    display: none;
}


.value-trash-icon {
  /*  display: none;*/
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.paraclinic-item {
    position: relative;
    padding-left: 40px;
    transition: background-color 0.3s ease;
    border: none;
}

    .paraclinic-item:hover {
        background-color: #f9f9f9;
    }

.btn-icon-only {
    padding: 2px;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
}

.custom-divider {
    border: none;
    border-top: 2px solid #ccc;
    margin: 5px 0;
    width: 100%;
}

.delete-icon {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.paraclinic-item:hover .delete-icon {
    opacity: 1;
}

.paraclinic-card {
    border: 2px solid #ccc;
    width: 280px;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #f9f9f9;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 1rem;
    padding: 3px;
    border-bottom: 1px solid #ddd;
    background-color: darkgrey;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-title {
    flex-grow: 1;
    text-align: center;
    color: dimgray;
}

.add-icon {
    cursor: pointer;
    color: black;
    font-size: 1rem;
}

.card-body {
    padding: 10px;
    overflow-y: auto;
}

.text-truncate-hover {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
}

    .text-truncate-hover:hover::after,
    .text-truncate-hover:focus::after {
        content: attr(data-fulltext);
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #333;
        color: #fff;
        padding: 6px 10px;
        border-radius: 4px;
        white-space: normal;
        z-index: 1002;
        box-shadow: 0 0 5px rgba(0,0,0,0.3);
        max-width: 300px;
    }

.shadow-medium {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    background-color: #fff;
}

.note-box {
    align-items: start;
}

.note-icon {
    font-size: 1.2rem;
    color: #888;
    padding-block: 0.5rem;
}

.input-no-border {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* وسط‌چین افقی */
}

.dropdown-container {
    width: 350px;
    position: relative;
}

.attachment-box {
    display: flex;
    align-items: start;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    font-size: 0.90rem;
    color: #555;
}

/*.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    direction: rtl;
    text-align: right;
    max-height: 250px; 
    overflow-y: auto;
    overflow-x: hidden;
}*/

.dropdown-wrapper1 {
    position: relative;
    padding: 0 10px;
}

.dropdown-container1 {
    width: 100%;
    position: relative;
}

.attachment-box11 {
    display: flex;
    align-items: start;
    padding: 0.5rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    font-size: 0.90rem;
    color: #555;
}

.attachment-box1 {
    display: flex;
    align-items: start;
    padding: 0.5rem;
    background-color: #d9fe66;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    font-size: 0.90rem;
    color: #555;
}

.custom-dropdown {
    width: 130px !important;
    margin: 0.5rem;
    direction: rtl;
    text-align: right;
    position: absolute;
    z-index: 1000;
    padding: 0 !important;
    top: 100%;
    left: -10%;
}

.items-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /*overflow-y: auto;*/
    padding: 10px;
}

.item-card {
    background-color: #444;
    border-radius: 12px;
    color: white;
    transition: background 0.3s;
    width: 381px;
}

    .item-card:hover {
        background-color: #3a3a3a;
        cursor: pointer;
    }

.item-card1 {
    background-color: #444;
    border-radius: 12px;
    color: white;
    transition: background 0.3s;
    width: 381px;
}

.item-card1:hover {
    background-color: #3a3a3a;
}

.item-icon {
    background-color: #1e1e1e;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.my-custom-switch .form-check-input:checked {
    background-color: var(--green-color) !important;
    border-color: #d9fe66 !important;
}

.hover-bold:hover {
    font-weight: bold;
    color: inherit;
    background-color: inherit;
}

.border-start-green {
    border-left: 2px solid #d9fe66;
}

.single-line {
    white-space: normal !important;
    overflow: auto;
    word-wrap: break-word;
}

.hover-green:hover {
    background-color: #d9fe66;
    transition: background-color 0.2s ease-in-out;
}

.selected-green {
    background-color: #d9fe66;
}

.hover-green:hover {
    background-color: #d9fe66;
}

.btn-submit {
    background-color: #d9fe66;
    border: none;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    color: #333;
    transition: background-color 0.3s ease;
}

    .btn-submit:hover {
        background-color: #c3eb5a;
    }

/*------------- Records Page ------------------------*/
.stepper-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 960px;
    margin: 24px auto;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: relative;
}

.step-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
}

.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02) inset;
    z-index: 2;
    flex-shrink: 0;
}

.step-number {
    font-weight: 600;
    color: #6c757d;
}

.step-circle svg.check {
    width: 20px;
    height: 20px;
    fill: white;
}

.step-label {
    margin-left: 12px;
    color: #6f7a86;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-connector {
    position: absolute;
    height: 3px;
    top: 50%;
    transform: translateY(-50%);
    left: calc(50% + 24px);
    right: -50%;
    margin-left: 0;
    z-index: 1;
}

.step-wrapper .step-connector {
    width: calc(100% - 30px);
    left: 35px;
    background: #e9ecef;
    border-radius: 4px;
}

.step-circle.active {
    background: var(--green-color);
    box-shadow: 0 4px 14px rgba(95,156,230,0.18);
}

    .step-circle.active .step-number {
        color: var(--black-color);
    }

.step-circle.completed {
    background: var(--green-color);
}

    .step-circle.completed svg.check {
        fill: var(--black-color);
    }

.step-connector.completed {
    background: linear-gradient(90deg, var(--green-color), var(--green-color));
}

.step-connector.active {
    background: linear-gradient(90deg, var(--green-color), var(--lightgray-color));
}

/*For Smart Phone view */
@media (max-width: 720px) {
    .step-label {
        display: none;
    }

    .step-circle {
        width: 40px;
        height: 40px;
    }
}

.rounded-right-corners {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.icons-abs {
    position: relative;
    width: 160px;
    height: 70px;
}

    /* استایل عمومی آیکن‌ها */
    .icons-abs .circle-icon {
        position: absolute;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 4px rgba(0,0,0,0.2);
        font-size: 18px;
        transition: all .25s ease-in-out;
        cursor: pointer;
        background: #d0d0d0;
        color: #222;
    }

/* موقعیت‌ها: روی هم با فاصله کم */
.pos-first {
    right: 0;
    z-index: 3;
}

.pos-second {
    right: 32px;
    z-index: 2;
}

.pos-third {
    right: 64px;
    z-index: 1;
}

/* انتخاب‌شده: فقط بزرگ‌تر و جلوتر، موقعیت حفظ شود */
.icons-abs .circle-icon.selected {
    width: 50px;
    height: 50px;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(0,0,0,0.35);
    border: 2px solid #444;
    background-color: #444 !important;
    color: #fff !important;
    z-index: 5; /* جلوتر از بقیه */
    right: auto; /* auto می‌کنیم تا سمت چپ قرار گیرد */
    left: 20px; /* همیشه سمت چپ container */
}




/*------------Settings Page------------*/
.settings {
    /*margin: 1rem auto;*/
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    flex: 85% 1 0;
    min-height: 0;
}

/*.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
}*/

.tab {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: 500;
    color: #555;
    height: 54px;
}

/*.tab.active {
        border-bottom: 3px solid var(--black-color);
        color: var(--black-color);
    }*/
.tab-setting-content {
    height: 100%;
    flex: 93% 1 0;
    min-height: 0;
}

.select-btn-minsize-1 {
    min-height: 40px;
    min-width: 150px;
}

.OverLay-Loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: rgba(255,255,255,0.6);*/
    z-index: 9999;
}
/*------Right Side In Settings------------*/
.settings-footer {
    position: absolute;
    bottom: 30px;
    right: 375px;
}

.submit-button {
    background: var(--black-color);
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    margin: 0;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}



/*----------Grid format------------*/
.grid-table {
    display: grid;
    width: 100%;
    border-collapse: collapse;
    background: var(--lightgray-color);
}

.grid-header,
.grid-row {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr) 60px;
    align-items: center;
    text-align: center;
    padding: 4px 0;
}

.grid-header-6,
.grid-row-6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 100px 80px;
    align-items: center;
    text-align: center;
    padding: 4px 0;
}
.grid-header-4,
.grid-row-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 100px ;
    align-items: center;
    text-align: center;
    padding: 4px 0;
}
.grid-header-5,
.grid-row-5 {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 100px;
    align-items: center;
    text-align: center;
    padding: 4px 0;
}
.grid-header {
    font-weight: bold;
}

.header-sm {
    color: var(--gray-color) !important;
    font-size: small;
    font-weight: 100;
}
.header-sm1 {
    color: var(--gray-color) !important;
    font-size: 11px;
    font-weight: 100;
}
.row-divider {
    border-bottom: 1px solid #e0e0e0;
    margin: 4px 0 8px 0;
}
/*-----------------------------------------------*/


.circle-img1 {
    width: 55%;
    aspect-ratio: 1/1; /* مربع ثابت */
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
}

    .circle-img1 img,
    .circle-img1 Image {
        width: 100%;
        height: 100%;
        object-fit: contain; /* یا cover */
    }

.LoginStyle2 {
    width: 50%;
    background: #fff;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,.05);
    display: flex;
    justify-content: center;
    align-items: center;
}


.LoginStyle1 {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    border-radius: 16px;
    padding: 20px;
    background: #eae7e5;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    overflow: hidden;
}

.LoginStyle3 {
    width: 50%;
    height: 100%;
    background: #F7F5F4;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,.05);
    overflow: hidden;
    position: relative;
}

    .LoginStyle3 .carousel,
    .LoginStyle3 .carousel-inner,
    .LoginStyle3 .carousel-item,
    .LoginStyle3 .carousel-item.active {
        height: 100% !important;
        width: 100% !important;
    }

.LoginImage {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-width: 100%;
    border: none;
    overflow: hidden;
    display: block;
}

.form-wrapper {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}



    .form-wrapper input {
        width: 80%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 15px;
    }

.form-wrapper1 {
    width: 100%;
    height: 100%;
    background: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
}



    .form-wrapper1 input {
        width: 80%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 15px;
    }

.forgot {
    display: block;
    margin-bottom: 15px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

    .forgot:hover {
        color: #000000;
    }

.btn-main {
    width: 50%;
    padding: 10px;
    background-color: #555555;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    justify-content: center;
    display: flex;
}
    .btn-main:disabled {
        background-color: #333333;
    }

    .btn-main:hover {
        background-color: #333333;
    }

.btn-main1 {
    width: 50%;
    padding: 10px;
    background-color: #555555;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    justify-content: center;
    display: flex;
}

    .btn-main1:hover {
        background-color: #333333;
    }

.divider {
    margin: 20px 0 10px;
    font-size: 14px;
    color: #666;
}

.btn-insurance {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.insurance-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #333;
    margin: 10px 0;
}

    .insurance-line:hover {
        color: #0056b3;
    }

.hidden {
    display: none !important;
}

.inner-addon {
    position: relative;
}

    .inner-addon .glyphicon {
        position: absolute;
        padding: 12px;
        pointer-events: none;
        height: 50px;
    }

.form-login-inputs {
    width: 100%;
}

/* کانت?نر ا?نپوت و دکمه */
.verify-input-wrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

/* ا?نپوت بزرگ و وسط */
.verify-input {
    font-size: 15px !important;
    text-align: center;
    padding: 15px !important;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* دکمه‌ها? طوس? کوچک‌تر */
.custom-btn {
    background-color: #bfc3c7 !important;
    color: #000 !important;
    border: none !important;
    /* ارتفاع کمتر */
    padding: 6px 14px !important;
    /* متن کوچکتر */
    font-size: 16px !important;
    border-radius: 8px !important;
    /* عرض کمتر */
    min-width: 140px !important;
}

.verify-button {
    width: 50% !important; /* نصف عرض */
}

/* هاور */
.custom-btn:hover {
    background-color: #a5a9ac !important;
}

.input-green:focus {
    border-color: #739942 !important;
    box-shadow: 0 0 0 0.25rem rgba(115, 153, 66, 0.5) !important;
}

.form-block {
    width: 80%;
    max-width: 600px;
    min-width: 400px;
}


.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* آیکن داخل اینپوت */
.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6c757d;
    pointer-events: none;
}

.input-icon1 {
    position: absolute;
    right: 12px;
    top: 55%;
    transform: translateY(-50%);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}
/* فاصله متن از آیکن */
.pr-with-icon {
    padding-right: 100px;
}

/* تضمین هم‌عرض بودن اینپوت و دکمه داخل بلاک 50٪ */
.form-control,
.btn-main {
    width: 100%;
    box-sizing: border-box;
}

.widget-boxLogin {
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    background-color: white;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.fixed-dropdown .dropdown-toggle {
    width: 193px;
    text-align: right;
    white-space: normal;
}

.fixed-dropdown .dropdown-menu {
    width: 193px;
}

.fixed-dropdown .dropdown-item {
    white-space: normal;
    word-wrap: break-word;
}

input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.input-wrapper input {
    padding-right: 40px; /* فاصله برای آیکن */
}

.paraclinic-container {
    display: flex;
    gap: 16px;
    transition: max-height 0.3s ease;
    flex-wrap: nowrap;
}

    .paraclinic-container.wrap {
        flex-wrap: wrap; /* وقتی showAll = true */
    }
/* -------- Records ----------------*/
.uploader {
    display: flex;
    height: 100%;
    border: 1px solid var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

    .uploader > .left {
        width: 17%;
        border-right: 1px solid #ddd;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .uploader > .right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f7f7f7;
        position: relative;
    }

.thumb-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    background: white;
}

    .thumb img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 6px;
    }

.thumb1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    background: white;
}

    .thumb1 img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 6px;
    }

.remove {
    margin-left: auto;
    color: var(--gray-color);
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 18px;
}

.add-btn {
    background: var(--gray-color);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: small;
    /*width: 40px;
    height: 40px;*/
}

.preview-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.Upload-Paraclinic-Img {
    background: var(--gray-color);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.viewer {
    display: flex;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
}

    .viewer > .left {
        width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        border-right: 3px solid var(--lightgray-color);
        border-radius: 12px;
    }

    .viewer > .right {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
        position: relative;
    }

.left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dots {
    position: absolute;
    bottom: 12px;
    display: flex;
    gap: 8px;
}


.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aaa;
    cursor: pointer;
}


    .dot.active {
        background: #2563eb;
    }

.upload-btn {
    background: var(--gray-color);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.chart--container {
    width: 100%;
    height: 100%;
    position: relative;
}

.summarybox {
    flex: 1;
    margin: 5px;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.summarybox1 {
    margin: 5px;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.image-overlay {
    position: fixed;
    inset: 0; /* top:0; bottom:0; left:0; right:0 */
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* تصویر در وسط و با حداکثر سایز */
.full-image {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 0 20px black;
}

/* دکمه ضربدر */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

    .close-button:hover {
        color: #ff5555;
    }
/*summaryhistorycomponent-----------*/
.header-bar {
    height: 20%;
    flex-shrink: 0;
}

.content-body {
    flex: 1;
    min-height: 0;
}

.summery-bg {
    height: 100%;
    background: url('image/cover.jpg') no-repeat top center, linear-gradient(to bottom, #F6F6F6 300px, #F6F6F6 300px);
    background-size: 100% 250px, 100% 100%;
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: column;
}

.background-border {
    background: #FFFFFF;
    border-radius: 20px;
}

.green-icon {
    font-size: 25px;
    color: var(--green-meno-color);
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/*----------AI Page---------------*/
.chat-wrapper {
    min-height: 100%;
    background: radial-gradient(circle at top right, var(--white-color), var(--lightgray-color));
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-layout {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.chat-card {
    width: 100%;
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
    margin: 8px auto;
    padding: 16px 0;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.chat-messages {
    width: 100%;
    height: 100%;
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

.empty-chat {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chat-message {
    display: flex;
    margin: 12px 0;
}

.chat-messages {
    width: 100%;
    height: 100%;
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

.chat-message.user {
    justify-content: flex-start;
}

.chat-message.ai {
    justify-content: flex-end;
}


.chat-bubble {
    max-width: 90%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-message.user .chat-bubble {
    background: var(--black-color);
    color: white;
}

.chat-message.ai .chat-bubble {
    background: var(--lightgray-color);
}

.prompt-box {
    border-radius: 15px;
    margin: auto;
    padding: 0 20px;
}

textarea {
    resize: none;
}

.img-orb {
    width: 60px;
    /*margin: auto;*/
}

.attachment-wrapper {
    cursor: pointer;
}

.attachment-menu {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 250px;
    background: #1e1e2f;
    padding: 15px;
    border-radius: 10px;
    z-index: 1000;
    color: white;
}

.selected-items .badge {
    font-size: 0.85rem;
}

.prompt-box textarea {
    resize: none;
    background: transparent;
    color: black;
    border: none;
}

    .prompt-box textarea:focus {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

.send-prompt {
    width: 40px;
    height: 40px;
    text-align: center;
    align-content: center;
    background-color: var(--green-meno-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

    .send-prompt.disabled {
        pointer-events: none;
        opacity: 0.5;
    }

.btn-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
}

    .btn-row > *:not(:last-child) {
        border-right: 1px solid var(--white-color);
    }

.history-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.sample-chat-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.sample-chat {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .sample-chat::-webkit-scrollbar {
        display: none;
    }

.prompt-cart {
    flex: 0 0 calc(33.333% - 8px);
    min-height: 120px;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 12px;
    line-height: 1.6;
    border: 1px solid var(--green-meno-color);
    box-sizing: border-box;
    cursor: pointer;
}

.nav-btn {
    background: white;
    border: 1px solid var(--green-meno-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width:900px) {
    .prompt-cart {
        flex: 0 0 calc(50% - 6px);
    }
}

@media (max-width:600px) {
    .prompt-cart {
        flex: 0 0 100%;
    }
}

/*profilsetting-------------------------*/
.profile-wrapper {
    position: relative; /* مرجع پاپ‌آپ */
    width: 70px;
    height: 70px;
}

.profile-trigger {
    width: 70px;
    height: 70px;
    cursor: pointer;
}

.profile-dropdown {
    position: absolute;
    top: 55px;
    background: #1e1e1e;
    color: white;
    width: 340px;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    z-index: 9999;
}


.profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.profile-info-box {
    background: #2b2b2b;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 5px;
    text-align: center;
    height: 235px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
}

.profile-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    cursor: pointer;
    border-radius: 6px;
    color: #eee;
    font-size: 12px;
}

    .profile-action-item:hover {
        background: #2f2f2f;
    }

    .profile-action-item i {
        font-size: 16px;
    }


    .profile-action-item.logout {
        color: #ff6b6b;
    }

        .profile-action-item.logout:hover {
            background: #3a1f1f;
        }
/* Vertical Thumbnail Gallery */
.thumbnail-gallery-vertical {
    display: flex;
    flex-direction: column; /* عمودی */
    gap: 10px;
    max-height: 200px; /* ارتفاع قابل اسکرول */
    overflow-y: auto; /* اسکرول عمودی */
    padding: 5px;
}

    .thumbnail-gallery-vertical .thumb {
        width: 80px; /* عرض ثابت */
        height: auto;
        cursor: pointer;
        border-radius: 4px;
        transition: transform 0.2s;
    }

        .thumbnail-gallery-vertical .thumb:hover {
            transform: scale(1.05);
        }

/* Full screen overlay */
.image-overlay1 {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-image1 {
    max-width: 90%;
    max-height: 90%;
}

.img-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    direction: ltr;
}

    .img-nav-button.left {
        left: 20px;
    }

    .img-nav-button.right {
        right: 20px;
    }

.close-Buttonimage {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 50%;
    transform: translateX(50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    z-index: 1200;
}
/*rest----------*/
.list-item-container {
    position: relative;
}

.action-icons {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 10;
    align-items: center;
}


.list-item-container:hover .action-icons {
    opacity: 1;
}


.action-icons a {
    font-size: 1.1rem;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .action-icons a:hover {
        color: #000;
    }

/*--------Questionnaire-------*/
/*Question Template*/
.Question-box {
    transition: background-color .2s cubic-bezier(0,0,.2,1);
    background-color: #fff;
    /*border: 1px solid rgb(218, 220, 224);*/
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 24px;
    page-break-inside: avoid;
    word-wrap: break-word;
}

.cursor-pointer {
    cursor: pointer;
}

.border-b {
    border-bottom: 1px solid var(--green-meno-color);
}
/*----------Form Page --------------*/
/*Input in form*/
.input-text {
    background: transparent;
    border: 0;
    outline: none;
    width: 80vw;
    max-width: 400px;
    transition: padding 0.3s 0.2s ease;
}

.checkbox-input {
    width: 23vw;
}

.input-score {
    width: 2vw;
}

.input-select-size {
    width: 10vw;
}

.font-size-large {
    font-size: 1.5em;
}

.font-size-medium {
    font-size: 1em;
}

.font-size-small {
    font-size: small;
}

.font-size-xx-large {
    font-size: xx-large;
}

.input-text:focus {
    padding-bottom: 5px;
}

.field {
    position: relative;
}

.line-height-0 {
    line-height: 0;
}

.line {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -8px;
    background: #bdc3c7;
}

    .line::after {
        content: " ";
        position: absolute;
        width: 100%;
        height: 3px;
        transform: scalex(0);
        transition: transform 0.3s ease;
        background: #6BBF8A;
    }

input:focus + .line::after {
    transform: scaleX(1);
}

.border-darkgreen {
    border-color: var(--darkgreen-color);
}

.h-Max-300px {
    max-height: 300px;
}
/*Form style*/
.form-box {
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
    /*-webkit-transition: box-shadow .28scubic -bezier(.4, 0, .2, 1);
    transition: box-shadow .28scubic -bezier(.4, 0, .2, 1);*/
    border: 1px solid rgb(218, 220, 224);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 60px 30px 30px;
}

.form-box-border {
    border-right: 4px solid transparent; /* Default state */
    transition: border-color .3s ease-in-out;
}

    .form-box-border:focus-within {
        border-right: 4px solid var(--green-meno-color); /* Change to desired color */
    }

.remove-toggle::after {
    display: none
}

.remove-toggle:focus {
    box-shadow: none
}

@media (min-width:880px) {
    .width-800 {
        width: 800px;
    }

    .width-900 {
        width: 900px;
    }
}

@media (max-width:768px) {
    .width-80vh {
        width: 70vh !important;
    }

    .width-100p {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .monitor-display {
        display: none;
    }
}
/*Checkbox style*/
.checkbox-container {
    margin-top: 20px;
    display: flex;
    align-items: start;
}

    .checkbox-container label {
        margin-right: 8px;
        font-size: 1.2em;
    }

/*Float add btn*/
.floating-button {
    /*position: fixed;
    top: 210px;
    right: 720px;*/
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #444;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-panel {
    position: absolute;
    top: 330px;
    width: 50px;
    background-color: white;
    color: black;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgb(218, 220, 224);
    border-radius: 8%;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
    /*transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;*/
}

/*Toggle Switch btn*/
.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

    .material-switch > label::before {
        background: rgb(0, 0, 0);
        box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        opacity: 0.3;
        transition: all 0.4s ease-in-out;
        width: 40px;
    }

    .material-switch > label::after {
        background: rgb(255, 255, 255);
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
        content: '';
        height: 24px;
        left: -4px;
        margin-top: -8px;
        position: absolute;
        top: -4px;
        transition: all 0.3s ease-in-out;
        width: 24px;
    }

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background-color: var(--green-meno-color);
    left: 20px;
}

/*Form Box Footer*/
.divider {
    border-left: 1px solid rgb(218, 220, 224);
    height: 32px;
    margin: 0 16px;
    width: 0;
}

.form-box-footer {
    height: 50px;
    align-items: center;
}

/*------------Horizontal scroll--------------*/
.flex-row-container {
    gap: 13px;
    padding: 16px;
    justify-items: center;
    overflow-x: scroll;
    scrollbar-width: none;
    
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 10px;
    border: 1px solid #e0e0e2;
    background-color: white;
    color: #424750;
    transition: background-color 0.3s, color 0.3s;
}

/*----------- Emergency -----------*/
.min-width-530 {
    min-width: 530px;
}
.insurance-logo {
    width: auto;
    height: 25px;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.img-circleinsurance {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    transition: all 0.3s ease;
    opacity: 0.8;
}

    /* حالت فعال */
    .img-circleinsurance.is-active {
        background-color: var(--green-color);
    }

        /* آیکون فعال → مشکی */
        .img-circleinsurance.is-active .insurance-logo {
            filter: brightness(0) saturate(200%);
        }
/*---------------TrackingCodeInquiry---------------*/
.no-header-modal .modal-header {
    display: none !important;
}

.no-header-modal .modal-close {
    display: none !important;
}

.no-header-modal .modal-dialog .modal-content .modal-header {
    display: none !important;
}


.no-header-modal .modal-dialog .modal-header,
.no-header-modal .modal-dialog .modal-header .modal-title,
.no-header-modal .modal-dialog .modal-header .modal-close {
    display: none !important;
}
.my-confirm-dialog .modal-header {
    display: flex;
    justify-content: space-between !important;
    
}

.my-confirm-dialog .modal-title {
    font-size:13px !important;
}
/*--------------FollowComponent---------------------*/
.dark-table {
    background-color: transparent;
    color: white;
}

    .dark-table th,
    .dark-table td {
        background-color: transparent;
        border-color: rgba(255,255,255,0.2);
    }

    .dark-table thead th {
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }
.kpi-clickable {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 0.5px 2px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.15s ease;
}

    .kpi-clickable:hover {
        background-color: rgba(255,255,255,0.08);
        transform: translateY(-0.5px);
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }

    .kpi-clickable:active {
        transform: translateY(0);
        box-shadow: 0 0.5px 1.5px rgba(0,0,0,0.15);
    }
.finding-row {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); 
    transition: all 0.2s ease;
}

    .finding-row:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); 
    }

.date-text {
    font-size: 10px;
    color: #6c757d; 
}

.small {
    font-size: 12px;
}
.score-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.score-item {
    padding: 10px;
    border-radius: 8px;
    background: #1f1f1f;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #444;
    font-size: 11px;
}

    .score-item:hover {
        background: #2c2c2c;
    }

    .score-item.selected {
        background: #808080;
        color: #000;
    }
.question-item {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    width: 100%;
}

.question-title {
  
    font-size: 12px;
}

.question-answer {
    margin-top: 4px;
    color: gray;
}
.question-select {
    transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
    border-radius: 8px;
}
.today-item {
    position: relative;
}
    .today-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        background-color: #fafafa;
    }
.delete-icon {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
    margin-right: 8px;
}

.today-item:hover .delete-icon {
    opacity: 1;
    visibility: visible;
}
.yes-no-group .btn {
    min-width: 70px;
    font-size: 13px;
}

    .yes-no-group .btn.active {
        box-shadow: none;
    }
.yesno-btn {
    border: 1px solid #666;
    background-color: #4b4b4b;
    color: white;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

    .yesno-btn:hover {
        background-color: #5a5a5a;
        color: white;
    }

    .yesno-btn.selected {
        background-color: #739942;
        border-color: #739942;
        color: white;
    }
.btn-yes-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px; 
    user-select: none;
    min-width: 48px;
    text-align: center;
    border: 1px solid transparent;
}
.btn-yes {
    background-color: #e9ecef;
    color: #495057;
}

.btn-no {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}