/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.masked-password input  {
  -webkit-text-security: disc !important;
  text-security: disc !important;
}




:root{
 --secondary-text-color : #dee2ec !important;
}




.sidebar {
    overflow-x: hidden !important;
    position: sticky;
    background: #2f5474;
    width: 20%;
    color: #7d84ab;
    height: 100vh;
    top: 0;
  .sidebar-layout {
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;

    .sidebar-header {
      height: 7vw;
      min-height: 7vw;
      display: flex;
      align-items: center;
      padding: 0 1.4vw;
      > span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .sidebar-content {
      flex-grow: 1;
      padding: 0.7vw 0;
    }
    
  }
}




  .sidebar {
    .menu {
      ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
      }
      .menu-header {
        font-weight: 600;
        padding: 0.7vw 1.7vw;
        font-size: 1vw;
        letter-spacing: 0.1vw;
        transition: opacity 0.3s;
        opacity: 0.5;
      }
      .menu-item {
        a {
          display: flex;
          align-items: center;
          height: 3.5vw;
          padding: 0 1.4vw;
          color: $text-color;

          .menu-title {
            font-size: 1.2vw;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex-grow: 1;
            transition: color 0.3s;
			color : white;
			padding-block: 0.7vw;
            padding-inline: 1vw;
            border-radius: 0.7vw;
			  
          }
          &:hover {
            .menu-title {
              color: #dee2ec;
            }
            &::after {
              border-color: #dee2ec !important;
            }
          }
        }
        &.active {
          > a {
            .menu-title {
              color: #dee2ec ;
			  background: #241e1eba;
              padding-block: 0.7vw;
              padding-inline: 1vw;
              border-radius: 0.7vw;
            }
            &::after {
              border-color: var(--secondary-text-color);
            }
            .menu-icon {
              color: var(--secondary-text-color);
            }
          }
        }
      }
    }
    &.collapsed {
		.sidebar {
			width : 10%
		}
  .menu {
    > ul {
      > .menu-header {
        opacity: 0;
      }
      }
    }
  }
}
  }

  &.rtl {
    .sidebar {
      .menu {
        .menu-item {
             color : white;
          }
        }
      }
      &.collapsed {
        .menu > ul {
          > .menu-item {
            opacity : 0;
          }
        }
      }
    }
  }
a {
  text-decoration: none;
}

@media (max-width: 576px) {
  #btn-collapse {
    display: none;
  }
}
  .sidebar {
    .pro-sidebar-logo {
      display: flex;
      align-items: center;

      > div {
        width: 2.5vw;
        min-width: 2.5vw;
        height: 2.5vw;
        min-height: 3.5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: white;
        font-size: 1.7vw;
        font-weight: 700;
        background-color: #ff8100;
        margin-right: 0.7vw;
      }

      > h5 {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 1.4vw;
        line-height: 2.1vw;
        transition: opacity 0.3s;
        opacity: 1;
      }
    }

 
   
    .sidebar-collapser {
        transition: left, right, 0.3s;
        position: absolute;
        right: 5%;
        top: 5%;
        width: 2vw;
        height: 2vw;
        border-radius: 50%;
        background-color: #00829f;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        justify-content: center;
        font-size: 2vw;
        transform: translateX(50%);
        z-index: 111;
        cursor: pointer;
        color: white !important;
        padding-bottom: 0.2vw;
        padding-right: 0.1vw;
    }


    &.collapsed {
		.sidebar {
           width : 10%;
		}	
      .pro-sidebar-logo {
        > h5 {
          opacity: 0;
        }
      }
      .sidebar-collapser {
        left: 50%;
        span {
          transform: rotate(180deg);
		  padding-bottom: 0.4vw;
          padding-right: 0.3vw;
        }
      }
    }
  }

.sidebar.collapsed{
 transition : width 0.3s;
 width : 7.5% !important;
}

.sidebar.collapsed .menu-item > a > .menu-title {
  text-align:center;
  transition: font-size 0.3s;
  font-size: 0;
}

.sidebar.collapsed .menu-item > a > .menu-title::before {
  transition: font-size 0.3s;
  font-size: 1.5vw;
  margin-right: 0;
}


.menu-item:nth-child(2) > a .menu-title::before {
  content: "\f007";                
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.7vw;
  speak: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}

.menu-item:nth-child(3) > a .menu-title::before {
  content: "\f07a";                
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.7vw;
  speak: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}



.sidebar-toggler {
  position: fixed;
  right: 20px;
  top: 20px;
}

.social-links {
  a {
    margin: 0 10px;
    color: #3f4750;
  }
}

