* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.whole {
  width: 100%;
  height: 100%;
  display: flex;
  background-image: url("images/bg2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.leftbar{
  width: 30%;
  height: 100%;
  position: relative;
  background: rgba(0,20,42,1);
}

.mainshi {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recenttab {
  position: absolute;
  top: 2%;
  left: 3%;
  width: 45%;
  height: 96%;
  background: rgba(149, 149, 149, 0.30196078431372547);
  border-radius: 28px;
  padding: 18px 12px;
}

.recenttab h2 {
  color: white; 
  text-align: center;
  font-family: "Abril Fatface", serif;
  font-size: 1.6vw;
  line-height: 1.25;
}

.tabs {
  width: 100%;
  height: calc(100% - 70px);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.tabs::-webkit-scrollbar {
  width: 0.4vw;
}
.tabs::-webkit-scrollbar-track {
  background: transparent;
}
.tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.yourstxt {
  position: absolute;
  top: 3%;
  left: 44%;
  width: 57%;
  height: 96%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  writing-mode: vertical-rl;
  font-size: clamp(200px,17vw,300px);
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: "Abril Fatface", serif;
}

.upar {
  width: 100%;
  height: 29vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6vh 3vw 0;
}

.ghatika {
  color: #ffffff;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding: 2vh;
}

#shan {
  display: block;
  font-size: clamp(140px,15vw,240px);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 0.9;
}

.mausam {
  width: 32%;
  height: 21vh;
  min-height: 0px;
  padding: 1.5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5vw;
  flex-wrap: wrap;
  color: white;
  background: linear-gradient(45deg, rgba(70, 70, 70, 0.70), rgba(177, 177, 177, 0.65));
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.50);
}

#tapmaan {
  order: 1;
  font-size: clamp(55px,6vw,100px);
  font-weight: 700;
}

.mausamchin {
  order: 2;
  font-size: clamp(45px,5vw,80px);
  line-height: 1;
  color: white;
  display: block;
}

#sthaan {
  order: 3;
  width: 100%;
  text-align: center;
  font-size: clamp(16px, 1.5vw, 28px);
  letter-spacing: 0.08em;
}

.searchshi {
  width: 100%;
  padding: 7vh 3vw 0;
}

#searchform {
  width: 100%;
  height: 8vh;
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(60, 60, 60, 0.60), rgba(143, 143, 143, 0.60));
  border-radius: 999px;
  padding: 0 2vw;
  border: 1px solid rgba(255, 255, 255, 0.50);
}

.googleicon {
  width: 2.5vw;
  height: 2.5vw;
  object-fit: contain;
  flex-shrink: 0;
}

#searchinput {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  padding: 0 1vw;
  font-family: "Roboto",Arial,sans-serif;
  font-size: 1.5vw;
}

#searchinput::placeholder {
  color: #888;
  opacity: 1;
}

.nichla {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 2vw;
  margin-top: auto;
  padding: 0 3vw 3vh;
}

.gaane {
  width: 50%;
  height: 45vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(45deg, rgba(60, 60, 60, 0.60), rgba(143, 143, 143, 0.60));
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.50);
}

.gaanchitra {
  position: relative;
  width: 100%;
  height: 75%;
  overflow: hidden;
}

#gaankhaal {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gaanebaare {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: 100%;
  text-align: center;
  color: white;
}

#gaannaam {
  font-family: "Abril Fatface",serif;
  font-size: 2vw;
  line-height: 1.1;
}

#gaankalakaar {
  margin-top: 0.5vh;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.8vw;
  letter-spacing: 0.08em;
}

.musiccontrols {
  width: 100%;
  height: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2vw;
}

.progressshi {
  width: 100%;
}

#progressbar {
  width: 100%;
  height: 0.4vh;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    to right,
    white 0%,
    white 0%,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0.35) 100%
  );
  border-radius: 999px;
  cursor: pointer;
}

#progressbar::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 0.7vw;
  height: 0.7vw;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

