/* @version 3.12.0 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;500&display=swap');

body {
  font-size: 13px;
  padding-bottom: 10em;
  padding-top: 1.3em;
  transition: 0.15s all ease !important;
}

#tiempo_display {
  min-width: 6vw !important;
  display: inline-block !important;
}

.bg-jan {
  background-color: #446f93;
}

.bg-feb {
  background-color: #2f597b;
}

.bg-mar {
  background-color: #1c4564;
}

.bg-apr {
  background-color: #08324f;
}

.bg-may {
  background-color: #00233e;
}

.bg-jun {
  background-color: #001c36;
}

.bg-jul {
  background-color: #041b36;
}

.bg-aug {
  background-color: #14223f;
}

.bg-sep {
  background-color: #292e4f;
}

.bg-oct {
  background-color: #433e63;
}

.bg-nov {
  background-color: #5a4d75;
}

.bg-dec {
  background-color: #715c87;
}

.bg-primary .card-duracion {
  color: yellow !important;
}

.tools-taskbar {
  width: 20%;
}

.cursor-pointer,
.modal-estadodecuentas {
  cursor: pointer;
}

.tools-tasklist {
  width: 65%;
}

#info_descripcion {
  overflow: hidden;
}

.btn-sidebar {
  background-color: #e1e1e1;
  padding: .5em;
  display: inline-block;
  cursor: pointer;
  margin-right: .5em;
}

#tareas-deadline .bg-info .text-danger {
  color: yellow !important;
}

#tareas-deadline .card-title {
  min-height: 3.5em;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.txt-fechas {
  white-space: nowrap;
  padding-left: .8em;
}

/* Personalización */

h2 {
  font-size: 1.1em;
}

/* Estilos para iconos de checkbox locales (reemplazo de FontAwesome) */
.colcheck {
  width: 1%;
  vertical-align: middle !important;
  padding: 0.8em 0.5rem 0.8em 0.25rem !important;
}

.btncheck {
  position: relative;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.15s ease;
  vertical-align: middle;
  line-height: 1;
  width: 20px;
  height: 20px;
}

.btncheck:hover {
  opacity: 0.7;
}

.btncheck:active {
  opacity: 0.5;
}

.btncheck .checkbox-icon {
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border: 2px solid #666;
  border-radius: 3px;
  position: relative;
  transition: all 0.15s ease;
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}

.btncheck.checked .checkbox-icon {
  background: #666;
  border-color: #666;
}

.btncheck.checked .checkbox-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  margin-left: -3px;
  margin-top: -6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
  display: block;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  padding: 10vh 0 0;
  /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  padding-bottom: 9em;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.sidebar-search .form-control {
  font-size: 0.875rem;
}

