?@font-face {
    font-family: 'Mj_Silicon';
    src: url('../Fonts/Mj_Silicond41d.eot?#') format('eot'), url('../Fonts/Mj_Silicon.ttf') format('truetype'), url('../Fonts/Mj_Silicon.html') format('woff');
}

@font-face {
    font-family: 'bkoodak';
    src: url('../Fonts/BKoodakBoldd41d.eot?#') format('eot'),
        /* IE6–8 */
        url('../Fonts/BKoodakBold.html') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../Fonts/BKoodakBold.ttf') format('truetype');
    /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face {
    font-family: 'byekan';
    src: url('../Fonts/BYekand41d.eot?#') format('eot'),
        /* IE6–8 */
        url('../Fonts/BYekan.html') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../Fonts/BYekan.ttf') format('truetype');
    /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face {
    font-family: 'bnazanin';
    src: url('../Fonts/BNazanind41d.eot?#') format('eot'),
        /* IE6–8 */
        url('../Fonts/BNazanin.html') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../Fonts/BNazanin.ttf') format('truetype');
    /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url("../Fonts/IRANSansWeb.eot");
    src: url("../Fonts/IRANSansWeb.eot") format("embedded-opentype"), url("../Fonts/IRANSansWeb.ttf") format("truetype"), url("../Fonts/IRANSansWeb.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb_Bold';
    src: url("../Fonts/IRANSansWeb_Bold.eot");
    src: url("../Fonts/IRANSansWeb_Bold.eot") format("embedded-opentype"), url("../Fonts/IRANSansWeb_Bold.ttf") format("truetype"), url("../Fonts/IRANSansWeb_Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

body {
    direction: rtl;
    margin: 0px;
    padding: 0px;
    font-size: 14px !important;
    font-family: IRANSansWeb, 'bkoodak', Yagut, Tahoma;
    background-color: rgb(247, 247, 247);
}

input,
select {
    font-family: IRANSansWeb, 'bkoodak', Yagut, Tahoma !important;
    min-width: 250px;
}

input[type="checkbox"] {
    margin-top: 10px;
    width: 12px;
}

a {
    text-decoration: none;
    color: #878585;
}

.Footer a:hover {
    color: #b04242;
}

/**************************** Tables *****************************/


.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

table {
    width: 100%;
    font-size: 13px;
    margin: 16px 0;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    min-width: fit-content; 
}

table th {
    padding: 11px 14px;
    font-weight: 600;
    font-size: 12px;
    background: #1e0369;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
    min-width: fit-content; 
}

table td {
    padding: 7px 10px;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
    min-width: fit-content; 
}

table tbody tr {
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
}

table tbody tr:nth-child(even) {
    background: #f8f8fb;
}

table tbody tr:hover {
    background: #eef2ff;
}

table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 600px) {
    table {
        font-size: 12px;
    }

    table th,
    table td {
        padding: 6px 8px;
    }
}


.Pager td:hover {
    background-image: -moz-linear-gradient(top, rgba(198, 5, 5, 0.42), rgba(198, 5, 5, 0.42));
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(198, 5, 5, 0.42)), to(rgba(198, 5, 5, 0.42)));
    background-image: -webkit-linear-gradient(top, rgba(198, 5, 5, 0.42), rgba(198, 5, 5, 0.42));
    background-image: -ms-linear-gradient(top, rgba(250, 250, 250, 0.30), rgba(224, 224, 224, 0.30));
    background-image: -o-linear-gradient(top, rgba(250, 250, 250, 0.30), rgba(224, 224, 224, 0.30));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(250, 250, 250, 0.30)', endColorstr='rgba(224, 224, 224, 0.30)');
}

.featured-column {}


table tr:last-child td:first-child {
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

table tr:last-child td:last-child {
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.Main {
    width: 100%;
    min-width: 980px;
    height: auto;
    min-height: 500px;
    margin: 0 auto;
}

.Header {
    width: 100%;
    height: 300px;
    background-size: 80% 100%;
    float: right;
    background-image: url('../Image/bg.jpg');
    padding-top: 10px;

}

#Ticker {
    width: 100%;
    min-width: 980px;
    height: 40px;
    float: right;
    background-color: #152e66;
    overflow: hidden;
}

#TickerTitle {
    width: 120px;
    height: 40px;
    margin: auto auto;
    text-align: center;
    padding-top: 10px;
    height: 40px;
    float: right;
    background: #152e66;
    color: #fff;
    font-size: 15px;
}

#TickerContent {
    padding: 5px;
    float: right;
    background: #152e66;
    font-size: 15px;
}

.fade,
.slide,
.typing {
    /*background: none repeat scroll 0 0 #3B8ED3;*/
    color: #FFFFFF;
    font-size: 15px;
    margin: 0px;
    padding: 5px 20px;
}

.fade>li,
.slide>li,
.typing>li {
    list-style: none inside none;
}

.Menu-Logo {
    width: 100%;
    min-width: 980px;
    float: right;
    height: 44px;
    /*background-color:rgba(133, 3, 3, 0.70);*/
    background: #152e66;
    /* Old browsers */
}

.Logo {
    width: 100%;
    height: 40px;
    float: right;
    background-image: url('../Image/Picture2.png');
    background-size: 250px 50px;
    background-repeat: no-repeat;
    background-position: 460px 0px;
}

.Search {
    width: 25%;
    height: 40px;
    float: right;
}

.Menu {
    width: 75%;
    height: 40px;
    float: right;
}

.Menu ul {
    width: 100%;
    float: right;
    display: inline-block;
    margin: 0;
    margin-top: 5px;
    padding: 0;
}

.Menu ul li {
    display: inline-block;
    padding: 5px 10px;
}

.Menu ul li a {
    font-size: 16px;
    padding: 7px 10px;
    /*padding-top: 5px;*/
    -webkit-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
    color: rgba(255, 255, 255, .95);
}

.Menu ul li a:hover {
    border-top: 2px solid #b04242;
    color: #b04242;
    background-color: rgba(255, 255, 255, .95);
}

.nav {
    background-color: rgba(134, 134, 134, 0.41);
    width: 100%;
    height: 30px;
    float: right;
    text-align: right;
    padding-top: 5px;
    color: rgb(52, 49, 49);
}

.nav div {
    padding-right: 15px;
}

.nav div a {
    font-size: 14px;
    color: rgb(52, 49, 49);
}

.nav a:hover {
    text-decoration: underline;
}

.title {
    width: 80%;
    margin: 20px auto;
}

.title div {
    width: 100%;
    height: 3px;
    background-color: #b04242;
}

.title div span {
    background-color: rgb(247, 247, 247);
    position: relative;
    top: -10px;
    right: -25px;
    padding: 2px 5px;
}

.unit_fast_reach li div {
    margin: 4px;
}

.unit_fast_reach li :hover>.first-child {
    border-left: 1px solid #b04242;
    background-color: rgba(0, 0, 0, 0.1);
    color: #b04242 !important;
}

.unit_fast_reach img {
    padding: 2px;
    background-color: rgba(224, 224, 224, 0.65);
    border: 1px solid #a8a6a6;
    border-radius: 5px;
    box-shadow: 0 0 1px rgb(52, 49, 49);
}

.img {
    padding: 4px;
    background-color: rgba(224, 224, 224, 0.65);
    border: 1px solid #a8a6a6;
    border-radius: 5px;
    box-shadow: 0 0 1px rgb(52, 49, 49);
}

.SocialNetwork {
    width: 30%;
    float: right;
    height: 100px;
}

.Social {
    width: 80%;
    margin: 5px auto;
    height: 40px;
}

.Social div {
    width: 33px;
    height: 33px;
    display: block;
    float: right;
    margin-right: 10px;
    cursor: pointer;
}

.Social a {
    width: 33px;
    height: 33px;
    display: block;
    background-image: url("../Image/socialmedia.html");
    text-indent: -99999px;
    -webkit-transition-property: color, background;
    -webkit-transition-duration: 0.0s, 0.0s;
    -webkit-transition-timing-function: linear, ease-in;
    float: right;
}

.fb {
    -webkit-transition: all ease-out 0.4s;
    transition: all ease-out 0.4s;
}

.fb:hover {
    background-position: 0px -33px;
}

.twitter {
    -webkit-transition: all ease-out 0.4s;
    transition: all ease-out 0.4s;
    background-position: -40px 0px;
}

.twitter:hover {
    background-position: -40px -33px;
}

.Automation {}

.Automation:hover {
    background-size: 16px 16px;
    background: url('../Image/Foldersicon.png') #b04242;
}

.Address-Info {
    width: 80%;
    margin: 1px auto;
    height: 40px;
}

.Address-Info p {
    margin: 0;
    padding: 0;
    float: right;
    margin-right: 5px;
}

.call {
    float: right;
    background-image: url('../Image/icon/Phone-icon.png');
    background-size: 16px 16px;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: #666;
}

.email {
    float: right;
    background-image: url('../Image/icon/post-icon.png');
    background-size: 16px 16px;
    padding: 10px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: #666;
}

.Slider {
    float: right;
    width: 100%;
    height: 390px;
    /*background-image: url('../Image/medicaldoctor2.jpg');*/
    background-color: rgb(235, 235, 235);
    background-repeat: repeat;
    padding-top: 10px;
}

.Right-Slide {
    float: right;
    width: 50%;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
    background-image: url('../Image/m1.html');
    margin-top: 55px;
}

.Left-Slide {
    float: right;
    width: 50%;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
    background-image: url('../Image/m2.html');
    margin-top: 55px;
}

.Top-banner {
    position: relative;
    width: 70%;
    height: 330px;
    background-image: url('../Image/m1.html');
    margin: 20px auto;
}

.Content {
    float: right;
    width: 100%;
    height: auto;
    background-repeat: repeat;
    text-align: justify;
}

.Content div {
    width: 70%;
    height: auto;
    margin: 5px auto;
}

.Content p {
    width: 95%;
    margin: 0 auto;
    text-align: justify;
    line-height: 35px;
    font-size: 16px;
}

.OurService {
    float: right;
    width: 100%;
    height: auto;
    background-repeat: repeat;
    margin-top: 40px;
}

.Centeral-div {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

figure {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px;
    margin: 0px;
    padding: 0px;
    border: 0px;
    font-size: 100%;
    font-weight: 200;
    font: inherit;
    vertical-align: baseline;
    overflow: hidden;
}

.Grid {
    width: 29%;
    height: 215px;
    float: right;
    padding: 3px;
    background-color: #E0E0E0;
    border: 1px solid #b6b6b6;
    box-shadow: 0 0 1px #878787;
    margin-right: 26px;
    margin-bottom: 8px;
    -webkit-animation: wpb_ttb 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-animation: wpb_ttb 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-animation: wpb_ttb 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: wpb_ttb 0.7s 1 cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    overflow: hidden;
}

.Grid figure {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    padding-bottom: 45px;
    margin-bottom: 20px;
    overflow: hidden;
}

.Grid figure img {
    width: 100%;
    display: block;
    position: relative;
    top: 0px;
}

.Grid figure:hover img,
.Grid figure:hover figcaption {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}

.Grid figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}

.Grid figcaption {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 10px 0px 20px;
    background: rgba(133, 3, 3, 0.70);
    color: #a4a4a4;
    height: 160px;
    bottom: 0;
    opacity: 1;
    -webkit-transform: translateY(69%);
    -moz-transform: translateY(69%);
    -ms-transform: translateY(69%);
    transform: translateY(69%);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
}

.Grid figcaption p {
    margin-top: -6px;
    font-size: 16px;
    color: #f5f5f5;
    padding: 0 20px;
}

.Footer {
    background-color: rgba(216, 214, 214, 0.98);
    width: 100%;
    min-height: 300px;
    height: auto;
    float: right;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin-top: 20px;
    text-align: center;
}

.Inner {
    width: 87%;
    height: auto;
    min-height: 250px;
    float: right;
}

.div-1 {
    float: right;
    width: 38%;
    padding-right: 1%;
    padding-left: 1%;
}

/*.div-1 p {
        width: 70%;
        height: auto;
        text-align: justify;
        margin: 5px auto;
        padding: 5px;
        line-height: 25px;
    }*/

/*.div-1 h2 {
        margin-right: 60px;
    }*/

.div-2 {
    float: right;
    width: 28%;
    padding-right: 1%;
    padding-left: 1%;
}

.div-3 {
    float: right;
    width: 28%;
    padding-right: 1%;
    padding-left: 1%;
}

.Clear {
    width: 100%;
    height: 15px;
    float: right;
}

.Last-Footer {
    float: right;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin: 0 auto;
}

.Button {
    color: buttontext;
    padding: 5px 10px;
    border: 2px outset buttonface;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    background-color: buttonface;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-user-select: none;
    background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede);
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
    color: #444;
    font: inherit;
    margin: 5px;
    outline: none;
    text-shadow: 0 1px 0 rgb(240, 240, 240);
    align-items: flex-start;
    text-align: center;
    cursor: pointer;
    -webkit-padding-end: 10px;
    -webkit-padding-start: 10px;
    -webkit-transition: all ease-out 0.4s;
}

