@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap);
/* Dynamic Theme System */

:root {
  /* Theme Variables - Dynamically set by ThemeProvider */
  --primary-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  --secondary-bg: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  --accent-neon: #ff0080;
  --accent-cyan: #00ffff;
  --accent-purple: #8000ff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: #333333;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --metallic: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0);
  --glow-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
  --glow-shadow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);

  /* Font Variables */
  --font-primary: 'Rajdhani', 'Orbitron', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Orbitron', sans-serif;
  --font-mono: 'Orbitron', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--primary-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}



code {
  font-family: var(--font-mono);
  background: rgba(0, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Futuristic Grid Background */
.futuristic-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 0, 128, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -2;
  opacity: 0.3;
}

/* Animated Elements */
@keyframes pulse-neon {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 128, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 30px rgba(255, 0, 128, 0.6); }
}

@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.6); }
}

@keyframes slide-in {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Retrowave Italian Futurist Application Styles */

.App {
  min-height: 100vh;
  background: var(--primary-bg);
  position: relative;
}

.app-body {
  display: flex;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  position: relative;
}

.futuristic-sidebar {
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 30px;
  overflow-y: auto;
  position: relative;
  background: var(--primary-bg);
  min-height: calc(100vh - 80px);
  transition: margin-left 0.3s ease;
}

.main-content.sidebar-closed {
  margin-left: 60px;
}

/* Page Headers - Futuristic Typography */
.page-header {
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--primary-bg);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-neon);
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
  position: relative;
}

.page-title::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-cyan));
  box-shadow: 0 0 10px var(--accent-neon);
}

/* Enhanced Card Styling */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-neon), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--accent-cyan);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-content {
  color: var(--text-primary);
  line-height: 1.6;
}

.page-subtitle {
  color: var(--text-secondary);
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Cards - Geometric Futuristic Design */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 128, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover {
  border-color: var(--accent-neon) !important;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 128, 0.3) !important;
}

