
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
   
html,body{
  width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
}


.dashboard {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 80px;
    
    color: #e90c0c;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px  ;
    border-radius: 50px;
   
}

.logo {
    width: 40px;
    height: 40px;
    background-color: #555;
    border-radius: 50%;
    border-style: solid;
    border-color: black;
    
    background-image: url(https://plus.unsplash.com/premium_photo-1661914978519-52a11fe159a7?q=80&w=435&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
}

.menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.menu-item {
    width: 50px;
    height: 50px;
    
    border-color: white;
    border-radius: 50%;
}

.user-icon {
    width: 40px;
    height: 40px;
    background-color: rgb(199, 192, 255);
    border-radius: 20%;
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS24DGfMcMtSVHcovrcuuhhXFGGL0P6DBSefA&s);
    background-size: cover;
    background-position: center;
}

/* Main Content */
.content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.first{
   display: flex;
   justify-content: space-around;
   height: 60%;
}

/* Header */
.header {
    background-color: lavender;
    width: 80%;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: top;
    box-shadow: 0 2px 4px rgba(159, 9, 189, 0.1);
    background-image: url("living_room.webp");
    background-size: cover;
    background-position: bottom;
}

.title h1 {
    margin: 0;
    font-size: 20px;
}

.status {
    background-color: #f4f4f4;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
}

.metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 300px;
}

.metric {
    background-color: #f4f4f4;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
}
/* Room List Section */
.room-list {
  width: 18%;
  background-image: linear-gradient(rgb(241, 241, 241), rgb(181, 189, 190));
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.room-list h2 {
    margin-top: 0;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid white;
}

.room-list ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: space-around;
}

.room-list ul li {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}


.room-list ul li:hover {
  background-color: #aaa6a6;
  border-radius: 20px;
}

.room-list button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #5d5c5c;
    color: #fff;
    border: none;
    border-radius: 59px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.room-list button:hover {
    background-color: #a19595;
}

/* Cards*/
.second{
   display: flex;
   justify-content: space-between;
    height:50%;
    width: 100%;
}

.cards {
    display: flex;
    gap: 20px;
    width: 100%;
}

.card1 {
    
    width: 35%;
    background-color: #fff;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-image: url(https://plus.unsplash.com/premium_photo-1673644228469-7e1f37b77812?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cm9ib3QlMjB2YWN1dW0lMjBjbGVhbmVyfGVufDB8fDB8fHww);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.top{
    display: flex;
    justify-content: space-between;
    
}
.bottom{
    display: flex;
    justify-content: space-between;
}
/*toggle start*/
.container {
    width: fit-content;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }

.button {
    background-color: white;
    width: 50px;
    height: 30px;
    border-radius: 35px;
    cursor: pointer;
    position: relative;
  }
  
  .button::before {
    position: absolute;
    content: "";
    background-color: black;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 2.5px;
  }
  
  input:checked + .button {
    background-color: white;
  }
  
  input:checked + .button:before {
    transform: translateX(20px);
  }
  
  input {
    display: none;
  }
  /*toggle end*/

#one{
    background-color: #b5aaaa;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
   
}

#iconback{
    background-color: #ffffff;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
#two{
    background-color: #b5aaaa;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
}
#three{
    background-color: #b5aaaa;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
}


.card2 {
    flex: 1;
    width: 25%;
    background-color: #998c8c;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-image: url(https://images.unsplash.com/photo-1622280261442-38308782fb87?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTF8fHNtYXJ0JTIwbGFtcHxlbnwwfHwwfHx8MA%3D%3D);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*toggle start*/
.container {
    width: fit-content;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }

.button2 {
    background-color: white;
    width: 50px;
    height: 30px;
    border-radius: 35px;
    cursor: pointer;
    position: relative;
  }
  
  .button2::before {
    position: absolute;
    content: "";
    background-color: black;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 2.5px;
  }
  
  input:checked + .button2 {
    background-color: white;
  }
  
  input:checked + .button2:before {
    transform: translateX(20px);
  }
  
  input {
    display: none;
  }
  /*toggle end*/

.card3 {
    flex: 1;
    width: 25%;
    background-color: #93b0ae;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: bottom;
}
/*toggle start*/
.container {
    width: fit-content;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }

.button3 {
    background-color: white;
    width: 50px;
    height: 30px;
    border-radius: 35px;
    cursor: pointer;
    position: relative;
  }
  
  .button3::before {
    position: absolute;
    content: "";
    background-color: black;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 2.5px;
  }
  
  input:checked + .button3 {
    background-color: white;
  }
  
  input:checked + .button3:before {
    transform: translateX(20px);
  }
  
  input {
    display: none;
  }
  /*toggle end*/

.picture{
  display: flex;
  justify-content: center;
}  

.picturealign{
  background-color: white;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-image: url("blue rose.jpg");
  background-size: cover;
  background-position: center;
}

.card h2 {
    margin-top: 0;
    font-size: 18px;
}

.card p {
    color: #888;
    font-size: 14px;
}

.card .info {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}