.Button:hover {
    background-image: -webkit-linear-gradient(rgba(222, 222, 222, 0.87), rgba(220, 220, 220, 0.95) 38%, rgba(200, 199, 199, 0.92));
}

.TextBox {
    border: 1px solid rgba(102, 102, 102, 0.52);
    border-radius: 4px;
    padding: 5px 8px;
    box-shadow: 1px 0 1px rgba(0, 0, 0, 0.54);
    width: 180px;
    margin-right: 5px;
    resize: none;
}

.Left {
    float: left;
}

.syswidget {
    margin-bottom: 30px;
    text-align: right;
    padding-bottom: 0px;
}

.widget-title span {
    background-color: #e25959;
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 2px;
    vertical-align: middle;
}

.syswidget ul {
    list-style-type: none;
    margin: 0;
    font-size: 12px;
    padding: 0;
}

.syswidget ul li {
    margin: 0;
    outline: none;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.syswidget a:hover {
    color: #a8515b;
    text-decoration: none;
}

.map {
    background: url('../Image/UserGuid/icons_map.png') no-repeat right 5px;
    padding: 5px;
    padding-right: 20px;
    line-height: 2em;
}

.bus {
    background: url('../Image/UserGuid/icons_bus.png') no-repeat right 5px;
    padding: 5px;
    padding-right: 20px;
    line-height: 2em;
}

.hotel {
    background: url('../Image/UserGuid/icons_hotel.png') no-repeat right 5px;
    padding: 5px;
    padding-right: 20px;
    line-height: 2em;
}

.parking {
    background: url('../Image/UserGuid/icons_parking.png') no-repeat right 5px;
    padding: 5px;
    padding-right: 20px;
    line-height: 2em;
}

.schedule {
    background: url('../Image/UserGuid/icons_schedule.png') no-repeat right 5px;
    padding: 5px;
    padding-right: 20px;
    line-height: 2em;
}

/**********************MessageBox ********************8*/

.info {
    background-color: #4ea5cd;
    border-color: #3b8eb5;
}

.success {
    background-color: #61b832;
    border-color: #55a12c;
}

/*.error {
    background-color: #de4343;
    border-color: #c43d3d;
}*/

.warning {
    background-color: #eaaf51;
    border-color: #d99a36;
}

@-webkit-keyframes animate-bg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -80px 0;
    }
}