.card-header {
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Buttons - Futuristic Design */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-neon), #ff3399);
  color: white;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #ff3399, var(--accent-neon));
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(45deg, #666666, #999999);
  color: white;
  border: 1px solid #888;
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #999999, #cccccc);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-success {
  background: linear-gradient(45deg, #00ff88, #00cc66);
  color: white;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-success:hover {
  background: linear-gradient(45deg, #00cc66, #00ff88);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.btn-danger {
  background: linear-gradient(45deg, #ff4444, #cc0000);
  color: white;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(45deg, #cc0000, #ff4444);
  box-shadow: 0 0 30px rgba(255, 68, 68, 0.5);
}

/* Tables - Futuristic Grid */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  table-layout: fixed;
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
}

.table th {
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(128, 0, 255, 0.1));
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.table tbody tr:hover {
  background: rgba(255, 0, 128, 0.05);
  box-shadow: inset 0 0 10px rgba(255, 0, 128, 0.1);
}

/* Status Badges - Neon Glow */
.status-badge {
  padding: 6px 12px;
  border-radius: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  border-radius: 3px;
}

.status-open {
  background: linear-gradient(45deg, #0066ff, #0099ff);
  color: white;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.status-in_progress {
  background: linear-gradient(45deg, #ff8800, #ffaa00);
  color: white;
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.4);
}

.status-closed,
.status-resolved {
  background: linear-gradient(45deg, #00ff88, #00cc66);
  color: white;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

/* Priority Badges */
.priority-low {
  background: linear-gradient(45deg, #8000ff, #aa00ff);
  color: white;
  box-shadow: 0 0 15px rgba(128, 0, 255, 0.4);
}

.priority-medium {
  background: linear-gradient(45deg, #ff8800, #ffaa00);
  color: white;
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.4);
}

.priority-high,
.priority-critical {
  background: linear-gradient(45deg, #ff4444, #ff6666);
  color: white;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
  font-weight: bold;
}

/* Forms - Futuristic Input Design */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow:
    0 0 20px rgba(255, 0, 128, 0.3),
    inset 0 0 20px rgba(255, 0, 128, 0.1);
  background: rgba(255, 0, 128, 0.05);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

/* Custom Checkbox Styling */
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
  white-space: nowrap;
}

.form-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.03);
}

.form-checkbox {
  cursor: pointer;
  margin: 0;
}

.form-checkbox-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

/* Messages */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--accent-cyan);
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.error {
  background: linear-gradient(45deg, rgba(255, 68, 68, 0.1), rgba(255, 0, 0, 0.05));
  color: #ff6666;
  padding: 15px;
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.success {
  background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
  color: #66ff88;
  padding: 15px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* Kanban Board Styles */
.kanban-board {
  margin-top: 25px;
}

.kanban-header {
  margin-bottom: 20px;
}

.kanban-swimlanes {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.kanban-swimlane-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 0, 128, 0.1);
  border-radius: 12px;
  padding: 15px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(255, 0, 128, 0.05);
}

/* React Select Styles */
.react-select-container {
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

.react-select__control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 0, 128, 0.3) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.1) !important;
  min-height: 38px !important;
}

.react-select__control:hover {
  border-color: rgba(255, 0, 128, 0.5) !important;
}

.react-select__control--is-focused {
  border-color: #ff0080 !important;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.3) !important;
}

.react-select__menu {
  background: rgba(20, 20, 30, 0.95) !important;
  border: 1px solid rgba(255, 0, 128, 0.3) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999 !important;
}

.react-select__option {
  color: #ffffff !important;
  background: transparent !important;
  padding: 10px 12px !important;
}

.react-select__option:hover {
  background: rgba(255, 0, 128, 0.1) !important;
}

.react-select__option--is-selected {
  background: rgba(255, 0, 128, 0.2) !important;
}

.react-select__multi-value {
  background: rgba(255, 0, 128, 0.2) !important;
  border-radius: 4px !important;
}

.react-select__multi-value__label {
  color: #ffffff !important;
}

.react-select__multi-value__remove:hover {
  background: rgba(255, 0, 128, 0.3) !important;
}

/* Make single-value look like the multi-value chip for visual parity */
.react-select__single-value {
  color: #ffffff !important;
  background: rgba(255, 0, 128, 0.2) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  line-height: 1.6 !important;
}

.kanban-swimlane-header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 0, 128, 0.2);
}

.kanban-assignee-main {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-neon);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kanban-issue-count-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
}

.kanban-swimlane-columns {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.kanban-column {
  flex: 0 0 280px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(5px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(0, 255, 255, 0.1);
}

.kanban-column-header {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kanban-column-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 3px;
}

.kanban-column-count {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
}

.kanban-column-content {
  padding: 8px;
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.kanban-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: move;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.kanban-card:hover {
  border-color: var(--accent-cyan);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

.kanban-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.kanban-card-id {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.kanban-card-priority {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
}

.kanban-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.kanban-card-description {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
}

.kanban-card-reporter {
  font-weight: 600;
}

.kanban-card-date {
  opacity: 0.8;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 128, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header h2 {
  margin: 0;
  color: var(--accent-neon);
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.1);
}

.modal-body {
  padding: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 128, 0.3);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-neon), var(--accent-purple));
  color: white;
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-cyan);
}

.btn-small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-small.danger {
  background: rgba(255, 68, 68, 0.2);
  color: #ff6666;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.btn-small.danger:hover {
  background: rgba(255, 68, 68, 0.3);
  border-color: #ff6666;
}

.error-message {
  background: rgba(255, 68, 68, 0.1);
  color: #ff6666;
  padding: 12px 15px;
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 6px;
  margin-bottom: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
}

/* Page Styles */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title-section {
  flex: 1;
}

.page-actions {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.page-header-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

.page-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(0, 255, 255, 0.1);
}

.edit-mode {
  border: 2px dashed rgba(255, 0, 128, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.edit-toolbar {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 128, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.edit-toolbar h3 {
  margin: 0;
  color: var(--accent-cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.widget-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.edit-widget {
  border: 2px solid rgba(255, 0, 128, 0.3);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 0, 128, 0.2);
}

.widget-header span {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
}

.empty-state p {
  margin: 10px 0;
}

.error-container {
  text-align: center;
  padding: 60px 20px;
}

.error-container h2 {
  color: var(--accent-neon);
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.error-container p {
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
}

/* Create Page Button */
.create-page-btn {
  background: linear-gradient(45deg, var(--accent-neon), var(--accent-purple));
  color: white;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
  transition: all 0.3s ease;
}

.create-page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.5);
}

/* Sitemap Styles */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.sitemap-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.sitemap-section:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

.sitemap-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.section-icon {
  font-size: 24px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.sitemap-section-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.sitemap-link:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.3);
  transform: translateX(4px);
  color: var(--accent-cyan);
}

.sitemap-link-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sitemap-link-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.sitemap-link-description {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.sitemap-link-arrow {
  font-size: 18px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.sitemap-link:hover .sitemap-link-arrow {
  transform: translateX(4px);
}

.sitemap-footer {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 12px;
}

.sitemap-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.stat-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* Billing Styles */
.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.billing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.billing-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
}

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

.billing-card-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.small {
  padding: 2px 8px;
  font-size: 10px;
}

.subscription-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

.info-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.invoices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.invoice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.invoice-item:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.3);
}

.invoice-info {
  flex: 1;
}

.invoice-description {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.invoice-meta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
}

.invoice-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.amount {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.billing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.billing-actions .btn {
  justify-content: flex-start;
  gap: 12px;
}

.btn-icon {
  font-size: 16px;
}

/* Sales Workflow Styles */
.workflow-container {
  max-width: 100%;
  margin-bottom: 40px;
}

.workflow-section {
  margin-bottom: 40px;
}

.workflow-section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.workflow-entry-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.workflow-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.workflow-exit-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.workflow-exit-branch {
  width: 100%;
  max-width: 500px;
}

.workflow-node {
  background: var(--card-bg);
  border: 2px solid var(--accent-cyan);
  border-radius: 12px;
  padding: 20px;
  min-width: 200px;
  text-align: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.workflow-node:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2);
  border-color: var(--accent-neon);
}

.node-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.node-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: var(--accent-cyan);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.node-content p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.node-details {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.entry-node {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.1), rgba(0, 255, 255, 0.05));
}

.entry-node .node-content h3 {
  color: var(--accent-green);
}

.process-node {
  border-color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(128, 0, 255, 0.05));
}

.decision-node {
  border-color: var(--accent-yellow);
  background: linear-gradient(135deg, rgba(255, 255, 0, 0.1), rgba(255, 128, 0, 0.05));
}

.decision-node .node-content h3 {
  color: var(--accent-yellow);
}

.success-node {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, rgba(0, 255, 128, 0.15), rgba(0, 255, 255, 0.1));
}

.success-node .node-content h3 {
  color: var(--accent-green);
}

.failure-node {
  border-color: var(--accent-red);
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.15), rgba(255, 0, 255, 0.1));
}

