html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Importing a digital font */
@import url('https://fonts.cdnfonts.com/css/digital-7-mono');

.top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
   }

  .nav-bar {
    background: #ffffff;
    padding: 19px 42px 19px 42px;
    display: flex;
    flex-direction: row; 
    justify-content: space-evenly;
    gap: 50px;
    flex: 6;
  }
  .clock,.timer,.about,.stop{
    cursor: pointer;

  }

  .logo {
    padding: 5px 0px 5px 0px;
    margin-left: 1em;
    font-size: 30px;
    display: flex;
    flex-direction: row; 
    gap: 10px;
    align-items: center;
    flex: 4;
  }

  .pomodoro-timer {
    color: #000000;
    text-align: center;
    font-family: "Inter-SemiBold", sans-serif;
    line-height: 100%;
    font-weight: 600;
  }

  .dashboard {
    display: flex;
    height: calc(100vh - 70px); 
}

  
  .control_panel{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 65%;
    margin: 10px 50px;
    min-width: 310px;
    
  }


   .main-view {
    position: relative;
    background: #d9d9d9;
    border-style: solid;
    border-color: #0544ff;
    border-width: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    height:60%;
  }
  ._25-00 {
    color: #0544ff;
    text-align: center;
    font-family: 'Digital-7 Mono', sans-serif;
    font-size: 6em;
    line-height: 100%;
    font-weight: 400;
    padding: 1em;
  
  }

  .timer-input {
    font-size: 50px;
    text-align: center;
    border: 2px solid #0544ff;
    border-radius: 5px;
    outline: none;
    padding: 5px 10px;
    width: 100%;
    max-width: 200px;
}



  .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin: 10px;
  }
  .start {
    background: #0544ff;
    border-radius: 20px;
    border-style: solid;
    border-color: #0dadf2;
    border-width: 1px;
  }
  .start2 {
    padding: 1em;
    color: #fff5f5;
    text-align: center;
    font-family: "Inter-Bold", sans-serif;
    font-size: 20px;
    font-weight: 700;
  
  }
  .stop {
    background: #31ff65;
    border-radius: 20px;
    border-style: solid;
    border-color: #0dadf2;
    border-width: 1px;
  }
  .break {
    padding: 1em;
    color: #fff9f9;
    text-align: center;
    font-family: "Inter-Bold", sans-serif;
    font-size: 20px;
    font-weight: 700;
  }


.side_bar {
    display: flex;
}

.separator {
    width: 2px; 
    background: black;
    height: 100%; 
    align-self: stretch; 
}
  .task {
    margin-left: 1em;
    width: 100%;
 
  }
  .frame-2 {
    display: flex;
    align-items: center;
    padding: 1em;
  }
   .tasks {
    color: #000000;
    text-align: center;
    font-family: "Inter-Bold", sans-serif;
    font-size: 25px;
    line-height: 100%;
    font-weight: 700;
   
  } 
  .add-task {
    background: #606060; 
    border: 3px dashed #000;
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-direction: row-reverse;
    padding: 0.8em 1.5em; 
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.add-task2 {
    color: #ffffff;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
}

.add-task .icon {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}


  .icon {
    width: 20px;
    height: 20px;
    padding: 1px;
    color: black;
    font-weight: 800;
    font-size: large;
  }
  


  .history {
    color: #000000;
    text-align: center;
    font-family: "Inter-Regular", sans-serif;
    line-height: 100%;
    font-weight: 400;
  }

  .pomodoro {
    color: #0544ff;
    text-align: center;
    font-family: "Inter-Regular", sans-serif;
    line-height: 100%;
    font-weight: 400;
  }
  .rectangle-4 {
    background: #0544ff;
    width: 100%;
    height: 2px;
    
  }

  .about2 {
    color: #000000;
    text-align: center;
    font-family: "Inter-Regular", sans-serif;
    line-height: 100%;
    font-weight: 400;
  }



 /* Style the vertical button container */
.timer-controls {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Style for icons */
.control-icon {
    width: 40px;
    height: 40px;
    background: #0544ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}



/* Tooltip on hover */
.control-icon::after {
    content: attr(title);
    position: absolute;
    right: 50px;
    background: black;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}


.control-icon:hover::after {
    opacity: 1;
}

/* Hover effect */
.control-icon:hover {
    background: #032baa;
}




/* Styles for Break Session */
.main-view {
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}


  /*  */
  /* TASK SECTION */

#checklist {
    --background: #fff;
    --text: #414856;
    --check: #4f29f0;
    --disabled: #c3c8de;
    padding: 20px;
    background: var(--background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(65, 72, 86, 0.1);
    width: 100%;
    max-width: 200px;
}

#checklist .task{
        display: flex; 
        align-items: center;
        gap: 10px; 
        margin-bottom: 1em; 
    
}

/* Task Labels */
#checklist label {
    color: var(--text);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 30px; 
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Task Checkbox */
#checklist input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid var(--check);
    border-radius: 5px;
    background: var(--background);
    cursor: pointer;
    margin-right: 15px;
    place-items: center;
}

/* Custom Checkmark */
#checklist input[type="checkbox"]::after {
    content: "";
    width: 12px;
    height: 6px;
    border: 3px solid var(--check);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* Checked State */
#checklist input[type="checkbox"]:checked::after {
    opacity: 1;
}

/* Checked Task Animation */
#checklist input[type="checkbox"]:checked + label {
    color: var(--disabled);
    animation: move 0.3s ease 0.1s forwards;
}



/* FRAME-2 Styling */
#frame-2 {
    background: var(--background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(65, 72, 86, 0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}


 label {
    font-size: 30px; /* Match task font size */
    font-weight: bold;
    color: var(--text);
}

 input[type="checkbox"] {
    width: 25px;
    height: 25px;
    border: 2px solid var(--check);
    border-radius: 5px;
    background: var(--background);
    cursor: pointer;
    margin-right: 15px;
    display: grid;
    place-items: center;
}

 input[type="checkbox"]::after {
    content: "";
    width: 12px;
    height: 6px;
    border: 3px solid var(--check);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

 input[type="checkbox"]:checked::after {
    opacity: 1;
}

 input[type="checkbox"]:checked + label {
    color: var(--disabled);
    animation: move 0.3s ease 0.1s forwards;
}

/* Keep original animations */
@keyframes move {
    50% {
        padding-left: 8px;
        padding-right: 0px;
    }
    100% {
        padding-right: 4px;
    }
}


/*  */