.sidebar-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-search .form-control:focus {
  background-color: #495057;
  border-color: #6c757d;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.sidebar-search .input-group-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Barra de búsqueda del sidebar: fija arriba y estilo disimulado */
.sidebar-search-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #23272C;
  flex-shrink: 0;
  margin: 0 -0.5rem;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.sidebar-search-bar .input-group {
  background: transparent;
  border-radius: 0;
  border: 0;
}

.sidebar-search-bar .form-control {
  background: #2c3136;
  border: none;
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-search-bar #input-busqueda-proyectos {
  background: transparent;
}

.sidebar-search-bar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.sidebar-search-bar .form-control:focus {
  background: #2c3136;
  border: none;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.sidebar-search-bar .input-group-text {
  background: #2c3136;
  border: none;
  border-left: 1px solid #373b3e;
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-search-bar .input-group-text i {
  color: rgba(255, 255, 255, 0.75);
}

/*
 * Content
 */

[role="main"] {
  padding-top: 133px;
  /* Space for fixed navbar */
}

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 48px;
    /* Space for fixed navbar */
  }
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* Cotizaciones */

.datacomentarios {
  font-size: .9em;
  resize: none;
  height: 4.5em;
}

/* Task Week */

.task-board-programatica,
.task-board {
  background: #fff;
  display: inline-block;
  padding: 12px;
  border-radius: 3px;
  width: 100%;
  white-space: nowrap;
  overflow-x: scroll;
}

.status-card {
  width: 300px;
  margin-right: 1px;
  background: #eae8eb;
  display: inline-block;
  vertical-align: top;
}

.columna-regular {
  padding: 1px;
  padding-top: 10px;
}

.columna-hoy {
  padding: 0 !important;
  border: 1px solid #000;
  border-top: 10px solid #000;
}

.status-card .hasta-span {
  display: none !important;
}

.status-card:last-child {
  margin-right: 0px;
}

.card-header {
  width: 100%;
  padding: 10px 10px 0px 10px;
  box-sizing: border-box;
  border-radius: 3px;
  display: block;
  font-weight: bold;
}

.card-header-text {
  display: block;
}

ul.sortable {
  padding-bottom: 10px;
}

ul.sortable li:last-child {
  margin-bottom: 0px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0px;
}

.text-row {
  padding: 8px 10px;
  margin: 5px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  white-space: normal;
  line-height: 20px;
}

.text-row .label_tarea {
  margin-bottom: 10px;
}

.text-row .responsable {
  font-size: .9em;
  text-align: left;
}

.status-tarea-listo {
  opacity: 0.2;
  text-decoration: line-through !important;
}

.text-row .duracion {
  float: right;
  background-color: #0057b0 !important;
  color: #4ba2fb !important;
  margin-right: -10px;
  padding: 6px 4px 8px 10px;
  display: block;
  margin-top: -6px;
}

.text-row .label_pendientes {
  margin-bottom: .5em;
}

.ui-sortable-placeholder {
  visibility: inherit !important;
  background: transparent;
  border: #666 2px dashed;
}

#sortbacklog {
  overflow: hidden;
  overflow-y: scroll;
}

.card-duracion {
  display: block;
  text-align: center;
  font-weight: 100;
  font-size: 2em;
}

#nav-tab {
  background-color: #bfe4ef;
  padding: .5em .5em 0;
  border-radius: 1em 1em 0 0;
  border-bottom: 0;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border: 0 !important;
  background-color: rgba(255, 255, 255, .5);
  color: #212121 !important;
  border-bottom: 0 !important;
}

.task-grupos {
  margin-left: 15px;
  border-left: 1px solid #fff;
  -webkit-box-shadow: -10px 0px 0px 0px #333;
  box-shadow: -10px 0px 0px 0px #333;
}

.grupo-finanzas {
  -webkit-box-shadow: -10px 0px 0px 0px greenyellow;
  box-shadow: -10px 0px 0px 0px greenyellow;
}

.grupo-urgente {
  -webkit-box-shadow: -10px 0px 0px 0px greenyellow;
  box-shadow: -10px 0px 0px 0px greenyellow;
}

.grupo-urgente {
  -webkit-box-shadow: -10px 0px 0px 0px orangered;
  box-shadow: -10px 0px 0px 0px orangered;
}

.grupo-importante {
  -webkit-box-shadow: -10px 0px 0px 0px orange;
  box-shadow: -10px 0px 0px 0px orange;
}

#nombre_asigndo {
  min-height: 15px;
  margin-top: .5em;
  font-size: .9em;
}

.copyonclick {
  cursor: pointer;
  font-family: 'Courier New', Courier, monospace;
}

.copyonclick:hover {
  color: #000;
}

/* Animacion avisos */
.aviso {
  opacity: 1;
  animation: fade 1s linear infinite;
}


.badget-fecha {
  background: none !important;
  border: 1px solid #333 !important;
  color: #333 !important;
}

.btn-del-transaccion {
  cursor: pointer;
}

.btn-del-transaccion:hover {
  color: #007bff;
}

.tabla-transacciones tr:hover {
  background-color: #e1e1e1;
}

#list-task-now .badge-info {
  animation: parpadeo 1s infinite;
}