@-moz-keyframes animate-bg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -80px 0;
    }
}

@keyframes animate-bg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -80px 0;
    }
}

.message {
    -webkit-background-size: 40px 40px;
    -moz-background-size: 40px 40px;
    background-size: 40px 40px;
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(.25, rgba(255, 255, 255, .05)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .05)), color-stop(.75, rgba(255, 255, 255, .05)), color-stop(.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    background-image: -ms-linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    -moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .4);
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .4);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .4);
    width: 100%;
    text-align: center;
    border: 1px solid;
    color: #fff;
    padding: 15px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    _position: absolute;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    -webkit-animation: animate-bg 5s linear infinite;
    -moz-animation: animate-bg 5s linear infinite;
    cursor: pointer;
    z-index: 1000;
    font-size: 14px;
}

.Album-Div {
    transition-property: all;
    transition-duration: 0.4s;
    padding: 4px;
    background-color: buttonface;
    border: 1px solid #c4c4c4;
    float: right;
    margin: 10px;
    width: 190px;
    height: 150px;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.69);
    margin-right: 35px;
}

.Album-Div img {
    width: 190px;
    height: 150px;
}

.Album-Div div {
    position: relative;
    top: 1px;
    /*
    right:-90px;
    -webkit-transform:rotate(-90deg);
    text-align:right;*/
    opacity: 0.9;
    margin-top: -30px;
    background-color: rgba(0, 0, 0, 0.69);
    text-align: center;
    height: 25px;
    width: 100%;
    color: rgb(255, 255, 255);
}

.Album-Div:hover {
    background-color: #e25959;
    border: 1px solid #9b2929;
    box-shadow: 0 0 1px #9b2929;
}

/********************************************************************************************************/
.row {
    float: right;
    width: 270px;
    margin: 7px;
}

.col1 {
    float: right;
    width: 90px;
    text-align: left;
    padding-top: 5px;
}

.col2 {
    float: right;
    width: 180px;
    text-align: right;
}

.Rows {
    width: 100%;
    float: right;
    height: auto;
    margin-top: 5px;
}

.Column-1 {
    width: 100%;
    float: right;
    height: auto;
}

.Column-2 {
    width: 50%;
    float: right;
    height: auto;
}

.Column-3 {
    width: 33%;
    float: right;
    height: auto;
}

.Column-4 {
    width: 25%;
    float: right;
    height: auto;
}

.Text-Left {
    text-align: left;
    padding-top: 7px;
}

.Text-Right {
    text-align: right;
}

/************SLIDER*************/

.content_body {
    padding: 0;
}

.page-title {
    width: 100%;
    background: linear-gradient(90deg, #0d2b6e, #1e4fa3);
    margin-top: 15px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-title-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #fff;
}

.page-title-inner h1 {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
    font-family: tahoma;
}

.page-icon {
    width: 36px;
    height: 36px;
    background: #4fc3f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.doctor-search-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}

.search-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d0d7e3;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.search-field select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.search-action {
    justify-content: flex-end;
}

.search-action button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    justify-content: center;
}

.search-action button:hover {
    background: #1558b0;
}

@media (max-width: 600px) {
    .search-row {
        grid-template-columns: 1fr;
    }
}

.reserving-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* تب‌ها */
.reserving-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #f4f7fb;
    border-bottom: 1px solid #e0e7f0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 7px 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.tab-btn:hover {
    background: #e2eaf6;
    color: #1a73e8;
}

/* کلاس active که JS اعمال می‌کنه */
.tab-btn.active,
.tab-btn[class*="active"] {
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
}

/* اسکرول افقی روی موبایل */
.reserving-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* جدول */
.reserving-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 700px;
}

.reserving-table thead tr {
    background: #1a73e8;
    color: #fff;
}

