        @font-face {
            font-family: 'IRANSansWeb';
            src: url('/font/IRANSansWeb.woff2') format('woff2');
            font-weight: normal;
            font-style: normal;
        }
        @font-face {
            font-family: 'IRANSansWebMedium';
            src: url('/font/IRANSansWeb_Medium.woff') format('woff');
            font-weight: normal;
            font-style: normal;
        }

        html , body{
            direction: rtl;
            text-align: right;
        }

        body {
            margin: 0px !important;
            padding: 0px !important;
            padding: 20px;
            background-color: #02223b !important;
            font-family: 'IRANSansWeb', sans-serif;
        }
        a{
            text-decoration: none !important;
        }
        h1{
            font-size: 16px;
            font-weight: 700;
             color: #7e7e7e;
        }
        label{
            font-size: 14px !important;
        }

         input , textarea{
            font-size: 14px !important;
        }

.dataTables_wrapper .dataTables_length {
    float: right;
}

.dataTables_wrapper .dataTables_info {
    float: right;
}

.example-title {
    margin: 50px 0;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td{
     text-align: right;
     color: #1a1919;
     font-size: 14px;
     border: none;
}
table.dataTable.no-footer {
    border: 1px solid rgb(242, 242, 242);
    border-radius: 10px;
}
table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
    border-bottom-width: 0;
    border-bottom: 1px solid #ebebeb;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 14px;
}
.page-link {
    color: #686e73;
}
.page-item.active .page-link {
    background-color: #70ae9d;
    border-color: #69af98;
}
.dataTables_wrapper .row {
    font-size: 14px;
}
.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
    border-radius: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px !important;
    border-radius: 10px;
}
/* loader */
.loader_parent {
    width: 100%;
    height: 100%;
    background: rgb(3 3 8 / 56%);
    position: fixed;
    z-index: 10000;
    top: 0px;
    right: 0px;
}

#circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 150px;
height: 150px;
}

.loader {
width: calc(100% - 0px);
height: calc(100% - 0px);
border: 8px solid #00000000;
border-top: 8px solid #09f;
border-radius: 50%;
animation: rotate 5s linear infinite;
}

@keyframes rotate {
100% {
transform: rotate(360deg);
}
}

        
                /* login register */
