.app-theme {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px 48px;
  transition: background-color 0.5s ease;
	border-radius:10px
}

.app-theme.mode-pomodoro {
  background-color: #c0504d;
}

.app-theme.mode-shortBreak {
  background-color: #4a908c;
}

.app-theme.mode-longBreak {
  background-color: #4471a0;
}

.page-wrapper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timer-card {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 28px 32px 24px !important;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.tab {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.2s, color 0.2s;
  outline: none !important;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.tab.active {
  background: rgba(0, 0, 0, 0.2) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.timer-display {
  font-size: clamp(72px, 20vw, 96px);
  font-weight: 900;
  color: #fff !important;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
  font-variant-numeric: tabular-nums;
}

.timer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.start-btn {
  background: #fff !important;
  color: #c0504d !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 60px !important;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 3px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
  outline: none !important;
}

.app-theme.mode-shortBreak .start-btn {
  color: #4a908c !important;
}

.app-theme.mode-longBreak .start-btn {
  color: #4471a0 !important;
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  background: #f5f5f5;
}

.start-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.next-btn {
  background: rgba(255,255,255,0.2) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s !important;
  outline: none;
  flex-shrink: 0;
}

.next-btn:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: translateY(-1px);
  border-color: transparent;
}

.current-task-info {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  gap: 2px;
}

.current-task-info .task-session {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}

.current-task-info .task-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.95) !important;
  font-weight: 700;
}

.tasks-section {
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  padding: 18px 20px 6px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tasks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2px;
}

.tasks-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tasks-menu-wrapper {
  position: relative;
}

.tasks-menu-btn {
  background: rgba(255,255,255,0.15) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  outline: none !important;
  line-height: 1;
}

.tasks-menu-btn:hover {
  background: rgba(255,255,255,0.25) !important;
  border-color: transparent !important;
}

.tasks-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff  !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  min-width: 200px;
  z-index: 100;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.tasks-dropdown.show {
  display: flex;
}

.tasks-dropdown button {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  color: #444 !important;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 16px !important;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  outline: none;
}

.tasks-dropdown button:hover {
  background: #f5f5f5 !important;
  border-color: transparent !important;
}

.tasks-divider {
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 12px 0 8px;
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.task-item {
  background: #fff !important;
  border-radius: 10px !important;
/*   overflow: hidden; */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.task-item.active {
  border-left: 4px solid #c0504d !important;
}

.app-theme.mode-shortBreak .task-item.active {
  border-left-color: #4a908c;
}

.app-theme.mode-longBreak .task-item.active {
  border-left-color: #4471a0;
}	

.task-item.completed .task-name {
  text-decoration: line-through;
  color: #aaa;
}

.task-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12) !important;
}

.task-item-main {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
}

.task-check {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  color: #ccc !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  transition: color 0.2s;
  outline: none !important;
}

.task-check svg {
  width: 22px;
  height: 22px;
}

.task-check:hover {
  color: #999 !important;
  background: #f0f0f0 !important;
  border-color: transparent !important;
}

.task-item.completed .task-check {
  color: #7ab648;
}

.task-name {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333 !important;
  word-break: break-word;
}

.task-pomos {
  font-size: 0.85rem;
  font-weight: 700;
  color: #aaa !important;
  white-space: nowrap;
  margin-right: 4px;
}

.task-est {
  font-weight: 700;
}

.task-menu-wrapper {
  position: relative;
}
.next-btn i,
.add-task-btn i,
.delete-form-btn i,
.task-check i,
.tasks-menu-btn i,
.task-menu-btn i {
  font-size: 1rem;
  line-height: 1;
}

.task-menu-btn {
  background: transparent !important;
  border: none !important;
  color: #aaa !important;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s !important;
  outline: none !important;
  line-height: 1;
}

.task-menu-btn:hover {
  background: #f0f0f0 !important;
  color: #666 !important;
  border-color: transparent;
}