.reserving-table thead th {
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.reserving-table tbody tr {
    border-bottom: 1px solid #f0f4fa;
    transition: background 0.15s;
}

.reserving-table tbody tr:hover {
    background: #f4f8ff;
}

.reserving-table tbody td {
    padding: 9px 8px;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.col-check {
    width: 36px;
}

.col-action {
    width: 160px;
}


.btn-delete-selected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #fff1f0;
    color: #d93025;
    border: 1px solid #f5c6c3;
    border-radius: 6px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-delete-selected:hover {
    background: #fde8e7;
}

/* ظرف اصلی جدول با سایه ملایم */
.modern-table-wrapper {
    width: 100%;
    margin: 25px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    /* ریسپانسیو سازی موبایل */
    border: 1px solid #eef2f7;
    direction: rtl;
}

/* استایل جدول */
.modern-doctor-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Tahoma', sans-serif;
    /* پیشنهاد می‌شود از فونت Vazir یا IRANSans استفاده کنید */
    min-width: 900px;
}

/* هدر لوکس آبی */
.modern-doctor-table thead tr {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
}

.modern-doctor-table thead th {
    padding: 18px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* استایل سطرها */
.modern-doctor-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease-in-out;
}

.modern-doctor-table tbody tr:hover {
    background-color: #f8faff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.modern-doctor-table tbody td {
    padding: 16px 12px;
    text-align: center;
    color: #334155;
    font-size: 0.9rem;
    vertical-align: middle;
}

.action-col {
    background: rgba(255, 255, 255, 0.1);
}

.empty-state {
    padding: 80px 20px !important;
    background: #fafbfc;
}

.empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-content p {
    font-size: 1.1rem;
    color: #475569;
    margin: 0;
    font-weight: bold;
}

.empty-content span {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 8px;
}


.modern-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.modern-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modern-table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modern-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-doctor-table tbody tr {
    animation: fadeIn 0.4s ease forwards;
}

.section-card-body {
    padding: 16px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


@media (max-width:1200px){

    .page-wrapper{
        flex-direction:column;
        gap:12px;
    }

    .sidebar{
        width:100%;
        order:2;
    }

    .section-card-body{
        padding:14px 12px;
        border-radius:10px;
        box-shadow:0 1px 6px rgba(0,0,0,0.06);
    }

    .section-card-header{
        font-size:13px;
        padding:12px 14px;
    }

    .notice-box,
    .calendar-hint{
        font-size:13px;
        padding:12px 12px;
        border-radius:8px;
    }
}

@media (max-width: 480px) {
    .page-title-inner h1 {
        font-size: 15px;
    }

    .page-title-inner {
        padding: 10px 14px;
    }
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; 
}

.table-wrap table th,
.table-wrap table td {
    padding: 8px 10px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
}

.btn-reserve {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}
.btn-reserve--active  { color: #fff; background: #2e7d32; }
.btn-reserve--full    { color: #fff; background: #b71c1c; pointer-events: none; }
.btn-reserve--disabled{ color: #fff; background: #9e9e9e; pointer-events: none; }


.status-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.status-badge--active   { background: #e8f5e9; color: #2e7d32; }
.status-badge--full     { background: #ffebee; color: #b71c1c; }
.status-badge--disabled { background: #f5f5f5; color: #757575; }


@media (max-width: 768px) {
    .table-wrap table th,
    .table-wrap table td {
        padding: 6px 8px;
        font-size: 12px;
    }
}
/* ===== Table General Styles (Desktop) ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th {
    background: linear-gradient(90deg, #F8FAFC, #E3F2FD);
    color: #1565C0;
    padding: 12px;
    border-bottom: 2px solid #1976D2;
    text-align: right;
    font-size: 14px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #E3F2FD;
    color: #444;
    font-size: 14px;
}

.gridViewEvenRow { background-color: #ffffff; }
.gridViewOddRow { background-color: #F8FBFF; }

/* Buttons & Badges (Blue Theme) */
.btn-reserve {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    transition: all 0.2s;
}

.btn-reserve--active {
    background: #1976D2;
    color: #fff;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}
.btn-reserve--active:hover { background: #1565C0; }

.btn-reserve--disabled, .btn-reserve--full {
    background: #E0E0E0;
    color: #757575;
    cursor: not-allowed;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.status-badge--active { background: #E3F2FD; color: #1976D2; }
.status-badge--disabled { background: #F5F5F5; color: #9E9E9E; }
.status-badge--full { background: #ECEFF1; color: #546E7A; }
 .modern-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        padding: 16px 25px;
        border-radius: 12px;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
        border: 1px solid #bae6fd;
        direction: rtl;
    }

    .nav-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 18px;
        font-weight: 800;
        color: #0369a1;
    }

    .nav-title svg {
        width: 26px;
        height: 26px;
        stroke: #0284c7;
    }

    .nav-action-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
        color: #fff !important;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: bold;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    }

    .nav-action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(2, 132, 199, 0.4);
        background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    }

    .nav-action-btn svg {
        width: 18px;
        height: 18px;
        stroke: #fff;
    }
    
    .show-mobile-details{
        display:none;
    }

    @media (max-width: 600px) {
        .modern-nav {
            flex-direction: column;
            gap: 15px;
            text-align: center;
            padding: 15px;
        }
        .nav-action-btn {
            width: 100%;
            justify-content: center;
        }
        .nav-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 18px;
            font-weight: 800;
            color: #0369a1;
        }
    }

    .btn-reserve {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
        color: #fff !important;
        padding: 13px 28px;
        border-radius: 12px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.3s ease;
        box-shadow: 0 4px 18px rgba(0, 119, 182, 0.45);
        position: relative;
        overflow: hidden;
        letter-spacing: 0.3px;
    }

    .btn-reserve svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.3s ease;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
        flex-shrink: 0;
    }

    .btn-reserve::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
        transition: left 0.6s ease;
    }

    .btn-reserve:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 119, 182, 0.6);
        background: linear-gradient(135deg, #0096c7 0%, #0077b6 100%);
    }

    .btn-reserve:hover svg {
        transform: scale(1.15) rotate(-5deg);
    }

    .btn-reserve:hover::after {
        left: 100%;
    }

    .btn-reserve:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 119, 182, 0.4);
    }

    @media (min-width: 769px) {
        #detailsModal {
            display: none !important;
            pointer-events: none !important;
        }
    }


    .page-wrapper {
        display: flex;
        flex-direction: row; 
        gap: 25px;
        margin: 30px auto;
        padding: 0 20px;
        font-family: 'Tahoma', 'Vazirmatn', sans-serif;
        direction: rtl;
        max-width: 1200px;
    }

    .main-content {
        flex: 1;
        min-height: 500px;
        display: block; 
    }

    .sidebar {
        width: 280px;
        flex-shrink: 0;
    }

    .syswidget {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .widget-title {
        font-size: 16px;
        color: #0f172a;
        margin-top: 0;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 2px solid #0ea5e9;
        display: inline-block;
        font-weight: bold;
    }
    
    .textwidget ul { list-style: none; padding: 0; margin: 0; }
    .textwidget ul li { margin-bottom: 12px; }
    
    .textwidget ul li a {
        display: block;
        padding: 10px 15px;
        background-color: #f8fafc;
        color: #334155;
        text-decoration: none;
        border-radius: 8px;
        transition: 0.3s;
        font-size: 14px;
        border-right: 3px solid transparent;
    }
    
    .textwidget ul li a:hover {
        background-color: #f1f5f9;
        color: #0ea5e9;
        border-right-color: #0ea5e9;
    }
    
    .textwidget dl { margin: 0; font-size: 14px; line-height: 1.8; }
    .textwidget dt { color: #475569; }

    .phone-number-val {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-item {
    display: block;
    padding: 4px 0;
}

    .phone-note-box {
        font-size: 13px; 
        color: #64748b; 
        background: #f8fafc; 
        padding: 10px; 
        border-radius: 8px;
        margin-top: 10px;
    }

    /* =========================================
       Notice Container
       ========================================= */
    .clinic-notice-container {
        background-color: #fff9db;
        border: 1px solid #ffe066;
        border-right: 5px solid #fab005;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 30px;
        direction: rtl;
        text-align: right;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        position: relative;
        overflow: hidden;
        height: 580px;
    }
    .icon-svg { width: 20px; height: 20px; flex-shrink: 0; }
    .notice-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; border-bottom: 1px solid #fcc419; padding-bottom: 10px; color: #856404; }
    .header-icon { width: 24px; height: 24px; stroke: #000e4b; }
    .notice-header h2 { font-size: 1.1rem; margin: 0; font-weight: bold; }
    .notice-pdf-button { display: inline-flex; align-items: center; gap: 8px; background-color: #000a66; color: #ffffff !important; text-decoration: none; padding: 10px 20px; border-radius: 6px; font-size: 0.9rem; font-weight: bold; width: fit-content; transition: all 0.3s ease; }
    .notice-pdf-button:hover { background-color: #100036; transform: translateY(-1px); }
    .notice-pdf-button .icon-svg { stroke: #fff; }
    .notice-message { line-height: 1.8; color: #343a40; margin-top: 15px; }
    .highlight { color: #d9480f; font-weight: bold; }
    .time-info { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: rgba(255, 255, 255, 0.6); padding: 10px; border-radius: 6px; font-size: 0.95rem; }
    .clock-icon { stroke: #1b0064; }

    @media (max-width: 1200px) {
        .notice-pdf-button { width: 100%; justify-content: center; }
        .time-info { flex-direction: column; align-items: flex-start; }
    }

    .isolated-section-wrapper {
        display: block;
        clear: both;
        width: 100%;
        position: relative;
        z-index: 10;
        margin-top: 25px;
    }

    .section-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(25, 118, 210, 0.06);
        margin-bottom: 20px;
        overflow: hidden;
        border: 1px solid #E3F2FD;
        max-width:1200px;
        margin: auto;
    }

    .section-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        background: linear-gradient(90deg, #F8FAFC, #E3F2FD);
        border-bottom: 2px solid #1976D2;
        color: #1565C0;
        font-size: 16px;
        font-weight: bold;
    }

    .section-card-header .icon-badge {
        width: 36px;
        height: 36px;
        background: #fff;
        border: 1px solid rgba(25, 118, 210, 0.3);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .section-card-header .search-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231976D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
        background-size: 20px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .section-card-body {
        padding: 16px 20px;
        background: #F4F8FB;
    }

    /* ===== Calendar Section ===== */
    .calendar-section {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(25, 118, 210, 0.06);
        padding: 20px;
        border: 1px solid #E3F2FD;
        max-width: 1200px;
        margin:auto;

    }

    .calendar-section h2 {
        font-size: 18px;
        color: #1565C0;
        margin: 0 0 16px 0;
        padding-bottom: 10px;
        border-bottom: 2px solid #E3F2FD;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .calendar-section h2::before {
        content: '';
        display: inline-block;
        width: 22px;
        height: 22px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .calendar-hint {
        background: #F8FBFF;
        border-radius: 8px;
        padding: 14px 16px;
        color: #444;
        font-size: 14px;
        border-right: 4px solid #42A5F5;
        overflow: auto;
    }

    #description {
        margin-top: 10px;
        color: #1976D2;
        font-weight: bold;
        font-size: 14px;
    }


    /* ===== Responsive ===== */
    @media (max-width: 768px) {
        .page-wrapper {
        display: flex;
        flex-direction: column;
    }
        .page-wrapper { flex-direction: column; }
        .sidebar { width: 100%; overflow: hidden; }
        
        .calendar-section { padding: 10px; }
        .calendar-hint { padding: 10px; }
        
        .show-mobile-details {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: #EEF4FF;
            color: #1976D2;
            padding: 8px 14px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            border: 1px solid #BBDEFB;
        }

        .show-mobile-details:hover {
            background: #1976D2;
            color: #fff;
            border-color: #1976D2;
        }
        
        .doctor-row, .schedule-list-item { 
            display: block;
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            margin-bottom: 15px;
            padding: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            position: relative;
        }

        .doctor-header-row { display: none; }

        .doctor-data-cell {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed #f0f0f0;
            font-size: 14px;
        }

        .doctor-data-cell:last-child { border-bottom: none; }
        .doctor-data-cell::before { content: attr(data-label); font-weight: bold; color: #666; }

        .more-details-btn {
            display: block;
            width: 100%;
            background-color: #1976D2;
            color: white;
            text-align: center;
            padding: 10px;
            border-radius: 8px;
            margin-top: 10px;
            text-decoration: none;
            font-weight: bold;
            font-size: 13px;
        }

        .mobile-extra-info {
            display: none;
            padding-top: 10px;
            background: #f9f9f9;
            margin: 10px -15px -15px -15px;
            padding: 15px;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }
        
        .calendar-section table, .calendar-section thead, .calendar-section tbody, .calendar-section th, .calendar-section td, .calendar-section tr { display: block; }
        .calendar-section thead { display: none; } 

        .mobile-card-row {
            background: #fff !important;
            border: 1px solid #E3F2FD;
            border-radius: 12px;
            margin-bottom: 15px;
            padding: 12px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        .hide-on-mobile { display: none !important; }

        .mobile-card-row td {
            border: none;
            padding: 5px 0 !important;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-card-row td::before {
            content: attr(data-label);
            font-weight: bold;
            color: #1976D2;
            font-size: 13px;
        }

        .action-td {
            margin-top: 10px;
            padding-top: 10px !important;
            border-top: 1px solid #eee !important;
            display: flex !important;
            gap: 8px;
        }

        .btn-reserve {
            flex: 1;
            margin: 0 !important;
            text-align: center;
            justify-content: center;
            padding: 10px 14px;
            font-size: 13px;
            border-radius: 10px;
            gap: 6px;
        }

        .btn-reserve svg { width: 16px; height: 16px; }
    }

    /* Modal */
    .custom-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0; top: 0; width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.6);
        backdrop-filter: blur(3px);
    }
    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border-radius: 15px;
        width: 85%;
        max-width: 400px;
        direction: rtl;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }
    .modal-header { border-bottom: 2px solid #E3F2FD; padding-bottom: 10px; margin-bottom: 15px; color: #1565C0; font-weight: bold; }
    .detail-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
    .detail-item span:first-child { color: #666; font-size: 13px; }
    .detail-item span:last-child { font-weight: bold; color: #333; }
    .close-modal { background: #1976D2; color: white; border: none; padding: 10px 0; width: 100%; border-radius: 8px; margin-top: 20px; cursor: pointer; }
/* ===== Mobile Responsive (Table to Cards) ===== */
@media screen and (max-width: 768px) {
    /* مخفی کردن هدر جدول در موبایل */
    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }


    table .table-row-card {
        display: block;
        margin-bottom: 16px;
        background: #fff;
        border: 1px solid #E3F2FD;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(25, 118, 210, 0.08);
        overflow: hidden;
    }

    table .table-row-card td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #F0F4F8;
        padding: 12px 16px;
        text-align: left;
    }

    table .table-row-card td:last-child {
        border-bottom: none;
    }

   
    table .table-row-card td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #1565C0;
        text-align: right;
    }


    table .table-row-card td.action-cell {
        display: block;
        background: #F8FAFC;
        text-align: center;
        padding: 16px;
    }

    table .table-row-card td.action-cell .btn-reserve {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
    }
    
.clinic-notice-container {
    background-color: #fff9db;
    border: 1px solid #ffe066;
    border-right: 5px solid #fab005;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    direction: rtl;
    text-align: right;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}


.icon-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #fcc419;
    padding-bottom: 10px;
    color: #856404;
}

.header-icon {
    width: 24px;
    height: 24px;
    stroke: #000e4b;
}

.notice-header h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: bold;
}


.notice-pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #000a66; 
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    width: fit-content;
    transition: all 0.3s ease;
}

.notice-pdf-button:hover {
    background-color: #100036;
    transform: translateY(-1px);
}

.notice-pdf-button .icon-svg {
    stroke: #fff;
}


.notice-message {
    line-height: 1.8;
    color: #343a40;
    margin-top: 15px;
}

.highlight {
    color: #d9480f;
    font-weight: bold;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.clock-icon {
    stroke: #1b0064;
}


@media (max-width: 600px) {
    .notice-pdf-button {
        width: 100%;
        justify-content: center;
    }
    .time-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

}
 * { box-sizing: border-box; }

        body {
            margin: 0;
            padding: 0;
            font-family: tahoma, sans-serif;
            direction: rtl;
            background: #f0f4f8;
        }

body .site-header { 
    width: 100%;
    height: 400px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
        max-width: 1200px;
            margin: auto;
}


@media (min-width: 768px) {
    body .site-header {
        background-size: 80% 100%;
    }
}

@media (min-width: 1200px) {
    body .site-header {
        background-size: 80% 100%;
    }
}



        .top-bar {
            width: 100%;
            height: 5px;
            background: linear-gradient(to left, #4fc3f7, #133886, #0d2b6e);
        }

        /* ===== Desktop Nav ===== */
        .main-nav {
            background: #fff;
            box-shadow: 0 2px 12px rgba(13, 43, 110, 0.12);
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .nav-desktop {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-desktop li {
            position: relative;
        }

        .nav-desktop li + li::before {
            content: '';
            position: absolute;
            right: 0;
            top: 25%;
            height: 50%;
            width: 1px;
            background: #e0e8f5;
        }

        .nav-desktop li a {
            display: flex;
            align-items: center;
            gap: 7px;
            color: #1a3a7a;
            text-decoration: none;
            font-size: 14px;
            padding: 16px 18px;
            transition: color 0.25s, background 0.25s;
            position: relative;
            white-space: nowrap;
        }

        .nav-desktop li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            left: 50%;
            height: 3px;
            background: #4fc3f7;
            border-radius: 3px 3px 0 0;
            transition: right 0.3s, left 0.3s;
        }

        .nav-desktop li a:hover {
            color: #133886;
            background: #f0f6ff;
        }

        .nav-desktop li a:hover::after {
            right: 0;
            left: 0;
        }

        .nav-desktop li a svg {
            fill: #4fc3f7;
            flex-shrink: 0;
        }

        /* ----- کلاس‌های مربوط به فعال ماندن منو (خارج از بخش موبایل) ----- */
        .nav-desktop li a.active {
            color: #133886;
            background: #f0f6ff;
            font-weight: bold;
        }

        .nav-desktop li a.active::after {
            right: 0;
            left: 0;
        }

        .nav-mobile-menu a.active {
            background: #f0f6ff;
            padding-right: 28px;
            font-weight: bold;
            color: #133886;
        }
        /* ------------------------------------------------------------- */

        /* ===== Mobile Nav ===== */
        .nav-mobile-toggle {
            display: none;
            width: 100%;
            padding: 14px 20px;
            background: #fff;
            border: none;
            cursor: pointer;
            align-items: center;
            justify-content: space-between;
            font-family: tahoma, sans-serif;
            font-size: 15px;
            color: #1a3a7a;
        }

        .nav-mobile-toggle .toggle-label {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-mobile-toggle svg {
            fill: #4fc3f7;
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 5px;
            width: 24px;
        }

        .hamburger span {
            display: block;
            height: 2px;
            background: #1a3a7a;
            border-radius: 2px;
            transition: all 0.3s;
        }

        .hamburger.open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* Mobile dropdown menu */
        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            background: #fff;
            border-top: 1px solid #e8eef8;
            box-shadow: 0 8px 20px rgba(13,43,110,0.1);
        }

        .nav-mobile-menu.open {
            display: flex;
        }

        .nav-mobile-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 20px;
            color: #1a3a7a;
            text-decoration: none;
            font-size: 14px;
            border-bottom: 1px solid #f0f4f8;
            transition: background 0.2s, padding-right 0.2s;
        }

        .nav-mobile-menu a:last-child {
            border-bottom: none;
        }

        .nav-mobile-menu a:hover {
            background: #f0f6ff;
            padding-right: 28px;
        }

        .nav-mobile-menu a svg {
            fill: #4fc3f7;
            flex-shrink: 0;
        }

        .nav-mobile-menu a .link-arrow {
            margin-right: auto;
            fill: #c5d5ea;
        }

        /* ===== Header Image ===== */
        .site-header {
            width: 100%;
            height: 150px;
            background: url('../Image/bg.jpg') center/100% 100% no-repeat;
        }

        /* ===== Keyboard ===== */
        .ui-keyboard-button {
            min-width: 4em;
            height: 4em;
            background: #f0f4f8;
            border: 1px solid #c5d5ea;
            border-radius: 8px;
            margin: 3px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .ui-keyboard-button:hover { background: #dbeafe; }

        .ui-keyboard-button span {
            font-size: 2em;
            color: #133886;
            font-family: tahoma, sans-serif;
        }

        .table-responsive-wrap {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .doctor-week-table {
            width: 100%;
            border-collapse: collapse;
        }

  
        .mobile-only {
            display: none;
        }


        @media (max-width: 768px) {

            .nav-desktop { display: none; }

            .nav-mobile-toggle { display: flex; }
            .mobile-only { display: inline-block; }
            .hide-on-mobile { display: none !important; }

    
            .doctor-week-table thead { display: none; }

            .doctor-week-table tbody tr.mobile-card-row {
                display: block;
                border: 1px solid #e0e0e0;
                border-radius: 8px;
                margin-bottom: 12px;
                padding: 10px;
                background: #fff;
                box-shadow: 0 1px 4px rgba(0,0,0,0.07);
            }

            .doctor-week-table tbody tr.mobile-card-row td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 5px 4px;
                border: none;
                font-size: 13px;
            }

            .doctor-week-table tbody tr.mobile-card-row td[data-label]:not([data-label=""])::before {
                content: attr(data-label);
                font-weight: bold;
                color: #555;
                margin-left: 8px;
                flex-shrink: 0;
            }

            .action-td {
                flex-direction: row !important;
                justify-content: flex-start !important;
                gap: 8px;
            }

            .action-td .btn-reserve,
            .action-td .show-mobile-details {
                flex: 1;
                text-align: center;
                padding: 7px 10px;
                border-radius: 6px;
                font-size: 13px;
            }

            .show-mobile-details {
                background: #f0f4ff;
                color: #3a5bd9;
                border: 1px solid #c0ccf5;
                cursor: pointer;
            }
        }
         .modern-container {
        font-family: Tahoma, "Vazirmatn", "B Yekan", sans-serif;
        direction: rtl;
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 15px;
        color: #334155;
    }

    .modern-nav {
        background-color: #f0f9ff;
        padding: 15px 20px;
        border-radius: 12px;
        margin-bottom: 25px;
        box-shadow: 0 2px 10px rgba(2, 132, 199, 0.05);
        border: 1px solid #bae6fd;
        font-size: 14px;
        font-weight: bold;
    }
    .modern-nav a {
        color: #0284c7;
        text-decoration: none;
        transition: color 0.3s;
    }
    .modern-nav a:hover {
        color: #0369a1;
    }
    .modern-nav span {
        color: #7dd3fc;
        margin: 0 8px;
    }

    .layout-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }

    .main-content {
        flex: 1 1 65%;
        min-width: 300px;
    }


    .sidebar-wrapper {
        flex: 1 1 28%;
        min-width: 280px;
    }


    .search-card {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        overflow: hidden;
        margin-bottom: 30px;
    }
    .search-header {
        background-color: #0284c7;
        color: #ffffff;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 16px;
        font-weight: bold;
    }
    .search-header img {
        background-color: #ffffff;
        border-radius: 50%;
        padding: 5px;
        width: 30px !important;
        height: 30px !important;
    }
    .search-body {
        padding: 25px 20px;
        background-color: #f8fafc;
    }

    /* استایل فرم جستجو */
    .modern-form {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
    }
    .form-group {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 200px;
    }
    .form-group label {
        font-weight: bold;
        color: #0f172a;
        white-space: nowrap;
    }
    .modern-input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    .modern-input:focus {
        border-color: #0284c7;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
    }
    .btn-search {
        background-color: #0284c7;
        color: #ffffff;
        border: none;
        padding: 10px 25px;
        border-radius: 8px;
        font-family: inherit;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    .btn-search:hover {
        background-color: #0369a1;
    }
    #error {
        color: #dc2626;
        font-size: 13px;
        width: 100%;
        margin-bottom: 10px;
        font-weight: bold;
    }


    .content_body h2.green {
        color: #ffffff;
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e0f2fe;
    }

    .syswidget {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        padding: 20px;
        margin-bottom: 25px;
    }
    .widget-title {
        font-size: 16px;
        color: #0f172a;
        margin-top: 0;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 2px solid #0284c7;
        display: inline-block;
    }
    .textwidget ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .textwidget ul li {
        margin-bottom: 12px;
    }
    .textwidget ul li a {
        display: block;
        padding: 10px 15px;
        background-color: #f0f9ff;
        color: #0f172a;
        text-decoration: none;
        border-radius: 8px;
        transition: 0.3s;
        font-size: 14px;
        border-right: 3px solid transparent;
    }
    .textwidget ul li a:hover {
        background-color: #e0f2fe;
        color: #0284c7;
        border-right-color: #0284c7;
    }
    .textwidget dl {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
    }
    .textwidget dt.phone-numbers {
        font-weight: bold;
        color: #0f172a;
        font-size: 16px;
        margin-bottom: 15px;
    }
    .textwidget dt.phone-note {
        font-size: 13px;
        color: #64748b;
        background: #f8fafc;
        padding: 10px;
        border-radius: 8px;
    }

    @media (max-width: 768px) {
        .layout-wrapper {
            flex-direction: column;
        }
        .main-content, .sidebar-wrapper {
            width: 100%;
            flex: none;
        }
        .modern-form {
            flex-direction: column;
            align-items: stretch;
        }
        .btn-search {
            width: 100%;
        }
    }
    .footer-wrap {
    background: linear-gradient(135deg, #0d2b6e 0%, #133886 50%, #1a4a9e 100%);
    color: #fff;
    font-family: tahoma, sans-serif;
    direction: rtl;
    margin-top: 40px;
    padding: 50px 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-wrap::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: rgba(79, 195, 247, 0.07);
    border-radius: 50%;
}

.footer-wrap::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: rgba(79, 195, 247, 0.05);
    border-radius: 50%;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.footer-col {
    flex: 1;
    min-width: 220px;
    padding: 10px;
}

.footer-col h2 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.footer-col h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, #4fc3f7, transparent);
    border-radius: 2px;
}

.about-text {
    font-size: 13.5px;
    color: #c9dff7;
    line-height: 2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 10px;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    color: #c9dff7;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s, padding-right 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #4fc3f7;
    padding-right: 5px;
}

.footer-links a svg {
    fill: #4fc3f7;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: #c9dff7;
    line-height: 1.9;
}

.icon-box {
    width: 32px;
    height: 32px;
    background: rgba(79, 195, 247, 0.12);
    border: 1px solid rgba(79, 195, 247, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-box svg {
    fill: #4fc3f7;
}

.contact-label {
    color: #4fc3f7;
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12.5px;
    color: #8ab4e8;
    background: rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .page-wrapper {
        display: flex;
        flex-direction: column;
    }
    .main-content {
        order: 1;
    }
    .isolated-section-wrapper {
        order: 2;
        margin-top: 20px; 
    }
    .sidebar {
        display: none;
    }
}
  * { box-sizing: border-box; }

        body {
            margin: 0;
            padding: 0;
            font-family: tahoma, sans-serif;
            direction: rtl;
            background: #f0f4f8;
        }

body .site-header { 
    width: 100%;
    height: 400px;
    background-size: 90% 80%;
    background-repeat: no-repeat;
    background-position: center;
        max-width: 1200px;
            margin: auto;
}


@media (min-width: 768px) {
    body .site-header {
        background-size: 90% 90%;
    }
}

@media (min-width: 1200px) {
    body .site-header {
        background-size: 90% 90%;
    }
}



        .top-bar {
            width: 100%;
            height: 5px;
            background: linear-gradient(to left, #4fc3f7, #133886, #0d2b6e);
        }

        .main-nav {
            background: #fff;
            box-shadow: 0 2px 12px rgba(13, 43, 110, 0.12);
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .nav-desktop {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-desktop li {
            position: relative;
        }

        .nav-desktop li + li::before {
            content: '';
            position: absolute;
            right: 0;
            top: 25%;
            height: 50%;
            width: 1px;
            background: #e0e8f5;
        }

        .nav-desktop li a {
            display: flex;
            align-items: center;
            gap: 7px;
            color: #1a3a7a;
            text-decoration: none;
            font-size: 14px;
            padding: 16px 18px;
            transition: color 0.25s, background 0.25s;
            position: relative;
            white-space: nowrap;
        }

        .nav-desktop li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            left: 50%;
            height: 3px;
            background: #4fc3f7;
            border-radius: 3px 3px 0 0;
            transition: right 0.3s, left 0.3s;
        }

        .nav-desktop li a:hover {
            color: #133886;
            background: #f0f6ff;
        }

        .nav-desktop li a:hover::after {
            right: 0;
            left: 0;
        }

        .nav-desktop li a svg {
            fill: #4fc3f7;
            flex-shrink: 0;
        }


        .nav-desktop li a.active {
            color: #133886;
            background: #f0f6ff;
            font-weight: bold;
        }

        .nav-desktop li a.active::after {
            right: 0;
            left: 0;
        }

        .nav-mobile-menu a.active {
            background: #f0f6ff;
            padding-right: 28px;
            font-weight: bold;
            color: #133886;
        }

        .nav-mobile-toggle {
            display: none;
            width: 100%;
            padding: 14px 20px;
            background: #fff;
            border: none;
            cursor: pointer;
            align-items: center;
            justify-content: space-between;
            font-family: tahoma, sans-serif;
            font-size: 15px;
            color: #1a3a7a;
        }

        .nav-mobile-toggle .toggle-label {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-mobile-toggle svg {
            fill: #4fc3f7;
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 5px;
            width: 24px;
        }

        .hamburger span {
            display: block;
            height: 2px;
            background: #1a3a7a;
            border-radius: 2px;
            transition: all 0.3s;
        }

        .hamburger.open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }


        .nav-mobile-menu {
            display: none;
            flex-direction: column;
            background: #fff;
            border-top: 1px solid #e8eef8;
            box-shadow: 0 8px 20px rgba(13,43,110,0.1);
        }

        .nav-mobile-menu.open {
            display: flex;
        }

        .nav-mobile-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 20px;
            color: #1a3a7a;
            text-decoration: none;
            font-size: 14px;
            border-bottom: 1px solid #f0f4f8;
            transition: background 0.2s, padding-right 0.2s;
        }

        .nav-mobile-menu a:last-child {
            border-bottom: none;
        }

        .nav-mobile-menu a:hover {
            background: #f0f6ff;
            padding-right: 28px;
        }

        .nav-mobile-menu a svg {
            fill: #4fc3f7;
            flex-shrink: 0;
        }

        .nav-mobile-menu a .link-arrow {
            margin-right: auto;
            fill: #c5d5ea;
        }

        .site-header {
            width: 100%;
            height: 150px;
            background: url('../Image/bg.jpg') center/100% 100% no-repeat;
        }


        .ui-keyboard-button {
            min-width: 4em;
            height: 4em;
            background: #f0f4f8;
            border: 1px solid #c5d5ea;
            border-radius: 8px;
            margin: 3px;
            cursor: pointer;
            transition: background 0.2s;
        }

        .ui-keyboard-button:hover { background: #dbeafe; }

        .ui-keyboard-button span {
            font-size: 2em;
            color: #133886;
            font-family: tahoma, sans-serif;
        }

        .table-responsive-wrap {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .doctor-week-table {
            width: 100%;
            border-collapse: collapse;
        }

        .mobile-only {
            display: none;
        }

        @media (max-width: 768px) {
   
            .nav-desktop { display: none; }
  
            .nav-mobile-toggle { display: flex; }
            .mobile-only { display: inline-block; }
            .hide-on-mobile { display: none !important; }


            .doctor-week-table thead { display: none; }

            .doctor-week-table tbody tr.mobile-card-row {
                display: block;
                border: 1px solid #e0e0e0;
                border-radius: 8px;
                margin-bottom: 12px;
                padding: 10px;
                background: #fff;
                box-shadow: 0 1px 4px rgba(0,0,0,0.07);
            }

            .doctor-week-table tbody tr.mobile-card-row td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 5px 4px;
                border: none;
                font-size: 13px;
            }

            .doctor-week-table tbody tr.mobile-card-row td[data-label]:not([data-label=""])::before {
                content: attr(data-label);
                font-weight: bold;
                color: #555;
                margin-left: 8px;
                flex-shrink: 0;
            }

            .action-td {
                flex-direction: row !important;
                justify-content: flex-start !important;
                gap: 8px;
            }

            .action-td .btn-reserve,
            .action-td .show-mobile-details {
                flex: 1;
                text-align: center;
                padding: 7px 10px;
                border-radius: 6px;
                font-size: 13px;
            }

            .show-mobile-details {
                background: #f0f4ff;
                color: #3a5bd9;
                border: 1px solid #c0ccf5;
                cursor: pointer;
            }
        }
         .modern-container {
        font-family: Tahoma, "Vazirmatn", "B Yekan", sans-serif;
        direction: rtl;
        max-width: 1200px;
        margin: 20px auto;
        padding: 0 15px;
        color: #334155;
    }

    .modern-nav {
        background-color: #f8fafc;
        padding: 15px 20px;
        border-radius: 12px;
        margin-bottom: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
        border: 1px solid #e2e8f0;
        font-size: 14px;
        font-weight: bold;
    }
    .modern-nav a {
        color: #0284c7;
        text-decoration: none;
        transition: color 0.3s;
    }
    .modern-nav a:hover {
        color: #0369a1;
    }
    .modern-nav span {
        color: #94a3b8;
        margin: 0 8px;
    }

    .layout-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }

    .main-content {
        flex: 1 1 65%;
        min-width: 300px;
    }

    .sidebar-wrapper {
        flex: 1 1 28%;
        min-width: 280px;
    }

    .toggleRow {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        overflow: hidden;
        margin-bottom: 20px;
        transition: transform 0.2s;
    }
    .toggleTitle {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        background-color: #f8fafc;
        cursor: pointer;
        color: #0f172a;
        font-weight: bold;
        font-size: 16px;
        transition: background-color 0.3s;
    }
    .toggleTitle:hover {
        background-color: #f1f5f9;
    }
    .toggleTitle .number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: #0ea5e9;
        color: #ffffff;
        border-radius: 50%;
        margin-left: 15px;
        font-size: 18px;
        transition: background-color 0.3s;
    }
    .toggleTitle:hover .number {
        background-color: #0284c7;
    }
    .toggleText {
        padding: 20px;
        background-color: #ffffff;
        border-top: 1px solid #f1f5f9;
        line-height: 1.8;
        font-size: 14px;
        color: #475569;
    }
    .toggleText li {
        margin-bottom: 10px;
    }

    .syswidget {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        padding: 20px;
        margin-bottom: 25px;
    }
    .widget-title {
        font-size: 16px;
        color: #0f172a;
        margin-top: 0;
        margin-bottom: 15px;
        padding-bottom: 12px;
        border-bottom: 2px solid #0ea5e9;
        display: inline-block;
    }
    .textwidget ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .textwidget ul li {
        margin-bottom: 12px;
    }
    .textwidget ul li a {
        display: block;
        padding: 10px 15px;
        background-color: #f8fafc;
        color: #334155;
        text-decoration: none;
        border-radius: 8px;
        transition: 0.3s;
        font-size: 14px;
        border-right: 3px solid transparent;
    }
    .textwidget ul li a:hover {
        background-color: #f1f5f9;
        color: #0ea5e9;
        border-right-color: #0ea5e9;
    }
    .textwidget dl {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
    }
    .textwidget dt {
        color: #475569;
    }

    .btn-reserve-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        color: #ffffff !important;
        text-decoration: none;
        padding: 12px 28px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .btn-reserve-action svg {
        fill: #ffffff;
        transition: transform 0.3s ease;
    }

    .btn-reserve-action:hover {
        background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    }

    .btn-reserve-action:hover .link-arrow {
        transform: translateX(-5px); 
    }

    @media (max-width: 768px) {
        .layout-wrapper {
            flex-direction: column;
        }
        .main-content, .sidebar-wrapper {
            width: 100%;
            flex: none;
        }
        .btn-reserve-action {
            width: 100%; 
        }
    }


.fizio-tabs-container {
    margin-top: 24px;
    direction: rtl;
    text-align: right;
}

.tab-item {
    margin-bottom: 8px;
    background: transparent;
    border-radius: 0;
}

.tab-header {
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border-bottom: 2px solid #e8edf2;
    transition: all 0.2s ease;
    user-select: none;
}

.tab-header:hover {
    border-bottom-color: #2c7da0;
}

.tab-header:hover .tab-title {
    color: #2c7da0;
}

.tab-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    opacity: 0.7;
}

.tab-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.tab-arrow {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.tab-item.active .tab-arrow {
    transform: rotate(180deg);
}

.tab-item.active .tab-title {
    color: #1e293b;
    font-weight: 700;
}

.tab-item.active .tab-icon {
    opacity: 1;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-item.active .tab-content {
    max-height: 2000px;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}


.service-list,
.info-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px 0;
    display: flex;
    flex-direction: column;
    gap: 4px; 
}

.service-list li,
.info-list li {
    background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 8px 14px;  
    font-size: 0.85rem;
    line-height: 1.5;
    color: #334155;
    border: 1px solid #eef2f8;
    transition: all 0.25s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.service-list li:hover,
.info-list li:hover {
    border-color: #cbdde9;
    background: #ffffff;
    transform: translateX(-3px);
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.1);
}

.service-list li::before,
.info-list li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #2c7da0, #3b9ac0);
    border-radius: 50%;
    margin-left: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
    transition: all 0.2s ease;
}

.service-list li:hover::before,
.info-list li:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(44, 125, 160, 0.2);
}

.service-list li span:not(.badge),
.info-list li span:not(.badge) {
    flex: 1;
}


.badge {
    font-size: 0.68rem;
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.2px;
}

.badge::before {
    content: "●";
    font-size: 0.55rem;
    margin-left: 4px;
}

.badge.insurance {
    background: #e8f5ed;
    color: #2b6e4e;
    border: 1px solid #c8e2d2;
}

.badge.private {
    background: #fef3ee;
    color: #b95a2a;
    border: 1px solid #f5dfd0;
}


@media (max-width: 480px) {
    .service-list li,
    .info-list li {
        padding: 12px 14px;
        font-size: 0.82rem;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-list li::before,
    .info-list li::before {
        display: none;
    }
    
    .service-list li {
        padding-right: 14px;
        position: relative;
    }
    
    .service-list li::before {
        display: inline-block;
        position: absolute;
        right: 14px;
        top: 16px;
    }
    
    .badge {
        font-size: 0.62rem;
        padding: 3px 10px;
        margin-top: 4px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-list,
    .info-list {
        gap: 10px;
        padding: 18px 0 10px 0;
    }
    
    .service-list li,
    .info-list li {
        padding: 13px 16px;
        font-size: 0.86rem;
    }
    
    .badge {
        font-size: 0.66rem;
        padding: 3px 11px;
    }
}

@media (min-width: 769px) {
    .fizio-tabs-container {
        margin-top: 28px;
    }
    
    .tab-header {
        padding: 18px 0;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .service-list,
    .info-list {
        gap: 14px;
        padding: 22px 0 14px 0;
    }
    
    .service-list li,
    .info-list li {
        padding: 16px 20px;
        font-size: 0.94rem;
        border-radius: 18px;
    }
    
    .badge {
        font-size: 0.72rem;
        padding: 5px 14px;
    }
}
@media (min-width: 769px) {
    .service-list,
    .info-list {
        gap: 6px;
        padding: 10px 0 6px 0;
    }
    
    .service-list li,
    .info-list li {
        padding: 10px 16px;
        font-size: 0.88rem;
    }
}


@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-item {
    animation: fadeSlideUp 0.35s ease backwards;
}

.tab-item:nth-child(1) { animation-delay: 0.05s; }
.tab-item:nth-child(2) { animation-delay: 0.1s; }
.tab-item:nth-child(3) { animation-delay: 0.15s; }


html {
    scroll-behavior: smooth;
}