.login_parent {
    background-color: #02223b !important;
    width: 100%;
    height: 100vh;
}
.login_parent .login_inner{
    background-color: white;
    border-radius: 20px;
    padding: 50px 40px;
    width: fit-content;
    text-align:center;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50% , -50%);
    box-shadow: 0 5px 25px rgba(160,178,200,.2);
}
.login_parent .login_inner input{
  width: 300px;
  height: 45px;
  display: block;
  margin-top: 25px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid rgb(216, 216, 216);
  font-size: 16px !important;
  text-align: left;
}
.login_parent .login_inner .submit_login{
    background-color: #30a0e7;
    border: none;
    color: white;
    padding: 8px 10px !important;
    cursor: pointer;
    text-align: center;
}
.login_parent .login_inner .submit_login:hover{
    background-color: #288ac8;
}
.login_parent .login_inner .title_login{
  font-size: 18px;
  margin-bottom: 20px;
}
.login_parent .login_inner .sub_title_login{
    margin-bottom: 40px;
    font-size: 14px;
    color: rgb(105, 105, 105);
}
.login_parent .login_inner .link{
   margin-top:20px;
   text-decoration: none;
   color: #58a2df;
   font-size: 13px;
   float: right !important;
}
.login_parent .error_login{
   font-size: 13px !important;
   color: red;
   text-align:center;
}

        #calendar {
            background-color: #ffffff;
            border-radius: 8px;
        }

        /* اضافه شد: استایل برای نمایش نام روز هفته */


        .modal-content h2{
           font-size: 15px;
        }
        .modal label{
            font-size: 14px;
        }
        .close-button{
            cursor: pointer;
            font-size: 25px;
            color: gray;
        }
       

        #saveEventButton,
        #cancelButton,
        #deleteEventButton {
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin-left: 5px;
        }

        .fc-event,
        .fc-event-dot {
            border: none !important;
        }

        .fc .fc-timegrid-slot {
            background: white;
        }

        .fc-timegrid-slots table {
            background: white;
            margin-top: 20px;
        }

        .fc .fc-timegrid-slot-minor {
            border-top-style: none;
        }

        .fc .fc-timegrid-axis-cushion,
        .fc .fc-timegrid-slot-label-cushion {
            transform: translateY(-50%);
            position: relative;
            font-size: 14px;


        }

        .fc .fc-today-button {
            background: #ebedee !important;
            color: black !important;
            margin-left: 10px;
        }

        .fc .fc-button,
        .fc .fc-button .fc-icon,
        .fc .fc-button-group,
        .fc .fc-timegrid-slot-label {
            vertical-align: middle;
            border: none;
        }

        /* .fc-timeGridDay-view .fc-scrollgrid-sync-table {
            display: none;
        } */
        .fc-daygrid-body-natural{
          visibility:hidden;
          height: 0px;
         }

        .fc-timeGridDay-view thead {
            display: none;
        }

        .fc-toolbar-title {
            font-size: 16px;
            font-weight: 700;
        }

        .fc-timeGridDay-view .fc-timegrid-event {
            padding: 2px;
            border-radius: 8px;
            box-shadow: 0px 2px 4px #b3afaf;
            cursor: pointer;
            font-size: 12px;
            overflow: hidden;
        }

        .calendar_free_times .fc-timeGridDay-view .fc-timegrid-event{
            box-shadow: 2px 0px 0px #ffffff;
        }

        .fc-event-title, .fc-event-time {
           white-space: nowrap;     /* نذاره بره خط بعد */
           overflow: hidden;        /* متن اضافی مخفی بشه */
            text-overflow: ellipsis; /* سه‌نقطه بذاره آخرش */
            max-width: 100%;         /* بیشتر از عرض سلول نشه */
            display: block;          /* مطمئن بشه مثل بلاک رفتار می‌کنه */
        }

        /* حذف خطوط عمودی در حالت Day */
        /* .fc-timeGridDay-view .fc-scrollgrid td,
        .fc-timeGridDay-view .fc-scrollgrid th {
            border-left: none !important;
            border-right: none !important;
        } */

        .fc table {
          border-collapse: inherit;
        }


        /* width */
        .fc .fc-scroller::-webkit-scrollbar {
            width: 7px;
        }

        /* Track */
        .fc .fc-scroller::-webkit-scrollbar-track {
            background: #ffffff;
        }

        /* Handle */
        .fc .fc-scroller::-webkit-scrollbar-thumb {
            background: #dfe0e2;
            border-radius: 10px;
        }

        /* Handle on hover */
        .fc .fc-scroller::-webkit-scrollbar-thumb:hover {
            background: #b0b0b0;
        }

        .fc .fc-list-event-title a {
          font-size: 14px;
        }
        .fc .fc-list-day-cushion, .fc .fc-list-table td {
          font-size: 14px;
        }

        .fc-theme-standard .fc-list-day-cushion {
          background-color: #eeeef0 !important;
       }



        #calendar {
            height: 800px;
            /* یا هر ارتفاع مناسب */
        }

        .fc-timeGridDay-view .fc-scroller {
            max-height: 700px;
            /* ارتفاع قابل اسکرول */
            overflow-y: auto;
        }

        html,
        body {
            height: 100%;
        }

        #calendar {
            height: 90vh;
        }


        #saveEventButton {
            background-color: #28a745;
        }

        #cancelButton {
            background-color: #6c757d;
        }

        #deleteEventButton {
            background-color: #dc3545;
        }

        /* new style */

        /* .fc table {
            border-collapse: inherit;
            border-spacing: 0;
            font-size: 1em;
        } */

        .fc-timegrid-divider {
            display: none;
        }

        .fc-header-toolbar {
            height: 40px;
            position: relative;
        }

        .fc-toolbar-chunk:nth-of-type(2) h2 {
            font-size: 15px;
            display: inline-block;
            font-weight: normal;
        }

        .fc-toolbar-chunk:nth-of-type(2) #customDayName {
            font-size: 15px;
            /* display: inline-block !important; */
        }

        .fc-direction-rtl .fc-toolbar>*>:not(:first-child) {
            margin-right: 3px;
            font-size: 14px;
            border-radius: 6px !important; 
        }

        .fc .fc-toolbar.fc-header-toolbar {
           padding: 20px;
           margin-top: 6px;
           margin-bottom: 10px;
        }

        .fc-direction-rtl .fc-button-group button {
            background: rgb(255, 255, 255);
            color: rgb(71, 68, 68);
            font-size: 14px;
            border-radius: 6px;
            margin-right: 3px !important;
        }

        .fc-direction-rtl .fc-button-group button:hover {
            background: rgb(236, 238, 238);
            color: rgb(60, 57, 57);
        }

        .fc .fc-button-primary:not(:disabled).fc-button-active,
        .fc .fc-button-primary:not(:disabled):active {
         background: #3d94e9;
         color: rgb(255 255 255);
         border-radius: 6px;
         font-weight: 500;
         margin-right: 3px;
        }

        .fc-direction-rtl .fc-button-group>.fc-button{
         border-radius: 6px !important; 
}

        .fc .fc-button:focus,
        .fc .fc-button:active,
        .fc .fc-button-active {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

        .fc .fc-event-mirror {
            background: rgb(166 170 177) !important;
        }

        .request_count_event{
          position: absolute;
          background: #142b3985;
          color: white;
          border-radius: 100px;
          text-align: center;
          top: 0px;
          left: 0px;
          padding: 0px 5px;
        }

        .request_verified_count_event{
          position: absolute;
          background: #43b2f759;
          color: white;
          border-radius: 100px;
          text-align: center;
          top: 0px;
          left: 100px;
          padding: 0px 5px;
        }

        .dataTables_wrapper .row {
           overflow: auto !important;
         }


        /* menu */

        .page{
             padding: 0px !important;
        }

        
        .wrap{
            display: flex;
        }
        /* .content_parent{
            width: 100%;
            height: fit-content;
            margin-right: 20px;
            background: white;
            border-radius: 8px;
            box-sizing: border-box;
            box-shadow: 0 5px 25px rgba(160,178,200,.2);
        } */

        .content{
            overflow: hidden;
            min-height: 100px;
            height: 100vh;
            background-color: rgb(255, 255, 255);
            margin-right: 270px;
            transition: margin-right 1s;
            padding: 20px 30px;
        }
        .menu{
            color: rgb(201 127 127);
            padding: 30px;
            width: 270px;
            box-sizing: border-box;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            scrollbar-width: none;
        }

        .menu ul{
            margin-right: 0px !important;
            padding-right: 0px;
            padding-left: 0px;
            padding-top: 20px;
        }
        .menu ul li{
           list-style: none;
           margin-bottom: 3px;
        }
        .menu ul li a{
           color: rgb(255, 255, 255);
           font-size: 14px;
           font-weight: 500;
           font-family: 'IRANSansWebMedium', sans-serif;
           width: 100% !important;
           display: block;
           padding: 10px;
           border-radius: 10px;
           box-sizing: border-box;
        }
        .menu ul li a i{

            margin-left: 15px;
            vertical-align: baseline;
            color: #ffffff;
        }
        .menu ul li a:hover{
           background-color: #3b8ee0 !important;
        }
        .menu ul li .active_link:hover{
            background-color: #3d94e9 !important;
            color: white;
        }
        .menu ul li .active_link i{
            color: #ffffff;
        }
        .menu ul li .active_link{
            background-color: #3d94e9 !important;
            color: white;
        }
        .menu .image_profile{
            width: 65px;
            height: 65px;
            border-radius: 100px;
            object-fit: cover;
            object-position: top;
        }

        .user_data{
            border-bottom:1px solid #363a3f;
            padding-bottom: 10px;
        }

        .user_data .profile{
            display: block;
        }
        .user_data .profile_info{
            display: block;
            margin-top: 10px; 
            color: white;
           font-size: 13px;
        }

                
        .error{
            color: rgb(200 43 43);
            font-size: 13px;
        }

/* custom select2 */
.select2-container .select2-selection--single{
    height: 38px !important;
    padding: 4px !important;
}
.select_global_user_parent .select2-container .select2-selection--single{
   background-color: rgb(236, 236, 241);
}
.select2-container{
    width: 100% !important; 
}
.select2-container--default .select2-selection--single {
    border: 1px solid #d3d3d3 !important;
}
.radio_btn{
  width: 18px;
  height: 18px;
}
.select2-search__field{
    direction: rtl;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    background: #007bff;
    color: rgb(255, 255, 255);
    font-size: 15px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
}


a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: rgb(21 33 87);
    color: white;
}


