

.leftbar-nav-button {
    display: flex;
    align-items: center;
    width: 180px;
    margin-top: 5px;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: 0.5s;
    text-decoration: none;
}

.leftbar-nav-button:hover {
    background-color: #00000011;
    color: #000000;
}

.leftbar-nav-button.active {
    background-color: var(--plt2);
    color: #eee;
}


.button-primary {
    background-color: var(--plt2);
    color: #fff;
    padding: var(--pd1);
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-primary:hover {
    background-color: var(--plt2-tr1);
}

.button-secondary {
    background-color: var(--plt2);
    color: #fff;
    padding: var(--pd1);
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-secondary:hover {
    background-color: var(--plt2-tr1);
}


.title-1 {
    font-size: var(--fs1);
    font-weight:bold
}

/* Dropdown */
.dropdown {
    display: none;
    position: absolute;
    max-height: 300px;
    background-color: #fff;
    /* border: 1px solid #00000022; */
    border-top: none;
    box-shadow: 0px 5px 8px 2px #00000022;
    border-radius: 0px 0px 5px 5px;
    overflow: auto;
    z-index: 99;
}

.dropdown.active {
    display: block;
}

.dropdown .option {
    background-color: transparent;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    border-top: 1px solid #00000000;
    border-bottom: 1px solid #00000000;
    transition: 0.3s;
}

.dropdown .option:hover {
    /* color: #fff; */
    background-color: #162F6511;
    border-top: 1px solid #00000011;
    border-bottom: 1px solid #00000011;
}

.dropdown-search {
    outline: none;
    transition: border 0.3s;
    border: 1px solid #00000022;
}

.dropdown-search:focus {
    border: 1px solid #162F65;
}


/* Dropdown */
.dropdown-button {
    position: relative;
    border: none;
    border-bottom: 1px solid #00000022;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    transition: border-bottom 0.3s;
    outline: none;
}

.dropdown-button:hover {
    background-color: #f0f0f0;
}

.dropdown-button:focus,
.dropdown-button.active{
    border-bottom: 1px solid var(--plt2);
    
}


/* TextArea Input */
.textarea {
    border: 1px solid #00000022;
    transition: border 0.3s;
    outline: none;
}

.textarea:focus {
    border: 1px solid #162F65;
}


/* Table Style */
.table {
    cursor: default;
    border-collapse:collapse;
}

.table th {
    position: sticky;
    background: white;
    top: -20px;
    border-bottom: 3px solid #00000011;
    padding: 15px;
    font-size: 13px;
    text-align: left;
    text-wrap: nowrap;
}

.table td {
    border-bottom: 1px solid #00000011;
    padding: 15px;
    vertical-align: center;
}

.table tr {
    transition: background-color 0.3s, box-shadow 0.3s;
}

.table tr:hover {
    background-color: #00000008;
    box-shadow: 0px 0px 10px 5px #00000033;
}



/* Transparent background */
.transparent {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    background-color: #00000022;
    backdrop-filter: blur(0px);
    width: 100%;
    height: 100%;
    right: 0px;
    z-index: 2;
    transition: 0.5s ease-out;
}

.transparent.active {
    visibility: visible;
    backdrop-filter: blur(5px);
    opacity: 1;
}


/* Right Pop-Up */
.right-popup {
    width: 100%;
    max-width: 600px;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    right: -600px;
    top: 0px;
    transition: 0.5s ease-out;
}

.right-popup.active {
    visibility: visible;
    right: 0px;
    opacity: 1;
}

.right-popup .submit-section {
    position: absolute;
    bottom: 0px;
    border-top: 1px solid #00000011;
}


/* Checkbox */
.checkbox:hover .check {
    stroke-dashoffset: 0;
}

.checkbox {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.checkbox .background {
    fill: #ccc;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}
.checkbox input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
}
.checkbox input[type=checkbox]:hover {
    cursor: pointer;
}
.checkbox input[type=checkbox]:checked + svg .background {
    fill: var(--plt2);
}
.checkbox input[type=checkbox]:checked + svg .stroke {
    stroke-dashoffset: 0;
}
.checkbox input[type=checkbox]:checked + svg .check {
    stroke-dashoffset: 0;
}
.checkbox-name.active {
    color: var(--plt2);
}




/* Calendar */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    /* grid-template-rows: 30px 100px 100px 100px 100px 100px 100px; */
    grid-template-rows: 2% 14% 14% 14% 14% 14% 14%;
    gap:10px;
}

.calendar-day {
}

.calendar-cell {
    border-radius: 5px;
    /* height:0px; */
    /* background-color: #000000; */
}

.calendar-cell.exist {
    background-color: #00000011;
    cursor:pointer;
}

.calendar-cell .day-number {
    color: #9fa4b1;
    font-weight: bold;
    margin-top: 10%;
    margin-left: 10%;
}

.calendar-cell .day-percentage {
    color: var(--plt1);
    font-weight: bold;
    text-align: center;
    margin-top: 20%;
}




/* Switch */
.switch input[type="checkbox"] {
    visibility: hidden;
    display: none;
}

.switch .toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}
.switch .toggle:before {
    content: "";
    position: relative;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 14px;
    display: block;
    background: #9A9999;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.switch .toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px 0px #00000077;
    transition: all 0.2s ease;
}
.switch .toggle span:before {
    content: "";
    position: absolute;
    display: block;
    margin: -18px;
    width: 56px;
    height: 56px;
    background: #162F65ff;
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.switch input[type=checkbox]:checked + .toggle:before {
    background: #162F6533;
}
.switch input[type=checkbox]:checked + .toggle span {
    background: #162F65;
    transform: translateX(20px);
    transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
    /* box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2); */
}
.switch input[type=checkbox]:checked + .toggle span:before {
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}


.tooltip .top-tooltiptext {
    visibility: hidden;
    background-color: var(--plt1-tr1);
    color: #fff;
    font-size: 10px;
    border-radius:5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    text-align: center;
    
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip:hover .top-tooltiptext {
    visibility: visible;
}