/* ===== Google Font Import - Poppins ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    /* ===== Colors ===== */
    --primary-color: #0E4BF1;
    --panel-color: #FFF;
    --text-color: #000;
    --black-light-color: #707070;
    --border-color: #e6e5e5;
    --toggle-color: #DDD;
    --box1-color: #4DA3FF;
    --box2-color: #FFE6AC;
    --box3-color: #E7D1FC;
    --title-icon-color: #fff;
    
    /* ====== Transition ====== */
    --tran-05: all 0.5s ease;
    --tran-03: all 0.3s ease;
    --tran-03: all 0.2s ease;
}

body{
    min-height: 100vh;
    background-color: var(--primary-color);
}
body.dark{
    --primary-color: #3A3B3C;
    --panel-color: #242526;
    --text-color: #CCC;
    --black-light-color: #CCC;
    --border-color: #4D4C4C;
    --toggle-color: #FFF;
    --box1-color: #3A3B3C;
    --box2-color: #3A3B3C;
    --box3-color: #3A3B3C;
    --title-icon-color: #CCC;
}
/* === Custom Scroll Bar CSS === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b3cc1;
}

body.dark::-webkit-scrollbar-thumb:hover,
body.dark .activity-data::-webkit-scrollbar-thumb:hover{
    background: #3A3B3C;
}


/* <<<<<<<<<<<<<<<<<<<<Log In page>>>>>>>>>>>>>>>>>>> */

.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}

.form-outline.mb-4 {
    margin-bottom: 10px;
}

button.Signin.btn-primary.btn-lg.btn-block {
    width: 100%;
    /* padding: 4px 150px; */
    border-radius: 0.3rem;
    font-size: 12px;
}
button.Signin.btn-primary.btn-lg.btn-block {
    border: none;
}

button.google.btn-primary.btn-lg.btn-block {
    width: 100%;
    /* padding: 4px 150px; */
    border-radius: 0.3rem;
    font-size: 12px;
}

button.google.btn-primary.btn-lg.btn-block {
    border: none;
    background-color: black;
}



.btn-google {
    color: #545454;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 1px #ddd
    }

    .forgot-link-container {
        text-align: end;
    }
a.forget {
    text-align:left;
    text-decoration: none;
}


input#email {
    font-size: 15px;
    border-radius: 7px;
    padding: 1rem 1rem;

    background-color: rgb(247 239 239);
}

input#togglePassword{
    font-size: 15px;
    border-radius: 7px;
    padding: 1rem 1rem;
    background-color: rgb(247 239 239);
}

label.form-label {
    font-weight: 500;
    font-size: 15px;
}

/* remember */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 22px;
    left: -40px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 5px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 20px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .form-link{
    text-align: center;
    margin-top: 20px;
}
.form-link span,
.form-link a{
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    /* color: #232836; */
}
.form a{
    color: #0171d3;
    text-decoration: none;
}

/* <<<<<<<<<<<<<<<<<<<<Log In page End>>>>>>>>>>>>>>>>>>> */

/* Nav Bar */


nav.close{
    width: 73px;
}
nav{
    position: relative;
    top: 0;
    left: 0;
    height: auto;
    width: 450px;
    padding: 10px 14px;
    box-shadow: 0px 10px 60px 0px #E2ECF980;
    background-color: #FFFFFF;
    border-right: 1px solid var(--border-color);
    transition: var(--tran-05);
}




nav.close .logo_name{
    opacity: 0;
    pointer-events: none;
}

div#nav-contain {
    position: relative;
    width: 136px;
    height: 130px;
    left: 30px;
}

.deviceInfo {
    position: relative;
    height: 16px;
    font-weight: 400;
    left: 1px;
    color: #B0B0B0;
    font-family: Roboto;
    font-size: 11px;
    line-height: 19px;
}

.tom {
    font-family: 'Poppins';
    color: #232323;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    width: 269px;
    height: 30px;
    /* letter-spacing: 1%; */
}


a.dropdown-item {
    position: relative;
    display: grid;
    text-decoration: none;
    left: 60px;
    color: #9197B3;
    line-height: 28px;
    font-size: 14px;
    font-weight: 500;
}


button.btn.btn-primary {
    position: relative;
    border-radius: 12px;
    background-color: #5932EA;
    height: 58px;
    width: 220px;
}

p.uil.uil-estate {
    position: relative;
    text-align: left;
    color: white;
    font-size: 20px;
}
span {
    margin-left: 14px;
   
}


nav .menu-items{
    position: relative;
    margin-top: 70px;
    left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-items li{
    list-style: none;
}
.menu-items li a{
    display: flex;
    align-items: center;
    height: 80px;
    text-decoration: none;
    position: relative;
}

.menu-items li a i{
    font-size: 24px;
    min-width: 45px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-light-color);
}
.menu-items li a .link-name{
    font-size: 18px;
    font-weight: 400;
    color: var(--black-light-color);    
    transition: var(--tran-05);
}
nav.close li a .link-name{
    opacity: 0;
    pointer-events: none;
}
.nav-links li a:hover i,
.nav-links li a:hover .link-name{
    color: var(--primary-color);
}
body.dark .nav-links li a:hover i,
body.dark .nav-links li a:hover .link-name{
    color: var(--text-color);
}
.menu-items .logout-mode{
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}
.menu-items .mode{
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.menu-items .mode-toggle{
    position: absolute;
    right: 14px;
    height: 50px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mode-toggle .switch{
    position: relative;
    display: inline-block;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
}



.switch:before{
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 15px;
    width: 15px;
    background-color: var(--panel-color);
    border-radius: 50%;
    transition: var(--tran-03);
}
body.dark .switch:before{
    left: 20px;
}

.friend-fone-img img {
    position: relative;
    left: 20%;
}
@media (max-width: 1000px) {
    nav{
        width: 73px;
    }
    nav.close{
        width: 250px;
    }
    nav .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close .logo_name{
        opacity: 1;
        pointer-events: auto;
    }
    nav li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close li a .link-name{
        opacity: 1;
        pointer-events: auto;
    }
    nav ~ .dashboard{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav.close ~ .dashboard{
        left: 250px;
        width: calc(100% - 250px);
    }
    nav ~ .dashboard .top{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav.close ~ .dashboard .top{
        left: 250px;
        width: calc(100% - 250px);
    }
    .activity .activity-data{
        overflow-X: scroll;
    }
}

@media (max-width: 780px) {
    .dash-content .boxes .box{
        width: calc(100% / 2 - 15px);
        margin-top: 15px;
    }
}
@media (max-width: 560px) {
    .dash-content .boxes .box{
        width: 100% ;
    }
}
@media (max-width: 400px) {
    nav{
        width: 0px;
    }
    .friend-fone-img img {
        position: relative;
        left: 12%;
    }
    nav.close{
        width: 73px;
    }
    nav .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close .logo_name{
        opacity: 0;
        pointer-events: none;
    }
    nav li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav.close li a .link-name{
        opacity: 0;
        pointer-events: none;
    }
    nav ~ .dashboard{
        left: 0;
        width: 100%;
    }
    nav.close ~ .dashboard{
        left: 73px;
        width: calc(100% - 73px);
    }
    nav ~ .dashboard .top{
        left: 0;
        width: 100%;
    }
    nav.close ~ .dashboard .top{
        left: 0;
        width: 100%;
    }
}


#data{
    background-color: #fdfdfd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 26px;
  padding: 50px;
}     .google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.google-logo {
    width: 20px; /* Adjust the size as needed */
    margin-right: 10px; /* Adjust the spacing as needed */
}

