:root {
  --offset-y: 0px;
  --drag-y: 0px;
}

.your-note-tab-overlay {
  position: absolute;
  top: 0;
  background: transparent;
  height: 100dvh;
  width: 100vw;
  z-index: 5;
  display: none;
}

.your-note-tab {
  background: #131313;
  position: relative;
  height: 100dvh;
  width: 100vw;
  border-radius: 30px 30px 0 0;
  border: 2px solid #c4c4c4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  top: 0;
  user-select: none;
}

.drag-btn {
  height: 7px;
  width: 100px;
  border-radius: 20px;
  position: absolute;
  top: 0;
  cursor: pointer;
  text-align: center;
  font-size: 24px;
}

.drag-btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-accent);
  transform: translate(-50%, -40%);
}

.drag-btn i:hover {
  color: #89ff9957;
}

.your-note-tab::-webkit-scrollbar {
  display: none;
}

.your-note-title {
  width: 100%;
  height: max-content;
  color: var(--color-accent);
  padding: 8px 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.your-note-page {
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.your-note-page textarea {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 17px;
  resize: none;
  margin: 10px 0;
  height: 100dvh;
  width: 100vw;
  background: none;
  border: none;
  color: #fff;
  padding: 0 20px;
  line-height: 24px;
  background-image: linear-gradient(to bottom, #e0e0e034 1px, transparent 1px);
  background-size: 100% 24px; 
}

.your-note-page textarea:focus {
  border: none;
  outline: none;
}


/*--------LIGHT MODE--------*/
body.light .your-note-tab {
  background: var(--color-background);
  border: 2px solid gray;
}

body.light .your-note-title {
  color: #262626;
}

body.light .your-note-page textarea {
  color: #262626;
  background-image: linear-gradient(to bottom, #d9b99b75 1px, transparent 1px);
}

body.light .drag-btn i:hover {
  color: #833907af;
}