#progressbar::-moz-range-thumb {
  width: 0.7vw;
  height: 0.7vw;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  margin-top: 2vh;
}

.buttons button {
  width: 2.5vw;
  height: 2.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

#playpause {
  width: 3vw;
  height: 3vw;
}

.buttons button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.todoshi {
  width: 46%;
  height: 45vh;
  margin: 0;
  padding: 1.5vw;
  background: linear-gradient(45deg, rgba(60, 60, 60, 0.60), rgba(143, 143, 143, 0.60));
  border-radius: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  border: 2px solid rgba(255, 255, 255, 0.50);
}

.todoshi h2 {
  text-align: center;
  font-family: "Abril Fatface", serif;
  font-size: 2.5vw;
  line-height: 1;
  margin-bottom: 2vh;
}

.tasklist {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5vw;
}

.tasklist::-webkit-scrollbar {
  width: 0.4vw;
}
.tasklist::-webkit-scrollbar-track {
  background: transparent;
}
.tasklist::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.task {
  width: 100%;
  height: 5.5vh;
  min-height: 5.5vh;
  display: flex;
  align-items: center;
  padding: 0 1.2vw;
  margin-bottom: 1vh;
  border: 1px solid white;
  border-radius: 18px;
  background: linear-gradient(45deg, rgba(58, 58, 58, 0.6), rgba(22, 22, 22, 0.6));
}

.task input[type="checkbox"] {
  width: 1.5vw;
  height: 1.5vw;
  margin: 0;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid white;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.task input[type="checkbox"]:checked {
  background: hwb(46 1% 0%);
  position: relative;
}

.task input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: hwb(0 100% 0%);
  font-size: 1vw;
  font-weight: bold;
}

.tasktext {
  flex: 1;
  margin-left: 1vw;
  color: white;
  font-family: "Roboto",Arial,sans-serif;
  font-size: 1.4vw;
  font-weight: 400;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.todobutton {
  width: 2vw;
  height: 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1vw;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: Arial, sans-serif;
  font-size: 1.6vw;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
.todobutton:hover {
  color: white;
  transform: scale(1.15);
}

.recent-item {
  width: 100%;
  height: 8vh;
  min-height: 8vh;
  margin-bottom: 0;
  padding: 0 0.8vw;
  display: flex;
  align-items: center;
  gap: 0.8vw;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.45);
  color: white;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1vw;
  cursor: pointer;
  transition: background 0.2s ease;
}

.recent-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.delete-recent {
  width: 100%;
  height: 8vh;
  min-height: 8vh;
  margin-top: 0;
  margin-bottom: 1.5vh;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  background: rgba(102, 102, 102, 0.45);
  color: rgba(255,255,255,0.75);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1vw;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.delete-recent:hover {
  background: rgba(153, 153, 153, 0.6);
  color: white;
  transform: scale(0.90);
}

.recent-item img {
  width: 2vw;
  height: 2vw;
  object-fit: contain;
  flex-shrink: 0;
}

.recent-item span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.task.completed .tasktext {
  text-decoration: line-through;
  opacity: 0.5;
}

.addtodo {
  width: 97%;
  height: 5.5vh;
  min-height: 5.5vh;
  margin-top: 1vh;
  border: 3px dashed rgba(255, 255, 255, 0.60);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 2vw;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.addtodo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.gaanchitra.slide-out-left, .gaanchitra.slide-out-right {
  animation-duration: 0.35s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}
.gaanchitra.slide-out-left {
  animation-name: slideOutLeft;
}
.gaanchitra.slide-out-right {
  animation-name: slideOutRight;
}
.gaanchitra.slide-in-left {
  animation-name: slideInLeft;
  animation-duration: 0.35s;
  animation-timing-function: ease;
}
.gaanchitra.slide-in-right {
  animation-name: slideInRight;
  animation-duration: 0.35s;
  animation-timing-function: ease;
}
@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