.modal-content{
    font-size: 14px !important;
}

.remove_work{
    background-color: #fff1f1;
    color: #ff5b5b;
    border: none;
    font-size: 12px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}
.remove_work span{
      vertical-align: sub;
}

.works_list li{
    background: #f5f5f5;
    border-radius: 6px;
    padding: 5px;
    list-style: none;
}

.works_list li span{
    display: block;
    font-size: 13px;
    margin-top: 10px;
}
.works_list{
margin-right: -40px !important;
}


  .container{

  }

  .content_header button{
    font-size: 17px;
    padding: 7px;
    border-radius: 10px;
    color: white;
    border: none;
    background-color: #4dc392;
    cursor: pointer;
    display: flex;
  }

.create_btn , .content_parent .search_btn{
    vertical-align: middle;
  }

  .search_btn button{
    background-color: rgb(36 189 168);
    border-radius: 10px;
  }

   .content_header{
    display: block;
    position: relative;
    background: #223a4b !important;
    width: fit-content;
    padding: 7px 20px 4px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
  }
  .content_header > div{
      display: inline-block;
  }
    .content_header h1{
      font-size: 14px;
      color: #ffffff;
      margin-left: 30px;
    }


    /* ساخت ظاهر سوئیچ */
    .switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    vertical-align: bottom;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 34px;
    }

    .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    }

    input:checked + .slider {
      background-color: #3d94e9;
    }

    input:checked + .slider:before {
     transform: translateX(15px);
    }

    input:disabled + .slider {
      opacity: 0.5;
      cursor: not-allowed;
    }


    .menu_open_btn{
    display: none;
    z-index: 12;
    width: 30px;
    text-align: center;
    border-radius: 100px;
    color: white;
    font-size: 18px;
    margin: 10px;
    }
    .menu_close_btn{
    position: absolute;
    display: none;
    width: 30px;
    text-align: center;
    border-radius: 100px;
    color: white;
    font-size: 18px;
    margin: 10px;
    left: 0px;
    top: 0px;
    }
    .menu_open_btn i{
        vertical-align: middle;
    }


    .badge_month{
        cursor: pointer;
    }
    .badge_month::before{
       content: "جلسات: ";
    }


    .badge_month_pending{
        cursor: pointer;
    }
    .badge_month_pending::before{
       content: "درخواست: ";
    }


    .badge_month_verify{
        cursor: pointer;
    }
    .badge_month_verify::before{
       content: "تأیید: ";
    }

    .badge_month_reject{
        cursor: pointer;
    }
    .badge_month_reject::before{
       content: "رد: ";
    }


    .badge_month{
        width: 80px;
        display: block;
       color :white;
       font-size :12px;
       border-radius : 10px;
       padding :2px 6px;
       top :5px;
       right: 2px;
       background-color: rgb(61, 148, 233);
    }

    .badge_month_pending{
        width: 80px;
        display: block;
       color :white;
       font-size :12px;
       border-radius : 10px;
       padding :2px 6px;
       top :27px;
       right: 2px;
       background-color: rgb(177 99 183);
    }
    .badge_month_verify{
        width: 80px;
        display: block;
       color :white;
       font-size :12px;
       border-radius : 10px;
       padding :2px 6px;
       right: 2px;
       background-color: rgb(56 161 142);                       
    }

    .badge_free_times_month{
       color: rgb(255, 0, 0);
       border-radius: 10px;
       position: absolute;
       top: 50%;
       right: 50%;
       transform: translate(50%, -50%);
       text-align: center;
       padding: 1px 5px 0px 5px;
    }

    .badge_free_times_month i{
        font-size: 21px;
    }

    .percantage_input_datatable{
        width: 80px;
        direction: ltr;
        font-size: 14px !important;
    }


    .fc-selectFullDay-button{
        background-color: #e93d3d !important;
        font-size: 14px !important;
    }


    .fc-daygrid-event.monthly-x-event {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }



.fc-daygrid-event.monthly-x-event .fc-event-main {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: transparent !important; 
}


.fc-daygrid-event.monthly-x-event .fc-event-title {
    display: none !important;
}


.fc-timegrid-event .fc-event-title,
.fc-timegrid-event .fc-event-time {
    display: inline !important;
}

.fc-direction-rtl .fc-timegrid-col-events {
    margin: 0 50px 0 2.5% !important;
}


.monthly-teacher-calendar-event{
    /* width: 0px;
    height: 0px; */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}


.number-box:empty {
  display: none;
}
.number-box {
    width: 25px;
    height: 25px;
    line-height: 27px;
    border-radius: 100px;
    margin-right: 10px;
    background: #b73030;
    color: #ffffff;
}


    @media (max-width: 960px) {
        .page {
         padding: 0px !important;
       }
       .menu{
         background-color: #223a4b !important;
         z-index: 10;
         border-radius: 0px;
         top: 0px;
         right: 0px;
         padding: 20px;
         height: 100vh;
         margin-right: -250px;
         width: 250px;
        transition: 1s margin-right;
       }
       .content{
        margin-right: 0px;
        transition: margin-right 0s;
        padding: 10px !important;
       }
       .content_header {
         margin-right: 10px !important;
       }

    .menu_open_btn{
        display: block;
    }

    .menu_close_btn{
       display: block;
    }

    }

    @media (max-width: 700px) {


    .fc .fc-toolbar.fc-header-toolbar{
         padding: 0px !important;
       }

    .fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk button{
         font-size: 13px !important;
       }
           .fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk >div{
         font-size: 13px !important;
       }
                  .fc .fc-toolbar.fc-header-toolbar .fc-toolbar-chunk h2{
         font-size: 13px !important;
       }

       .fc .fc-col-header-cell-cushion {
        font-size: 13px !important;
       }
       .badge_month , .badge_month_pending ,.badge_month_verify {
        right: 10px !important;
        width: fit-content;
       }
       .badge_month::before , .badge_month_pending::before , .badge_month_verify::before{
         content: "";
       }

    }