* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #000000 0%, #111111 100%);
  color: #ffffff;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffff00 0%, #39ff14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.overall-progress {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.overall-percentage {
  font-size: 3rem;
  font-weight: 700;
  color: #39ff14;
  margin-bottom: 10px;
}

.overall-stats {
  color: #888888;
  font-size: 1.1rem;
}

.section {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 0, 0.2);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-header {
  padding: 20px 24px;
  background: rgba(255, 255, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 0, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.section-header:hover {
  background: rgba(255, 255, 0, 0.15);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.section-progress {
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-percentage {
  font-size: 1.2rem;
  font-weight: 700;
  color: #39ff14;
  min-width: 50px;
}

.mini-progress-bar {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #39ff14 0%, #ffff00 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.section-content {
  padding: 20px 24px;
  display: none;
}

.section.expanded .section-content {
  display: block;
}

.checklist {
  list-style: none;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item:hover {
  background: rgba(255, 255, 0, 0.05);
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 20px;
  padding-right: 20px;
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #555555;
  border-radius: 50%;
  margin-right: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.checkbox.checked {
  background: #39ff14;
  border-color: #39ff14;
}

.checkbox.checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-weight: bold;
  font-size: 12px;
}

.checkbox:hover {
  border-color: #ffff00;
  transform: scale(1.1);
}

.item-text {
  flex: 1;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.checklist-item.completed .item-text {
  text-decoration: line-through;
  opacity: 0.6;
}

.priority-badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 10px;
}

.priority-high {
  background: rgba(255, 102, 0, 0.2);
  color: #ff6600;
}

.priority-medium {
  background: rgba(255, 255, 0, 0.2);
  color: #ffff00;
}

.priority-low {
  background: rgba(136, 136, 136, 0.2);
  color: #888888;
}

.delete-btn {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 6px;
  color: #ff4444;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 10px;
  padding: 4px 8px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.checklist-item:hover .delete-btn {
  opacity: 1;
  transform: scale(1);
}

.delete-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff4444;
  transform: scale(1.05);
}

.add-item-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 0, 0.2);
}

.add-item-input {
  flex: 1;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
}

.add-item-input::placeholder {
  color: #888888;
}

.add-item-input:focus {
  outline: none;
  border-color: #39ff14;
}

.priority-select {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
}

.add-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #ffff00 0%, #39ff14 100%);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.add-btn:hover {
  transform: scale(1.05);
}

.expand-all-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffff00 0%, #39ff14 100%);
  border: none;
  color: #000000;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255, 255, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.expand-all-btn:hover {
  transform: scale(1.1);
}

.export-btn {
  position: fixed;
  bottom: 24px;
  right: 96px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #39ff14 0%, #00ff88 100%);
  border: none;
  color: #000000;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(57, 255, 20, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.export-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(57, 255, 20, 0.4);
}

.info-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088ff 0%, #00ddff 100%);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 136, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.info-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 136, 255, 0.4);
}

.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.info-modal.show {
  display: flex;
}

.info-content {
  background: linear-gradient(135deg, #111111 0%, #222222 100%);
  border: 1px solid rgba(255, 255, 0, 0.3);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.info-header {
  padding: 24px 24px 0 24px;
  text-align: center;
}

.info-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffff00 0%, #39ff14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.info-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #888888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.info-close:hover {
  color: #ffffff;
}

.info-body {
  padding: 20px 24px 24px;
  color: #ffffff;
}

.info-section {
  margin-bottom: 24px;
}

.info-section h3 {
  color: #39ff14;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-section p {
  line-height: 1.6;
  margin-bottom: 8px;
  color: #cccccc;
}

.info-section ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.info-section li {
  line-height: 1.6;
  margin-bottom: 6px;
  color: #cccccc;
}

.info-workflow {
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.info-workflow .step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.info-workflow .step:last-child {
  margin-bottom: 0;
}

.step-number {
  background: #39ff14;
  color: #000000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .info-content {
    margin: 20px;
    max-height: 90vh;
  }

  .info-header h2 {
    font-size: 1.5rem;
  }
}

.add-section-container {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 16px;
  margin-bottom: 30px;
  overflow: hidden;
}

.add-section-header {
  padding: 16px 24px;
  background: rgba(57, 255, 20, 0.1);
  border-bottom: 1px solid rgba(57, 255, 20, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-section-header:hover {
  background: rgba(57, 255, 20, 0.15);
}

.add-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #39ff14;
}

.add-section-toggle {
  font-size: 1.5rem;
  color: #39ff14;
  transition: transform 0.3s ease;
}

.add-section-container.expanded .add-section-toggle {
  transform: rotate(45deg);
}

.add-section-content {
  padding: 20px 24px;
  display: none;
}

.add-section-container.expanded .add-section-content {
  display: block;
}

.add-section-form {
  display: flex;
  gap: 15px;
  align-items: center;
}

.add-section-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
}

.add-section-input::placeholder {
  color: #888888;
}

.add-section-input:focus {
  outline: none;
  border-color: #39ff14;
}

.add-section-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #39ff14 0%, #ffff00 100%);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.add-section-btn:hover {
  transform: scale(1.05);
}

.collapse-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: #ffff00;
}

.section.expanded .collapse-arrow {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .add-item-form {
    flex-direction: column;
  }
}