.failure-node .node-content h3 {
  color: var(--accent-red);
}

.workflow-connector {
  font-size: 24px;
  color: var(--accent-cyan);
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.workflow-connector-vertical {
  font-size: 18px;
  color: var(--accent-cyan);
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

.workflow-arrow {
  text-align: center;
  font-size: 36px;
  color: var(--accent-cyan);
  margin: 20px 0;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.workflow-legend {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
}

.workflow-legend h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: var(--accent-cyan);
  text-align: center;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legend-items {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.legend-color.entry {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
}

.legend-color.process {
  background: linear-gradient(135deg, var(--accent-cyan), rgba(128, 0, 255, 0.5));
}

.legend-color.decision {
  background: linear-gradient(135deg, var(--accent-yellow), rgba(255, 128, 0, 0.5));
}

.legend-color.success {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
}

.legend-color.failure {
  background: linear-gradient(135deg, var(--accent-red), rgba(255, 0, 255, 0.5));
}

.legend-item span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .card {
    padding: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .kanban-swimlane-columns {
    flex-direction: column;
  }

  .kanban-column {
    flex: none;
    width: 100%;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .page-widgets {
    grid-template-columns: 1fr;
  }

  .edit-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .widget-buttons {
    justify-content: center;
  }
}

/* Loading Screen Styles */
.loading-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
}

.loading-content {
  text-align: center;
}

.loading-title {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

.loading-subtitle {
  font-size: 18px;
  opacity: 0.8;
  font-family: 'Rajdhani', sans-serif;
}

/* Login Page Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
}

.login-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 255, 0.1);
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.login-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: center;
}

.login-title-everything {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.login-title-3 {
  color: #ff0080;
  text-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 40px rgba(255, 0, 128, 0.6), 0 0 60px rgba(255, 0, 128, 0.4);
  animation: pulse-neon 2s ease-in-out infinite alternate;
}

.login-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.05), transparent);
  animation: rotate 3s linear infinite;
  pointer-events: none;
}

.login-input-group {
  margin-bottom: 20px;
}

.login-label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.login-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.3), inset 0 0 20px rgba(255, 0, 128, 0.1);
  background: rgba(255, 0, 128, 0.05);
}

.login-button {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(45deg, var(--accent-neon), #ff3399);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-button:hover {
  background: linear-gradient(45deg, #ff3399, var(--accent-neon));
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.6);
  transform: translateY(-2px);
}

.login-error {
  background-color: rgba(255, 0, 128, 0.1);
  color: #ff0080;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
}

@keyframes pulse-neon {
  from {
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 40px rgba(255, 0, 128, 0.6), 0 0 60px rgba(255, 0, 128, 0.4);
  }
  to {
    text-shadow: 0 0 30px rgba(255, 0, 128, 1), 0 0 50px rgba(255, 0, 128, 0.8), 0 0 80px rgba(255, 0, 128, 0.6);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Futuristic Header Styling */

.futuristic-header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 19, 62, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--accent-cyan);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: visible;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 128, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
  position: relative;
}

.sidebar-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 20px;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.logo-section {
  position: relative;
}

.brand-link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brand-link:hover .brand-title {
  transform: scale(1.05);
}

.brand-link:hover .brand-glow {
  animation: rotate 1.5s linear infinite;
}

.brand-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand-main {
  color: var(--text-primary);
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3);
}

.brand-accent {
  color: var(--accent-neon);
  text-shadow:
    0 0 20px rgba(255, 0, 128, 0.8),
    0 0 40px rgba(255, 0, 128, 0.6),
    0 0 60px rgba(255, 0, 128, 0.4);
  animation: pulse-neon 2s ease-in-out infinite alternate;
}

.brand-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  animation: rotate 3s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.database-selector {
  margin-left: 40px;
  position: relative;
}

.database-selector-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--accent-cyan);
  border-radius: 20px;
  padding: 6px 12px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.1),
    inset 0 0 20px rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.database-selector-wrapper:hover {
  border-color: var(--accent-neon);
  box-shadow:
    0 0 30px rgba(255, 0, 128, 0.2),
    inset 0 0 30px rgba(255, 0, 128, 0.1);
  transform: translateY(-2px);
}

