/* Task Progress Drawer Styles */
.task-progress-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #36346c;
  display: none;
}

.task-progress-toggle {
  position: absolute;
  bottom: 2px;
  left: 0;
  transform: translateY(100%);
  width: 80px;
  height: 40px;
  border: none;
  border-radius: 0 0 16px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  background-color: #36346c;
}

.task-progress-toggle svg {
  transition: transform 0.3s ease;
}

.task-progress-drawer.expanded .task-progress-toggle svg {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
}

.task-progress-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 48px;
}

.task-progress-drawer.expanded .task-progress-content {
  max-height: 230px;
  opacity: 1;
  padding: 16px 24px;
}

.task-progress-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-progress-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.task-progress-left.full-width {
  flex: 1;
  width: 100%;
  max-width: none;
}

.task-progress-right {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.task-progress-header {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.task-progress-icon {
  font-size: 36px;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.task-progress-label {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.task-progress-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  word-wrap: break-word;
  padding: 0;
  color: #ffffff;
}

.task-progress-value.claimed {
  text-shadow: 0 0 10px #667eea;
}

.task-progress-value.next {
  text-shadow: 0 0 10px #764ba2;
}

.task-progress-divider {
  width: 1px;
  height: 64px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, transparent, #667eea, transparent);
}

@media (max-width: 768px) {
  .task-progress-toggle {
    width: 10vw;
    height: 6vw;
    border-radius: 0 0 1vw 0;
  }

  .task-progress-toggle svg {
    width: 24px;
    height: 24px;
  }

  .task-progress-content {
    padding: 0 3vw;
  }

  .task-progress-drawer.expanded .task-progress-content {
    max-height: 32vw;
    padding: 2.5vw 3vw;
  }

  .task-progress-section {
    flex-direction: row;
    gap: 1.5vw;
  }

  .task-progress-left,
  .task-progress-right {
    padding: 1.5vw 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1vw;
    gap: 1.2vw;
  }

  .task-progress-left {
    flex: 1;
  }

  .task-progress-right {
    flex: 2;
  }

  .task-progress-icon {
    font-size: 4.5vw;
  }

  .task-progress-label {
    font-size: 2.4vw;
  }

  .task-progress-value {
    font-size: 2.6vw;
    padding-left: 0;
  }

  .task-progress-divider {
    width: 1px;
    height: 14vw;
  }
}

