/* Widget Button Styles */
.widget-btn {
  padding: 12px 24px;
  border: 2px solid var(--terminal-border);
  background: rgba(13, 17, 23, 0.8);
  color: var(--text-primary);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.widget-btn:hover {
  background: rgba(13, 17, 23, 0.95);
  border-color: var(--cyber-green);
  color: var(--cyber-green);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow-green);
}

.widget-btn:active {
  transform: translateY(0);
}

.widget-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Demo Actions Section */
.demo-actions {
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--terminal-border);
}

.demo-actions h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

/* Log Output */
.log-output {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  max-height: 200px;
  overflow-y: auto;
}

.log-output div {
  margin-bottom: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.error { color: #fca5a5; }
.warning { color: #fde047; }
.info { color: #67e8f9; }
.success { color: #6ee7b7; }

/* Status Badges */
.status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.status-active {
  background: #6ee7b7;
  color: #000;
}

.status-inactive {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Screenshot Styles */
.screenshot-container {
  margin: 20px 0;
  text-align: center;
}

.screenshot-thumbnail {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.screenshot-thumbnail:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.02);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.screenshot-caption {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.8;
  font-style: italic;
}

/* Screenshot Modal */
.screenshot-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.screenshot-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.screenshot-modal-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.screenshot-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.screenshot-close:hover,
.screenshot-close:focus {
  color: #fde047;
}