/* Thought Buckets Plugin Styles */

/* Bucket Filter Buttons */
.bucket-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.bucket-filter {
  background: #3a3a42;
  color: #e5e7eb;
  border: 2px solid #4a4a52;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.bucket-filter:hover {
  background: #4a4a52;
  border-color: #fbbf24;
}

.bucket-filter.active {
  background: #fbbf24;
  color: #23232a;
  border-color: #fbbf24;
}

/* Bucket Badges on Notes */
.note-bucket-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 0.5rem;
}

.note-bucket-badge.action {
  background: #10b981;
  color: #23232a;
}

.note-bucket-badge.thought {
  background: #8b5cf6;
  color: #ffffff;
}

/* Bucket Change Button */
.change-bucket-btn {
  background: #6b7280;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 0.5rem;
}

.change-bucket-btn:hover {
  background: #9ca3af;
}

/* Confidence Indicator */
.classification-confidence {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-left: 0.5rem;
}

.classification-confidence.high {
  color: #10b981;
}

.classification-confidence.medium {
  color: #f59e0b;
}

.classification-confidence.low {
  color: #ef4444;
}

/* Plugin Settings */
.plugin-settings {
  background: #2a2a32;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid #3a3a42;
}

.plugin-settings h3 {
  color: #fbbf24;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.plugin-settings label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  color: #e5e7eb;
}

.plugin-settings input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #fbbf24;
}

.plugin-settings button {
  background: #fbbf24;
  color: #23232a;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0.5rem 0.5rem 0.5rem 0;
}

.plugin-settings button:hover {
  background: #f59e42;
}

/* Dual View Button */
.open-dual-view-btn {
  background: #8b5cf6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px #0004;
}

.open-dual-view-btn:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bucket-filters {
    justify-content: center;
  }
  
  .bucket-filter {
    flex: 1;
    min-width: 80px;
    text-align: center;
  }
  
  .note-bucket-badge {
    display: block;
    margin: 0.5rem 0 0 0;
    text-align: center;
  }
  
  .plugin-settings button {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Animation for bucket changes */
.note.bucket-changing {
  animation: bucketChange 0.3s ease-in-out;
}

@keyframes bucketChange {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Loading states */
.bucket-loading {
  opacity: 0.6;
  pointer-events: none;
}

.bucket-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #fbbf24;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 