/**
 * Mindmap Application Styles
 * Extracted from index.html
 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow: hidden;
  background: #0a0e1a;
  transition: background 0.3s;
}

/* Layout */
#root {
  width: 100vw;
  height: calc(100vh - 100px);
  display: flex;
  position: relative;
}

#left-panel {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 80px 0;
  gap: 12px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

#left-panel.hidden {
  transform: translateX(-100%);
  pointer-events: none;
}

#left-panel .text-area {
  background: rgba(10,14,26,0.7);
  border: none;
}

#viz-section {
  flex: 1;
  height: 100%;
  position: relative;
  width: 100%;
}

/* Status Elements */
.worker-status {
  position: fixed;
  bottom: 62px;
  left: 12px;
  padding: 8px 16px;
  background: rgba(10,14,26,0.98);
  border-radius: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-family: 'Courier New', monospace;
  z-index: 200;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Search Bar */
#search-bar {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,14,26,0.98);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#search-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  width: 250px;
  outline: none;
}

#search-input:focus {
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.12);
}

.search-label {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
}

.search-count {
  color: #00ff88;
  font-size: 11px;
  font-weight: 700;
  margin-left: 8px;
}

/* Command Bar */
.command-bar {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: 90%;
  max-width: 600px;
  background: rgba(10,14,26,0.98);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,255,136,0.3);
  padding: 12px 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.command-bar.visible {
  display: flex;
  animation: commandBarSlideIn 0.2s ease-out;
}

@keyframes commandBarSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.command-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.command-prefix {
  color: #00ff88;
  font-size: 18px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.command-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'JetBrains Mono', 'Inter', sans-serif;
  outline: none;
  transition: all 0.2s;
}

.command-input:focus {
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.1);
}

.command-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.command-execute-btn,
.command-close-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.2s;
}

.command-execute-btn:hover {
  background: rgba(0,255,136,0.2);
  border-color: rgba(0,255,136,0.5);
}

.command-close-btn:hover {
  background: rgba(255,51,102,0.2);
  border-color: rgba(255,51,102,0.5);
}

.command-hints {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  padding: 4px 8px;
  line-height: 1.6;
}

.command-hints code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: #00ff88;
}

.command-hint-item {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 4px;
}

.command-trigger-btn {
  font-size: 16px;
  padding: 6px 12px;
}

/* Footer */
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(10,14,26,0.98);
  border-top: none;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  backdrop-filter: blur(20px);
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

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

.footer-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.1);
}

.footer-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,255,136,0.2);
}

.footer-btn.primary {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
  font-weight: 600;
}

.footer-btn.primary:hover {
  box-shadow: 0 2px 12px rgba(0,255,136,0.4);
}

.footer-stats {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 11px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  color: #00ff88;
  font-weight: 700;
  font-size: 16px;
}

.footer-doc {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-align: center;
  padding: 0 20px;
  min-height: 30px;
}

/* Text Areas */
.text-area {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  resize: none;
  line-height: 1.8;
  background: rgba(255,255,255,0.05);
  outline: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.text-area::placeholder {
  color: rgba(255,255,255,0.3);
}

.text-area:focus {
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.08);
}

