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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding: 20px;
  color: white;
}

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

/* Password Overlay */
#password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-attachment: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
}

.password-box h2 {
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.status-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-light {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.status-light.idle { background: linear-gradient(135deg, #ffd93d 0%, #ff9a3d 100%); box-shadow: 0 0 30px rgba(255, 217, 61, 0.5); }
.status-light.working { background: linear-gradient(135deg, #6ee7b7 0%, #22c55e 100%); box-shadow: 0 0 30px rgba(110, 231, 183, 0.5); animation: pulse 2s ease-in-out infinite; }
.status-light.stuck { background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%); box-shadow: 0 0 30px rgba(252, 165, 165, 0.5); animation: blink 1s ease-in-out infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* 3-Column Layout */
.columns-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.column {
  min-width: 0; /* Prevent overflow */
}

.section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  display: block;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.empty-msg {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}

/* Inputs */
.password-input, .todo-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: white;
  font-size: 15px;
  outline: none;
  margin-bottom: 16px;
}

.btn {
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .columns-container {
    flex-direction: column;
  }
}