.menu-container{
	display: flex;
    flex-direction: column;
    gap: 1vw;
}
.none-head{
    display : none
}


.sidebar-col {
	width: 20%;
}
.body-col{
	width : 100%
	
}

/* hide the native checkbox */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
.switch-input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 20px;
  transition: background 0.3s;
}
.switch-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.switch-input:checked + .switch-slider {
  background: #5565da;
}
.switch-input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.user-avatar{
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
}

.relative{
	position:relative;
}

.m-0{
	margin:0;
}

.p-0{
	padding:0;
}
.list-style-none{
	list-style: none;
}
.flex{
	display : flex;
}
.align-center{
	align-items : center;
}
.justify-center{
	justify-content:center;
}
.justify-between{
	justify-content : space-between;
}
.justify-end{
	justify-content:end;
}
.flex-col{
	flex-direction:column;
}
.flex-1{
	flex:1;
}
.wrap{
	flex-wrap:wrap;
}

.btn-bg-success{
	background:var(--e-global-color-54f9618)
}
.btn-bg-active{
	background: var(--e-a-bg-active);
}
.btn-bg-success:hover{
	background: var(--e-global-color-dcb1b35);
}
.btn-bg-cancel{
	    background: var(--e-global-color-574025d);
}
.btn-bg-cancel:hover{
	background: var(--e-global-color-6a5dd2d);
}
.color-black{
	color:#000;
}
.border-0{
	border:0;
}

.gap-1{
	gap:1vw;
}
.gap-2{
	gap:2vw;
}
.fs-1{
	font-size :1vw;
}
.fs-2{
	font-size :2vw;
}
.fw-500{
	font-weight:500;
}
.w-50{
	width:50%;
}
.cursor-pointer{
	cursor : pointer;
}
.remove-btn{
	color : red;
	font-size:1.2vw;
}
.table-data{
	text-align:center;
	vertical-align : middle;
}
.table-head-row .table-head {
	&:nth-child(1){
		width : 5%;
	}
	&:nth-child(2){
		width : 22%;
	}
	&:nth-child(3){
		width : 13%;
	}
	&:nth-child(4){
		width : 13%;
	}
	&:nth-child(5){
		width : 22%;
	}
	&:nth-child(6){
		width:13%;
	}
}
.user-group-container{
	vertical-align : middle;
}
.user-group-container .add-group-icon {
   border-radius:50%;
   border : 1px solid #000;
   padding: 0.4vw;
}
#popup-overlay{
	inset:0;
	height:100%;
	width: 100%;
	position: absolute;
    background: #00000059;
	display : none;
}
.asign-user-group-container{
	position: absolute;
    width: 40vw;
    max-height: 25vw;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	box-shadow: rgba(100, 100, 111, 0.2) 0px 3px 15px 0px;
	padding:1vw;
	display : none;
}
#popup-overlay.open,
.asign-user-group-container.open{
	display : flex;
}
/* Custom Select Dropdown */
.select-dropdown {
  width: 100%;
  padding: 0.6vw 1.2vw 0.6vw 0.8vw;
  border: 1px solid #ccc;
  border-radius: 0.3vw;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-dropdown:hover,
.select-dropdown:focus {
  border-color: #5565da;
  outline: none;
}

/* Select Dropdown with Custom Arrow */
.asign-user-group-container .select-dropdown {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6' fill='%235565da'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8vw center;
  background-size: 0.7vw;
}

/* List Items Styling */
.lists li {
  margin-bottom: 0.5vw;
  padding: 0.5vw 0.8vw;
  background: #f5f7ff;
  border: 1px solid #dde2f0;
  border-radius: 1.3vw;
  color: #333;
	font-size: 0.9vw;
}



.lists li:hover::after {
  color: #e00;
}

/* Scrollable List Container */
.asign-user-group-container .lists {
  max-height: 165px;
  overflow-y: auto;
  padding-right: 0.5vw;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  position: relative;
  gap: 0.5vw;
}

/* Top/Bottom Shadows to Indicate Scroll */
.asign-user-group-container .lists::before,
.asign-user-group-container .lists::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1vw;
  pointer-events: none;
}

/* Firefox Thin Scrollbar */
.asign-user-group-container .lists {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

/* WebKit Thin Scrollbar */
.asign-user-group-container .lists::-webkit-scrollbar {
  width: 6px;
}

.asign-user-group-container .lists::-webkit-scrollbar-track {
  background: transparent;
}

.asign-user-group-container .lists::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0.2vw;
  transition: background 0.3s;
}

	html {
		margin-top: 0 !important;
	}