/* Preview Container */
.preview-container {
  height: 20%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.preview-title {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-area {
  flex: 1;
  border: none;
  border-radius: 6px;
  padding: 12px;
  color: rgba(255,255,255,0.8);
  font-family: 'Courier New', monospace;
  font-size: 10px;
  background: rgba(0,0,0,0.3);
  overflow: auto;
  line-height: 1.6;
}

/* Buttons */
.copy-btn {
  background: rgba(0,255,136,0.15);
  border: 1px solid rgba(0,255,136,0.3);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.2s;
  color: #00ff88;
}

.copy-btn:hover {
  background: rgba(0,255,136,0.25);
  transform: scale(1.05);
}

.font-size-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
}

.font-size-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 160;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.top-center.visible {
  display: flex;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  position: relative;
}

/* Selected Node Info */
.selected-node-info {
  position: absolute;
  top: 60px;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  background: rgba(10,14,26,0.98);
  padding: 12px 20px;
  border-radius: 8px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 155;
  min-width: 250px;
}

.selected-node-info.visible {
  display: flex;
}

.node-name-display {
  color: #00ff88;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}

.node-icons-container {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.node-icon-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.node-icon-btn:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* Action Buttons */
.action-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
}

.action-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.action-btn:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.action-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.action-btn.success {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
}

/* Toggle Button */
.toggle-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  color: #ffffff;
  white-space: nowrap;
}

.toggle-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

.toggle-btn.active {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
}

/* Top Slide Panel */
.top-slide-panel {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 24px;
  z-index: 140;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-height: 50vh;
  overflow-y: auto;
}

.top-slide-panel.visible {
  transform: translateY(0);
}

.panel-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Date Picker */
.date-picker-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.date-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-input-label {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.date-input:focus {
  outline: none;
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.12);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-action-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
  flex: 1;
  min-width: 100px;
}

.quick-action-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.quick-action-btn.success {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
}

.quick-action-btn.warning {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: #000;
  border: none;
}

.quick-action-btn.danger {
  background: linear-gradient(135deg, #ff3366 0%, #ff0033 100%);
  color: #fff;
  border: none;
}

/* Editors */
.description-editor {
  width: 100%;
  min-height: 150px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  transition: all 0.2s;
}

.description-editor:focus {
  outline: none;
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.12);
}

.name-editor {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px;
  color: #ffffff;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
}

.name-editor:focus {
  outline: none;
  border-color: rgba(0,255,136,0.5);
  background: rgba(255,255,255,0.12);
}

.json-viewer {
  width: 100%;
  min-height: 200px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-family: 'Courier New', monospace;
  overflow: auto;
}

/* Mindmap SVG */
#ort-mindmap-svg {
  width: 100%;
  height: 100%;
  margin-top: 60px;
}

/* Controls Panel */
.controls-panel {
  position: absolute;
  top: 60px;
  right: 0;
  width: 25%;
  height: calc(100% - 60px);
  background: rgba(10,14,26,0.98);
  border-left: none;
  padding: 16px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.controls-panel.hidden {
  transform: translateX(100%);
}

.panel-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.control-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 3px 3px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 500;
  transition: all 0.2s;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.control-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,255,136,0.2);
}

.control-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.control-btn.success {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
}

.control-btn.warning {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: #000;
  border: none;
}

.controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-label {
  color: rgba(255,255,255,0.85);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.control-input {
  width: 100%;
}

.control-value {
  color: #00ff88;
  font-size: 7px;
  font-family: 'Courier New', monospace;
}

.section-title {
  color: #00ff88;
  font-weight: 600;
  font-size: 10px;
  margin-bottom: 8px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* ============================================================================
   VISUALIZATION STYLES - NOW SELF-CONTAINED
   ============================================================================
   The following styles have been moved to visualization/orthogonal-radial-tree.js
   to make the visualization completely self-contained:

   - .ort-node-group (previously .node-group)
   - .ort-node-line (previously .node-line)
   - .ort-node-circle (previously .node-circle)
   - .ort-node-text (previously .node-text)
   - .ort-node-desc (previously .node-desc)
   - .ort-node-duedate (previously .node-duedate)
   - .ort-link (previously .link)
   - .ort-cycle-link (previously .cycle-link)
   - .ort-label-text (previously .label-text)
   - .ort-center-node (previously .center-node)

   The visualization now injects its own CSS on first instantiation.
   This allows the visualization to be swapped with a different implementation
   without any CSS modifications required.
   ============================================================================ */

/* Range Input */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  height: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  cursor: pointer;
  border: none;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,255,136,0.95);
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,255,136,0.4);
}

.toast.visible {
  opacity: 1;
}

/* Due Date Displays */
.due-date-display {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,14,26,0.98);
  border-radius: 12px;
  padding: 16px 24px;
  z-index: 139;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 2px solid;
  min-width: 300px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.due-date-display.visible {
  opacity: 1;
  pointer-events: auto;
}

.due-date-display.Late {
  border-color: #ff3366;
}

.due-date-display.urgent {
  border-color: #ff6600;
}

.due-date-display.warning {
  border-color: #ffaa00;
}

.due-date-display.safe {
  border-color: #00ff88;
}

.due-date-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.due-date-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.due-date-time {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.due-date-relative {
  font-size: 12px;
  opacity: 0.8;
}

.next-due-display {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,14,26,0.98);
  border-radius: 12px;
  padding: 12px 20px;
  z-index: 99;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 2px solid #00ff88;
  min-width: 250px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.next-due-display.visible {
  opacity: 1;
}

.next-due-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.next-due-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #00ff88;
}

.next-due-time {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* Center Notification */
.center-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10,14,26,0.98);
  border-radius: 16px;
  padding: 32px 48px;
  z-index: 300;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 64px rgba(0,0,0,0.7);
  border: 3px solid;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  min-width: 400px;
}

