:root {
  --soft-blue: #cde6fe;         /* Calmness, trust */
  --soft-green: #b7fdb7;        /* Restoration, peace */
  --lavender: #E6E6FA;          /* Relaxation, sleep */
  --soft-pink: #ffd4ee;         /* Emotional safety */
  --white: #FFFFFF;             /* Clarity, openness */
  --earth-tone: #D8CAB8;        /* Grounding */
}

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Quicksand:wght@500;700&display=swap');


        
        body{
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            display: none;
             font-family: 'Nunito', sans-serif; /* for main readable text */


        }

        .sidebar{
         background-color: var(--soft-pink);
         width: 100px;
         transition: width 0.3s ease;

         height: 100vh;
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         border-radius: 50px;
         margin-left: 25px;

          position: fixed;
          top: 0;
          left: 0;
          height: 100vh;
          z-index: 1000;

        }

        .sidebar:hover {
          width: 200px;
        }

        .sidebar a{
          margin: 15px;
          text-decoration: none;
          display: flex;
          align-items: center;
          color: blue;
         
          

        }

        .sidebar a:hover{
            background-color: var(--white);
            border-radius: 50px;
            padding: 0px 20px;
            font-weight: bolder;
             font-size: 18px;

        }

        .sidebar a.active{
            background-color: var(--soft-blue);
            border-radius: 30px;
            font-weight: bolder;
            color: #7300ff;
            padding: 0px 15px;
            border: 5px double #86bef2;

        }

        .label {
         transition: opacity 0.3s ease, width 0.3s ease;
         white-space: nowrap;
        }


        .icon{
            width: 60px;
            display: flex;
            justify-content: center;

        }

        .sidebar:not(:hover) .label {
        opacity: 0;
        visibility: hidden;
        width: 0;
        overflow: hidden;
        }

        .sidebar:hover .label {
         opacity: 1;
        visibility: visible;
        width: auto;
         }



        a img{
            width:60px;
            
        }


        .main{
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 92vh;
         background-color: var(--soft-blue);
        margin-left: 150px;
        transition: margin-left 0.3s ease, width 0.3s ease;
        width:  calc(98% - 150px);
         min-height: 92vh;     /* allow it to grow */
       height: auto;
       overflow-y: auto;
        margin-top:20px;
        margin-bottom:20px;
        margin-right: 20px;
        border-radius: 50px;


        }

        .sidebar:hover ~ main .main {
         margin-left: 250px; /* match or slightly exceed the expanded sidebar width */
         width: calc(100% - 250px);
        }

        body{
  display: none;
}





















       



     

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--white);
  padding: 20px;
  border-radius: 16px;
  width: 350px;
  max-width: 90%;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
}

.current-pfp {
  font-size: 50px;
  margin: 10px 0;
  background-color: #86bef2;
  border-radius: 50%;
  width: 80px;
  object-fit: contain;
  margin-left: 20px;
}

.pfp-options span {
  cursor: pointer;
  font-size: 32px;
  margin: 5px;
  display: inline-block;
  transition: transform 0.2s;
}

.pfp-options span:hover { transform: scale(1.2); }

#change-pfp-btn, .logout-btn {
  margin-top: 12px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#change-pfp-btn { 
  background:#6699ff;
   color:#fff;
   
   }


.logout-btn {
   background:#ff6666; 
   color:#fff;
   }


   #settingsLink img{
    width: 40px;

   }