/* Pomodoro Widget Styles */
html.is-auth-route .pomodoro-widget {
  display: none !important;
}
.pomodoro-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.pomodoro-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pomodoro-fab:hover {
  transform: scale(1.1);
}

.pomodoro-panel {
  width: 320px;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pomodoro-widget.open .pomodoro-panel {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pomodoro-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pomodoro-header h3 {
  font-size: 1.1rem;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pomodoro-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}
.pomodoro-close:hover {
  color: #f8fafc;
}

.pomodoro-modes {
  display: flex;
  gap: 5px;
  background: rgba(0,0,0,0.3);
  padding: 5px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pomo-mode-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pomo-mode-btn.active {
  background: rgba(255,255,255,0.1);
  color: #f8fafc;
}

.pomodoro-display {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pomo-time {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}

.pomodoro-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pomodoro-circle-bg {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 8;
}

.pomodoro-circle-prog {
  fill: none;
  stroke: #f43f5e;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.3s;
}

.pomodoro-controls {
  display: flex;
  gap: 15px;
}

.pomo-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.pomo-btn-play {
  background: #f8fafc;
  color: #0f172a;
}
.pomo-btn-play:hover {
  transform: scale(1.1);
  background: #e2e8f0;
}

.pomo-btn-reset {
  background: rgba(255,255,255,0.1);
  color: #f8fafc;
}
.pomo-btn-reset:hover {
  background: rgba(255,255,255,0.2);
}

/* Screen Alert */
.pomo-screen-alert { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px); background: rgba(30, 41, 59, 0.9); backdrop-filter: blur(16px); border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 16px; padding: 20px 30px; z-index: 9999; box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(56,189,248,0.2); animation: slideDownAlert 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; color: #f8fafc; }
.pomo-screen-alert.hide { animation: slideUpAlert 0.5s ease-in forwards; }
.pomo-alert-content { display: flex; align-items: center; gap: 20px; }
.pomo-alert-content svg { color: #38bdf8; }
.pomo-alert-content h2 { margin: 0 0 5px 0; font-size: 1.2rem; }
.pomo-alert-content p { margin: 0; color: #cbd5e1; font-size: 0.95rem; }
@keyframes slideDownAlert { to { transform: translateX(-50%) translateY(0); } }
@keyframes slideUpAlert { to { transform: translateX(-50%) translateY(-100px); opacity: 0; } }


/* New Description */
.pomodoro-desc { background: rgba(0,0,0,0.2); padding: 12px; border-radius: 12px; margin-bottom: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.pomodoro-desc strong { color: #f8fafc; font-size: 0.9rem; display: block; margin-bottom: 4px; }
.pomodoro-desc p { color: #94a3b8; font-size: 0.8rem; margin: 0; line-height: 1.4; }

/* FAB Progress Ring */
.pomodoro-fab-container { position: relative; width: 64px; height: 64px; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.pomodoro-fab-container:hover { transform: scale(1.1); }
.pomodoro-fab-ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; z-index: 1; }
.fab-circle-bg { fill: none; stroke: rgba(30, 41, 59, 0.9); stroke-width: 4; }
.fab-circle-prog { fill: none; stroke: #f43f5e; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear, stroke 0.3s; }
.pomodoro-fab-inner { position: relative; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; z-index: 2; background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4); }