@keyframes fade {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* Animacion de campana */

.bell {
  -webkit-animation: ring 4s .7s ease-in-out infinite;
  -webkit-transform-origin: 50% 4px;
  -moz-animation: ring 4s .7s ease-in-out infinite;
  -moz-transform-origin: 50% 4px;
  animation: ring 4s .7s ease-in-out infinite;
  transform-origin: 50% 4px;
}

@-webkit-keyframes ring {
  0% {
    -webkit-transform: rotateZ(0);
  }

  1% {
    -webkit-transform: rotateZ(30deg);
  }

  3% {
    -webkit-transform: rotateZ(-28deg);
  }

  5% {
    -webkit-transform: rotateZ(34deg);
  }

  7% {
    -webkit-transform: rotateZ(-32deg);
  }

  9% {
    -webkit-transform: rotateZ(30deg);
  }

  11% {
    -webkit-transform: rotateZ(-28deg);
  }

  13% {
    -webkit-transform: rotateZ(26deg);
  }

  15% {
    -webkit-transform: rotateZ(-24deg);
  }

  17% {
    -webkit-transform: rotateZ(22deg);
  }

  19% {
    -webkit-transform: rotateZ(-20deg);
  }

  21% {
    -webkit-transform: rotateZ(18deg);
  }

  23% {
    -webkit-transform: rotateZ(-16deg);
  }

  25% {
    -webkit-transform: rotateZ(14deg);
  }

  27% {
    -webkit-transform: rotateZ(-12deg);
  }

  29% {
    -webkit-transform: rotateZ(10deg);
  }

  31% {
    -webkit-transform: rotateZ(-8deg);
  }

  33% {
    -webkit-transform: rotateZ(6deg);
  }

  35% {
    -webkit-transform: rotateZ(-4deg);
  }

  37% {
    -webkit-transform: rotateZ(2deg);
  }

  39% {
    -webkit-transform: rotateZ(-1deg);
  }

  41% {
    -webkit-transform: rotateZ(1deg);
  }

  43% {
    -webkit-transform: rotateZ(0);
  }

  100% {
    -webkit-transform: rotateZ(0);
  }
}

@-moz-keyframes ring {
  0% {
    -moz-transform: rotate(0);
  }

  1% {
    -moz-transform: rotate(30deg);
  }

  3% {
    -moz-transform: rotate(-28deg);
  }

  5% {
    -moz-transform: rotate(34deg);
  }

  7% {
    -moz-transform: rotate(-32deg);
  }

  9% {
    -moz-transform: rotate(30deg);
  }

  11% {
    -moz-transform: rotate(-28deg);
  }

  13% {
    -moz-transform: rotate(26deg);
  }

  15% {
    -moz-transform: rotate(-24deg);
  }

  17% {
    -moz-transform: rotate(22deg);
  }

  19% {
    -moz-transform: rotate(-20deg);
  }

  21% {
    -moz-transform: rotate(18deg);
  }

  23% {
    -moz-transform: rotate(-16deg);
  }

  25% {
    -moz-transform: rotate(14deg);
  }

  27% {
    -moz-transform: rotate(-12deg);
  }

  29% {
    -moz-transform: rotate(10deg);
  }

  31% {
    -moz-transform: rotate(-8deg);
  }

  33% {
    -moz-transform: rotate(6deg);
  }

  35% {
    -moz-transform: rotate(-4deg);
  }

  37% {
    -moz-transform: rotate(2deg);
  }

  39% {
    -moz-transform: rotate(-1deg);
  }

  41% {
    -moz-transform: rotate(1deg);
  }

  43% {
    -moz-transform: rotate(0);
  }

  100% {
    -moz-transform: rotate(0);
  }
}

@keyframes ring {
  0% {
    transform: rotate(0);
  }

  1% {
    transform: rotate(30deg);
  }

  3% {
    transform: rotate(-28deg);
  }

  5% {
    transform: rotate(34deg);
  }

  7% {
    transform: rotate(-32deg);
  }

  9% {
    transform: rotate(30deg);
  }

  11% {
    transform: rotate(-28deg);
  }

  13% {
    transform: rotate(26deg);
  }

  15% {
    transform: rotate(-24deg);
  }

  17% {
    transform: rotate(22deg);
  }

  19% {
    transform: rotate(-20deg);
  }

  21% {
    transform: rotate(18deg);
  }

  23% {
    transform: rotate(-16deg);
  }

  25% {
    transform: rotate(14deg);
  }

  27% {
    transform: rotate(-12deg);
  }

  29% {
    transform: rotate(10deg);
  }

  31% {
    transform: rotate(-8deg);
  }

  33% {
    transform: rotate(6deg);
  }

  35% {
    transform: rotate(-4deg);
  }

  37% {
    transform: rotate(2deg);
  }

  39% {
    transform: rotate(-1deg);
  }

  41% {
    transform: rotate(1deg);
  }

  43% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(0);
  }
}