.center-notification.visible {
  opacity: 1;
  pointer-events: auto;
}

.center-notification.Late {
  border-color: #ff3366;
}

.center-notification.urgent {
  border-color: #ff6600;
}

.center-notification.warning {
  border-color: #ffaa00;
}

.notification-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.notification-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.notification-message {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.notification-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.notification-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
}

.notification-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.notification-btn.primary {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
}

.notification-btn.warning {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: #000;
  border: none;
}

/* Due Badge */
.due-badge {
  position: fixed;
  top: 70px;
  right: 20px;
  background: linear-gradient(135deg, #ff3366 0%, #ff6600 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  z-index: 138;
  box-shadow: 0 4px 16px rgba(255,51,102,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.due-badge.visible {
  opacity: 1;
}

/* Test Button */
.test-btn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
  z-index: 110;
}

.test-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Welcome Modal */
.welcome-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10,14,26,0.98);
  border-radius: 16px;
  padding: 40px;
  z-index: 400;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 64px rgba(0,0,0,0.7);
  border: 3px solid #00ff88;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  min-width: 500px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
}

.welcome-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #00ff88;
}

.welcome-message {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.welcome-btn {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: 12px;
}

.welcome-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,255,136,0.4);
}

.test-error-list {
  text-align: left;
  background: rgba(255,51,102,0.1);
  border: 1px solid rgba(255,51,102,0.3);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
  max-height: 300px;
  overflow-y: auto;
}

.test-error-item {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #ff6666;
  margin-bottom: 8px;
  padding: 8px;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* Animations - visualization-specific animations moved to orthogonal-radial-tree.js */

/* ============================================================================
   CALENDAR PANEL STYLES
   ============================================================================ */

.calendar-panel {
  max-height: 80vh;
  overflow-y: auto;
}

.calendar-panel.visible {
  transform: translateY(0);
}

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

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.calendar-title {
  color: #00ff88;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-nav-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
}

.calendar-nav-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}

.calendar-month-year {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  min-width: 180px;
  text-align: center;
}

.calendar-close-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  color: #ffffff;
}

.calendar-close-btn:hover {
  background: rgba(255,68,68,0.3);
  border-color: rgba(255,68,68,0.5);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekday {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  min-height: 80px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.calendar-day:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.calendar-day.other-month {
  opacity: 0.3;
}

.calendar-day.today {
  border-color: #00ff88;
  background: rgba(0,255,136,0.1);
}

.calendar-day.has-tasks {
  border-color: rgba(102,126,234,0.5);
}

.calendar-day.has-overdue {
  border-color: rgba(255,51,102,0.5);
  background: rgba(255,51,102,0.05);
}

.calendar-day-number {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}

.calendar-day.today .calendar-day-number {
  color: #00ff88;
}

.calendar-day-tasks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.calendar-task {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(102,126,234,0.3);
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-task:hover {
  background: rgba(102,126,234,0.5);
  transform: scale(1.02);
}

.calendar-task.overdue {
  background: rgba(255,51,102,0.4);
}

.calendar-task.completed {
  background: rgba(0,255,136,0.3);
  text-decoration: line-through;
  opacity: 0.7;
}

.calendar-task-more {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2px;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.calendar-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

.calendar-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.calendar-legend-dot.today {
  background: #00ff88;
}

.calendar-legend-dot.scheduled {
  background: rgba(102,126,234,0.8);
}

.calendar-legend-dot.overdue {
  background: rgba(255,51,102,0.8);
}

.calendar-legend-dot.completed {
  background: rgba(0,255,136,0.5);
}

/* Calendar Day Detail Modal */
.calendar-day-detail {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  z-index: 200;
  min-width: 350px;
  max-width: 500px;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.calendar-day-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.calendar-day-detail-title {
  color: #00ff88;
  font-size: 18px;
  font-weight: 700;
}

.calendar-day-detail-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.calendar-day-detail-close:hover {
  color: #ff4444;
}

.calendar-day-detail-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-day-detail-task {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.calendar-day-detail-task:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,255,136,0.3);
}

.calendar-day-detail-task-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.calendar-day-detail-task-time {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.calendar-day-detail-task.overdue {
  border-color: rgba(255,51,102,0.3);
}

.calendar-day-detail-task.overdue .calendar-day-detail-task-name {
  color: #ff6666;
}

.calendar-day-detail-empty {
  text-align: center;
  color: rgba(255,255,255,0.4);
  padding: 24px;
  font-size: 13px;
}

/* Calendar overlay for day detail */
.calendar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 190;
}
