/* Google Font Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap');
@import url('styles.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mulish', sans-serif;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 75px;
    background: var(--color-base-green);
    /* padding: 10px 18px; */
    z-index: 99;
    transition: all 0.5s ease;
    overflow-y: scroll;
    direction: rtl;
}

.sidebar > * { 
    direction: ltr; 
}

.sidebar hr {
    margin-top: 0;
    border-top: 1px solid var(--color-cool-green);
    margin-bottom: 0.2rem;
}

.sidebar.open {
    width: 242px;
}

.sidebar .logo-details {
    display: flex;
    position: relative;
    justify-content: space-evenly;
    margin-bottom: 8rem;
}

.sidebar .logo-details .logo {
    filter: invert(100%) brightness(200%);
    transition: all 0.5s ease;
    width: 42px;
    height: 43px;
    margin-top: 3rem;
    position: absolute;
}

.sidebar.open .logo-details .logo {
    display: block;
    opacity: 1;
    width: 100px;
    height: 100px;
    margin-top: 1rem;
    filter: invert(100%) brightness(200%);
}

.sidebar.open .logo-details {
    height: fit-content;
}

.sidebar .logo-details #btn {
    font-size: 22px;
    transition: all 0.4s ease;
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
    color: #FEFAF1;
    right: -15%;
}

.sidebar.open .logo-details #btn {
    top: 0;
    right: 0;
    position: absolute;
    transform: translateY(-50%);
    font-size: 22px;
    transition: all 0.4s ease;
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
    color: #FEFAF1;
}

.sidebar.open .logo-details #btn {
    text-align: right;
}

.sidebar i {
    color: #fff;
    height: 60px;
    min-width: 50px;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
}

.sidebar .nav-list {
    margin-top: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 75%;
}

.sidebar li {
    position: relative;
    margin: 2px 0;
    list-style: none;
    padding: 2px 15px;
}


.sidebar .nav-footer {
    margin-bottom: 0;
    position: relative;
    top: 50px;
    width: 100%;
}

.sidebar li .tooltip {
    position: absolute;
    top: -20px;
    left: calc(100% + 25px);
    z-index: 3;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 4px;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: 0s;
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;
}

.sidebar li:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s ease;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar.open li .tooltip {
    display: none;
}

.sidebar .nav-alert {
    opacity: 0;
    padding: 20px;
    margin: 0px 20px;
    font-size: 11px;
    font-weight: 400;
    background: var(--color-dark-green);
    color: #fff;
    /* text-wrap: wrap; */
    transition: 0.4s;
}

.sidebar .nav-alert h5 {
    font-size: 14px;
    margin-bottom: 10px;
}

.sidebar .nav-alert a.link-cta {
    font-size: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 7px;
    color: #fff;
    text-align: center;
    border: 1.5px solid var(--color-emerald-green);
    transition: all 0.4s ease;
    width: 100%;
    display: inline-block;
    margin-bottom: 0px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px;
    border-radius: 4px;
}

.sidebar .nav-alert a.link-cta:hover {
    color: var(--color-base-green);
    background: var(--color-emerald-green);
    border: 1.5px solid var(--color-emerald-green);
}

.sidebar.open .nav-alert {
    opacity: 1;
}

.sidebar input {
    font-size: 15px;
    color: #FFF;
    font-weight: 400;
    outline: none;
    height: 50px;
    width: 100%;
    width: 50px;
    border: none;
    border-radius: 12px;
    transition: all 0.5s ease;
    background: #1d1b31;
}

.sidebar.open input {
    padding: 0 20px 0 50px;
    width: 100%;
}

.sidebar li a {
    display: flex;
    height: 32px;
    width: 100%;
    border-radius: 5px;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    background: #183F37;
}

.sidebar li a:hover {
    background: var(--color-emerald-green);
}

.sidebar li a .links_name {
    color: #FEFAF1;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.sidebar.open li a .links_name {
    opacity: 1;
    pointer-events: auto;
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;

}

.sidebar li a:hover .links_name,
.sidebar li a:hover i {
    transition: all 0.5s ease;
    color: var(--color-base-green);
}

.sidebar li i {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    border-radius: 12px;
    color: #FEFAF1;
    padding-right: 10px;
}

.sidebar li.profile {
    position: fixed;
    height: 60px;
    width: 78px;
    left: 0;
    bottom: -8px;
    padding: 10px 14px;
    background: #1d1b31;
    transition: all 0.5s ease;
    overflow: hidden;
}

.sidebar.open li.profile {
    width: 242px;
}

.sidebar li .profile-details {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.sidebar li img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}

.sidebar li.profile .name,
.sidebar li.profile .job {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}

.sidebar li.profile .job {
    font-size: 12px;
}

.home-section {
    position: relative;
    background: #E4E9F7;
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
    z-index: 2;
}

.sidebar.open~.home-section {
    left: 242px;
    width: calc(100% - 242px);
}

.home-section .text {
    display: inline-block;
    color: #11101d;
    font-size: 25px;
    font-weight: 500;
    margin: 18px
}

@media (max-width: 420px) {
    .sidebar li .tooltip {
        display: none;
    }
}

.partner-logos img,
.help-section img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 10px;
}

/*#region MUG*/
.vertical-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 70%;
    height: 90px;
    margin-bottom: -7px; 
}

.toggle-switch {
    position: relative;
    width: 10px;
    height: 75px;
}

.toggle-switch input {
    display: none; 
}

.slider {
    position: absolute;
    background-color: #a3a1a1;
    border-radius: 25px;
    cursor: pointer;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    top: 12px;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.4s;
}

input:checked + .slider:before {
    transform: translateY(40px); 
}

.labels {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 35px 30px;
    color: #fff;
    font-size: 14px;
    pointer-events: fill; 
}

.label-top {
    position: absolute;
    top: 7px;
}

.label-bottom {
    position: absolute;
    bottom: 7px;
}

.toggle-switch .labels > span:hover {
    color: var(--color-emerald-green);
}
/*#endregion MUG*/

@media (max-width: 1000px) {
    .sidebar .nav-list {
        height: 85%;
    }
}