

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #111;
  color: #ddd;
  font-family: monospace;
  padding: 30px 20px;
  max-width: 700px;
  margin: 0 auto;
}

h1 {
  font-size: 2.4rem;
  font-weight: normal;
  margin-bottom: 4px;
}

h1 span {
  color: orange;
}

.sub {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 24px;

}

/* --- heya buddy nice code aint it --- */

#tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}

.tab {
  background: #1e1e1e;
  color: #888;
  border: 1px solid #333;
  padding: 6px 14px;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.8rem;
  border-radius: 4px;
}

.tab.active {
  background: orange;
  color: #111;
  border-color: orange;
}

.tab:hover {
  color: #ddd;
}


#timer-box {
  text-align: center;
  margin-bottom: 20px;
  padding: 30px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: #181818;
}

#timer {
  font-size: 5rem;
  letter-spacing: -2px;

}

#mode-txt {
  color: #555;
  font-size: 0.8rem;
  margin-top: 6px;
}


#btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

button {
  background: #1e1e1e;
  color: #ccc;
  border: 1px solid #333;
  padding: 9px 22px;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.85rem;
  border-radius: 4px;
}

button:hover {
  border-color: #666;
}

#startbtn {
  background: orange;
  color: #111;
  border-color: orange;
  font-weight: bold;
}

#startbtn:hover {
  background: #ffb833;
}


#rounds {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 0.8rem;
  color: #555;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e2e2e;
  border: 1px solid #444;
}

.dot.on {
  background: orange;
  border-color: orange;
}

hr {
  border: none;
  border-top: 1px solid #222;
  margin: 28px 0;
}


#tasks-section h3,
#yt-section h3,
#notes-section h3 {
  font-size: 0.85rem;
  font-weight: normal;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

#task-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

input[type="text"] {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #2e2e2e;
  color: #ddd;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 0.85rem;
  border-radius: 4px;
  outline: none;
}

input[type="text"]:focus {
  border-color: orange;
}


#task-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  font-size: 0.85rem;
}

.task-item input[type="checkbox"] {
  accent-color: orange;
  cursor: pointer;
}

.task-item span {
  flex: 1;
}

.task-item.done span {
  text-decoration: line-through;
  color: #444;
}

.del-btn {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.del-btn:hover {
  color: #c0392b;
}



#yt-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap; 
}

#video-box {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#no-vid-msg {
  color: #444;
  font-size: 0.85rem;
}

#yt-frame {
  width: 100%;
  height: 400px;
  border: none;
  display: none; /* hidden till loaded */
}


#notes-box {
  width: 100%;
  min-height: 120px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #ccc;
  font-family: monospace;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 4px;
  resize: vertical;
  outline: none;
  line-height: 1.6;
}

#notes-box:focus {
  border-color: orange;
}

#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1e1e1e;
  border: 1px solid orange;
  color: #ddd;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  pointer-events: none;
  font-family: monospace;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}