.database-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.database-select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  outline: none;
  appearance: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  position: relative;
}

.database-select:hover {
  color: var(--accent-neon);
  text-shadow: 0 0 10px rgba(255, 0, 128, 0.8);
}

.database-select:focus {
  color: var(--accent-neon);
  text-shadow: 0 0 15px rgba(255, 0, 128, 1);
}

.database-select option {
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  padding: 4px;
}

.database-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 128, 0.1), rgba(0, 255, 255, 0.1));
  border-radius: 22px;
  animation: rotate 4s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 25px;
}

.user-info {
  text-align: right;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
}

.welcome-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  align-self: flex-end;
  line-height: 1;
}

.user-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  align-self: flex-end;
  line-height: 1;
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 2px;
  font-size: 18px;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
  line-height: 0.73;
  align-self: flex-end;
}

.user-info:hover .dropdown-arrow {
  color: var(--accent-neon);
  transform: scale(1.1);
}



.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 46, 0.98) 50%, rgba(22, 19, 62, 0.95) 100%);
  border: 2px solid var(--accent-cyan);
  border-radius: 8px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 0, 128, 0.1);
  min-width: 160px;
  z-index: 10000;
  overflow: hidden;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(0, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.dropdown-icon {
  font-size: 16px;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background: var(--accent-cyan);
  margin: 4px 0;
  opacity: 0.3;
}

.logout-item:hover {
  background: rgba(255, 68, 68, 0.1);
  color: #ff6666;
}

/* Animated Background Elements */
.header-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 255, 0.03) 2px,
      rgba(0, 255, 255, 0.03) 4px
    );
  pointer-events: none;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.header-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 0, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .futuristic-header {
    height: 70px;
    padding: 0 20px;
  }

  .brand-title {
    font-size: 22px;
  }

  .user-section {
    gap: 15px;
  }

  .user-info {
    gap: 10px;
  }

  .user-name {
    font-size: 14px;
  }

  .welcome-text {
    font-size: 9px;
  }

  .dropdown-arrow {
    font-size: 16px;
    margin-left: 1px;
  }
}
/* Futuristic Sidebar Styling */