.task-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: #fff !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
  min-width: 140px;
  z-index: 100;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.task-dropdown.show {
  display: flex;
}

.task-dropdown button {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  color: #444 !important;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px !important;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  outline: none;
}

.task-dropdown button:hover {
  background: #f5f5f5 !important;
  border-color: transparent !important;
}

.task-note {
  background: #fffde7 !important;
  color: #7a7a5a !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px 10px 54px !important;
  border-top: 1px solid #f0f0e0 !important;
  line-height: 1.5;
}

.task-form {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 8px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  gap: 0;
}

.task-name-input {
  width: 100%;
  border: none !important;
  border-bottom: 2px solid #e0e0e0 !important;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  padding: 8px 4px 10px !important;
  outline: none !important;
  background: transparent;
  transition: border-color 0.2s;
}

.task-name-input::placeholder { color: #bbb; font-weight: 600; }

.task-name-input:focus {
  border-bottom-color: #c0504d;
}

.app-theme.mode-shortBreak .task-name-input:focus {
  border-bottom-color: #4a908c;
}

.app-theme.mode-longBreak .task-name-input:focus {
  border-bottom-color: #4471a0;
}

.task-form-section {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 12px;
  border: 1px solid #eee;
}

.est-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.est-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #888 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.est-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.est-btn {
  background: #fff !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 6px !important;
  color: #555 !important;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  line-height: 1;
}

.est-btn:hover {
  background: #f0f0f0 !important;
  border-color: #ccc !important;
}

.est-input {
  width: 48px;
  text-align: center;
  border: 2px solid #e0e0e0 !important;
  border-radius: 6px !important;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333 !important;
  padding: 4px 6px;
  outline: none;
  transition: border-color 0.2s;
}

.est-input:focus { border-color: #c0504d; }
.est-input::-webkit-inner-spin-button,
.est-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* .est-input { -moz-appearance: textfield; } */

.note-divider {
  height: 1px;
  background: #e8e8e8 !important;
  margin: 10px 0 !important;
}

.note-input {
  width: 100%;
  border: none !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #666;
  resize: none;
  outline: none;
  line-height: 1.6;
}

.note-input::placeholder { color: #bbb; }

.task-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.delete-form-btn {
  background: transparent !important;
  border: none !important;
  color: #ccc !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  outline: none;
}

.delete-form-btn:hover {
  color: #e74c3c !important;
  background: #ffeaea !important;
  border-color: transparent !important;
}

.form-right-btns {
  display: flex;
  gap: 8px;
}

.cancel-btn {
  background: transparent !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  color: #888 !important;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 18px !important;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  outline: none;
}

.cancel-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.save-btn {
  background: #555 !important;
  border: none !important;
  border-radius: 8px;
  color: #fff !important;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 22px !important;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  outline: none;
}

.save-btn:hover {
  background: #333 !important;
  border-color: transparent;
  transform: translateY(-1px);
}

.add-task-btn {
  width: 100%;
  background: transparent !important;
  border: 2px dashed rgba(255,255,255,0.4) !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,0.8);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
  outline: none;
}

.add-task-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.footer-stats {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-stat {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.footer-stat strong {
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}

.footer-slash {
  color: rgba(255,255,255,0.5);
  margin: 0 1px;
}

.footer-sep-bar {
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}

.footer-duration {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

@media (max-width: 768px) {
/* .app-theme {
  padding: 16px 12px 32px;
} */

  .timer-card {
    padding: 22px 20px 18px;
  }
	.tabs{
		display:block;
	}
	.est-row {
		display:block;
	}
	.est-input {
		padding:4px 6px !important;
	}
	.task-form-actions{
		display:block;
	}
	.timer-display {
		font-size: clamp(56px, 11vw, 89px);}

  .tab {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .start-btn {
    padding: 12px 44px;
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .tasks-section {
    padding: 16px 14px 6px;
  }
}