.bg-gradient-primary {
  background: rgb(116, 205, 241);
  background: linear-gradient(45deg, rgba(116, 205, 241, 1) 0%, rgba(85, 168, 210, 1) 100%);
}

#work-now,
#work-today {
  padding: 1em;
  margin-top: -2em;
  margin-bottom: -2em;
  float: left;
  font-size: 1.5em;
}

#work-now {
  margin-right: -0.8em;
}

#bar-proyecto-activo {
  -webkit-box-shadow: inset 0px -5px 10px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: inset 0px -5px 10px 0px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0px -5px 10px 0px rgba(0, 0, 0, 0.4);
}

#tareas-recurrentes strike {
  text-decoration: none !important;
}

#bar-proyecto-activo .taskactivo {
  display: none;
}

#bar-proyecto-activo .taskactivo:first-child {
  display: block;
}

.progress_activo .progress_color {
  position: absolute;
  background: rgb(163, 123, 193);
  background: -moz-linear-gradient(90deg, rgba(163, 123, 193, 1) 0%, rgba(233, 51, 145, 1) 50%);
  background: -webkit-linear-gradient(90deg, rgba(163, 123, 193, 1) 0%, rgba(233, 51, 145, 1) 50%);
  background: linear-gradient(90deg, rgba(163, 123, 193, 1) 0%, rgba(233, 51, 145, 1) 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a37bc1", endColorstr="#e93391", GradientType=1);
  width: 0px;
  height: 5px;
  animation: progres 10s infinite linear;
}

.bar-activo-pendiente {
  cursor: e-resize;
}

.bar-activo-pendiente:hover {
  color: rgb(201, 161, 231);
}

.bg-etapa-activa {
  background-color: #ffbe00;
  color: #000 !important;
}

/* ======================== */

#myBtnSubir {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 100px;
  /* Place the button at the bottom of the page */
  right: 1vh;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: #7d6391;
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  border-radius: 10px;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
  border-radius: 30px;
  opacity: .7;
}

#myBtnSubir:hover {
  background-color: #497499;
  opacity: 1;
  /* Add a dark-grey background on hover */
}

/* ======================== */

@keyframes progres {
  0% {
    width: 0%;
    opacity: 1;
  }

  25% {
    width: 50%;
    opacity: .80;
  }

  50% {
    width: 75%;
    opacity: .50;
  }

  75% {
    width: 85%;
    opacity: .30;
  }

  100% {
    width: 100%;
    opacity: .10;
  }
}

/* Badge de comentarios: parpadeo cuando hay comentarios del cliente no leídos */
#infotarea-comentarios-badge.infotarea-badge-unread {
  animation: infotarea-badge-blink 1.2s ease-in-out infinite;
}

@keyframes infotarea-badge-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5);
  }

  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
  }
}

/* Ancho del modal de información de tarea para que los botones no se rompan */
#infotarea .modal-dialog {
  width: 900px;
  max-width: 900px;
}

/* Pestañas fijas: no se mueven con el scroll del modal */
#infotarea .modal-body #infotarea-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

/* Evitar que el modal-body haga scroll; el scroll solo va en el contenido de cada pestaña */
#infotarea .modal-body {
  overflow: hidden;
}

/* Altura fija del área de pestañas para que el modal no cambie de tamaño al cambiar de tab */
#infotarea .modal-body #infotarea-tab-content {
  height: 300px;
  min-height: 300px;
}