.futuristic-sidebar {
  width: 280px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-right: 2px solid var(--accent-purple);
  height: calc(100vh - 80px);
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  box-shadow:
    4px 0 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(128, 0, 255, 0.1);
  transition: width 0.3s ease;
}

.futuristic-sidebar.closed {
  width: 60px;
}

.futuristic-sidebar.closed .nav-text {
  display: none;
}

.futuristic-sidebar.closed .accordion-arrow {
  display: none;
}

.futuristic-sidebar.closed .sidebar-decoration {
  display: none;
}

.futuristic-sidebar.closed .nav-submenu {
  margin-left: 0;
}

.futuristic-sidebar.closed .accordion-item {
  display: none;
}

.futuristic-sidebar.closed .nav-indicator {
  display: none;
}

.futuristic-sidebar.closed .create-page-btn {
  justify-content: center;
  padding: 12px 10px;
  border: none;
}

.futuristic-sidebar.closed .sidebar-toggle-container {
  justify-content: center;
  padding: 10px 5px;
}

.sidebar-content {
  padding: 30px 0;
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-nav {
  margin-bottom: 40px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 5px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-link:hover {
  color: var(--accent-cyan);
  background: rgba(0, 255, 255, 0.05);
  transform: translateX(5px);
}

.nav-link.active {
  color: var(--accent-neon);
  background: linear-gradient(90deg, rgba(255, 0, 128, 0.1), rgba(128, 0, 255, 0.1));
  box-shadow:
    inset 0 0 20px rgba(255, 0, 128, 0.2),
    0 0 20px rgba(255, 0, 128, 0.3);
}

.nav-link.active .nav-indicator {
  width: 6px;
  background: linear-gradient(180deg, var(--accent-neon), var(--accent-purple));
  box-shadow: 0 0 10px var(--accent-neon);
}

.nav-icon {
  position: relative;
  margin-right: 15px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-emoji {
  font-size: 18px;
  z-index: 1;
  position: relative;
}

.icon-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover .icon-glow,
.nav-link.active .icon-glow {
  opacity: 1;
  animation: pulse-cyan 1.5s ease-in-out infinite;
}

.nav-text {
  flex: 1;
  position: relative;
}

.nav-indicator {
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 15px;
}

.accordion-arrow {
  font-size: 10px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

/* Accordion Styles */
.accordion-btn {
  background: rgba(0, 255, 255, 0.05) !important;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--accent-cyan) !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-btn:hover {
  background: rgba(0, 255, 255, 0.15) !important;
  border-color: rgba(0, 255, 255, 0.4);
  transform: none !important;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.accordion-btn.expanded {
  background: rgba(0, 255, 255, 0.1) !important;
  border-color: rgba(0, 255, 255, 0.3);
}

.accordion-btn .accordion-arrow {
  color: var(--accent-cyan);
  font-weight: bold;
}

.nav-submenu {
  margin-left: 20px;
  margin-bottom: 2px;
}

.nav-submenu .nav-link {
  padding: 12px 25px;
  font-size: 13px;
  opacity: 0.9;
}

.nav-submenu .nav-link:hover {
  transform: translateX(3px);
}

.nav-sub-submenu {
  margin-left: 30px;
}

.nav-sub-submenu .nav-link {
  padding: 10px 25px;
  font-size: 12px;
  opacity: 0.8;
}

.nav-sub-submenu .nav-link:hover {
  transform: translateX(2px);
}

/* Sidebar Decorations */
.sidebar-decoration {
  padding: 0 25px;
}

.circuit-lines {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.circuit-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  position: relative;
  overflow: hidden;
}



/* Background Elements */
.sidebar-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(128, 0, 255, 0.02) 3px,
      rgba(128, 0, 255, 0.02) 6px
    );
  pointer-events: none;
  z-index: 1;
}

.sidebar-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(128, 0, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 128, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.2;
  z-index: 1;
}

/* Create Page Button */
.create-page-btn {
  transition: all 0.3s ease;
  border: none;
}

.create-page-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Sidebar Toggle */
.sidebar-toggle-container {
  flex-shrink: 0;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sidebar-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 16px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.sidebar-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .futuristic-sidebar {
    width: 100%;
    height: auto;
    min-height: auto;
    border-right: none;
    border-bottom: 2px solid var(--accent-purple);
  }

  .sidebar-content {
    padding: 20px 0;
  }

  .nav-link {
    padding: 12px 20px;
    font-size: 13px;
  }

  .nav-icon {
    margin-right: 12px;
  }
}

.sidebar-actions {
  padding: 20px 25px 0;
  border-top: 1px solid rgba(128, 0, 255, 0.3);
  margin-top: 20px;
}

.sidebar-actions .nav-link {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border: 1px solid rgba(128, 0, 255, 0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-actions .nav-link:hover {
  background: linear-gradient(135deg, rgba(128, 0, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
.user-profile {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.back-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.profile-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 300;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-avatar-section {
  display: flex;
  justify-content: center;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #667eea;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.profile-avatar-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: bold;
  color: white;
  border: 3px solid currentColor;
  box-shadow: 0 0 30px currentColor;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-value {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.4;
}

.profile-description {
  white-space: pre-wrap;
  max-width: 500px;
}

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

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #555;
}

.color-name {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  text-transform: uppercase;
}

.department-name {
  font-weight: 600;
  color: #4ade80;
}

.department-description {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-top: 4px;
  font-style: italic;
}

.user-profile-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #ffffff;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #333;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.user-profile-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #ffffff;
  text-align: center;
}

.user-profile-error h2 {
  color: #ff6b6b;
  margin-bottom: 20px;
  font-size: 2rem;
}

.user-profile-error p {
  color: #b0b0b0;
  margin-bottom: 30px;
  max-width: 400px;
}

.btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

/* Responsive design */
@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-avatar-section {
    order: -1;
  }

  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .profile-header h1 {
    font-size: 2rem;
  }

  .profile-avatar,
  .profile-avatar-placeholder {
    width: 120px;
    height: 120px;
  }
}
.messages-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unread-badge {
  background: var(--accent-red);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.messages-container {
  display: flex;
  height: calc(100vh - 200px);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.messages-sidebar {
  width: 350px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-cyan);
}

.messages-list {
  flex: 1;
  overflow-y: auto;
}

.message-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background-color 0.2s;
}

.message-item:hover {
  background: var(--bg-hover);
}

.message-item.selected {
  background: var(--accent-cyan-light);
}

.message-item.unread {
  background: rgba(0, 123, 191, 0.05);
  border-left: 3px solid var(--accent-cyan);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.message-sender {
  font-weight: 600;
  color: var(--text-primary);
}

.message-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.message-subject {
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.message-preview {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.message-view {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.message-content {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}

.message-content-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.message-content-header h3 {
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.message-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.message-body {
  line-height: 1.6;
  color: var(--text-primary);
}

.message-body p {
  margin: 0 0 10px 0;
}

.empty-message-view {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  font-style: italic;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-cyan-dark);
}

.btn-primary:disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-sm {
  padding: 4px 8px;
  font-size: 12px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
}

/* Recipient Selector Styles */
.recipient-selector {
  margin-bottom: 15px;
}

.selected-recipients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  min-height: 32px;
  padding: 4px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-primary);
}

.recipient-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: 16px;
  font-size: 14px;
}

.remove-recipient {
  background: none;
  border: none;
  color: var(--bg-primary);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  margin-left: 4px;
}

.remove-recipient:hover {
  opacity: 0.8;
}

.recipient-input-container {
  position: relative;
}

.recipient-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.recipient-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.recipient-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: var(--bg-primary);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recipient-option {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recipient-option:hover {
  background: var(--bg-secondary);
}

.recipient-option:last-child {
  border-bottom: none;
}

.recipient-email {
  font-size: 12px;
  color: var(--text-secondary);
}

.no-results {
  padding: 8px 12px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Message Actions */
.message-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