#infotarea .tab-pane {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Información: scroll solo cuando el contenido supera el espacio (sin altura fija en el body) */
#infotarea-pane-info .infotarea-body {
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Comentarios: solo la lista hace scroll */
#infotarea-pane-comentarios {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#infotarea-comentarios.infotarea-comentarios-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

#infotarea-comentarios-loading,
#infotarea-comentarios-empty {
  flex-shrink: 0;
}

/* ========== Overlay Pomodoro (pantalla completa) ========== */
.pomodoro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  color: #7dd3fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: color 0.35s ease;
}

.pomodoro-overlay .pomodoro-progress-bg,
.pomodoro-overlay .pomodoro-progress-fill,
.pomodoro-overlay .pomodoro-countdown,
.pomodoro-overlay .pomodoro-overlay-close,
.pomodoro-overlay .pomodoro-btn-action {
  transition: stroke 0.35s ease, color 0.35s ease, border-color 0.35s ease, background 0.2s ease, text-shadow 0.35s ease;
}

.pomodoro-overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: #7dd3fc;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.85;
  border-radius: 50%;
  transition: opacity 0.2s, background 0.2s;
}

.pomodoro-overlay-close:hover {
  opacity: 1;
  background: rgba(125, 211, 252, 0.15);
}

.pomodoro-overlay-inner {
  text-align: center;
  max-width: 90vw;
}

.pomodoro-project-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.25rem;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 2rem;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.12);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pomodoro-project-name i {
  flex-shrink: 0;
  opacity: 0.9;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-project-name {
  color: #9ca3af;
  background: rgba(156, 163, 175, 0.1);
  border-color: rgba(156, 163, 175, 0.3);
  box-shadow: 0 0 20px rgba(156, 163, 175, 0.08);
}

.pomodoro-progress-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 1.5rem;
}

.pomodoro-progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pomodoro-progress-bg {
  stroke: rgba(125, 211, 252, 0.2);
}

.pomodoro-progress-fill {
  stroke: #7dd3fc;
  transition: stroke-dashoffset 0.5s linear;
}

.pomodoro-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.pomodoro-center-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pomodoro-btn-action {
  width: 3rem;
  height: 3rem;
  border: 2px solid #7dd3fc;
  background: transparent;
  color: #7dd3fc;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}

.pomodoro-btn-action:hover {
  background: rgba(125, 211, 252, 0.2);
}

.pomodoro-time-range {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.pomodoro-countdown {
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  font-weight: 300;
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #b8e6fd;
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.4), 0 0 40px rgba(125, 211, 252, 0.2);
  min-width: 4.2em;
}

.pomodoro-duration {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  opacity: 0.85;
}

.pomodoro-duration i {
  margin-right: 0.35rem;
}

/* Badge de pomodoros en sesión: esquina inferior izquierda, discreto */
.pomodoro-session-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(125, 211, 252, 0.85);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 1.5rem;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.pomodoro-session-count {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  min-width: 1.25em;
  text-align: center;
}

.pomodoro-session-label {
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

/* Overlay Pomodoro: tema gris durante el break (descanso) */
.pomodoro-overlay.pomodoro-overlay--break {
  color: #9ca3af;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-overlay-close {
  color: #9ca3af;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-overlay-close:hover {
  background: rgba(156, 163, 175, 0.15);
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-progress-bg {
  stroke: rgba(156, 163, 175, 0.25);
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-progress-fill {
  stroke: #9ca3af;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-btn-action {
  border-color: #9ca3af;
  color: #9ca3af;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-btn-action:hover {
  background: rgba(156, 163, 175, 0.2);
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-countdown {
  color: #d1d5db;
  text-shadow: 0 0 20px rgba(156, 163, 175, 0.3), 0 0 40px rgba(156, 163, 175, 0.15);
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-time-range,
.pomodoro-overlay.pomodoro-overlay--break .pomodoro-duration {
  color: #9ca3af;
}

.pomodoro-overlay.pomodoro-overlay--break .pomodoro-session-badge {
  color: rgba(156, 163, 175, 0.9);
  border-color: rgba(156, 163, 175, 0.2);
}

#work-now {
  cursor: pointer;
}

#work-now:hover {
  opacity: 0.9;
}