:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141c;
  --bg-glass: rgba(18, 20, 28, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(0, 242, 254, 0.3);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --accent-cyan: #00f2fe;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 30px;
}

/* Base resets and setups */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
}

.glow-1 {
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.glow-2 {
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
}

/* Core Layout */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* Header styling */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.logo-text h1 {
  font-size: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-top: -2px;
}

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

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.02);
}

.status-pill.connected {
  border-color: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  background-color: rgba(16, 185, 129, 0.05);
}

.status-pill.disconnected {
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  background-color: rgba(239, 68, 68, 0.05);
}

.status-pill.file-status {
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.connected .status-dot {
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.disconnected .status-dot {
  background-color: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

.file-status .status-dot {
  background-color: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Header buttons and actions */
.header-actions {
  display: flex;
  gap: 12px;
}

/* General Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
}

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

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-action {
  background-color: rgba(0, 242, 254, 0.03);
  border: 1px dashed var(--border-color-glow);
  color: var(--accent-cyan);
  padding: 14px;
  border-radius: var(--radius-md);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background-color: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
  transform: scale(1.01);
}

.shortcut-desc {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
}

.icon {
  width: 16px;
  height: 16px;
}

/* Workspace Layout */
.app-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  flex: 1;
}

/* Panel Containers */
.panel {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.panel-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.panel-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.badge {
  background-color: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Right Column Panels */
.operations-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.sub-panel {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Tree Navigation Styling */
.hierarchy-tree {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Loading / Empty States */
.loading-state, .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-secondary);
  gap: 14px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 242, 254, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent-cyan);
  animation: spin 1s linear infinite;
}

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

/* Tree Level 1 */
.l1-node {
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.l1-node:focus-within, .l1-node:hover {
  border-color: rgba(0, 242, 254, 0.2);
}

.l1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  gap: 16px;
}

.l1-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.l1-icon-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.l1-node.collapsed .l1-icon-chevron {
  transform: rotate(-90deg);
}

.l1-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.l1-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.l1-body {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.l1-body.dragover-l2 {
  outline: 2px dashed rgba(139, 92, 246, 0.3);
  outline-offset: -4px;
  background-color: rgba(139, 92, 246, 0.02);
}

@media (max-width: 1400px) {
  .l1-body {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .l1-body {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .l1-body {
    grid-template-columns: 1fr;
  }
}

.l1-node.collapsed .l1-body {
  display: none;
}

/* Tree Level 2 */
.l2-node {
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 14px;
}

.l2-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.l2-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-purple);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.l2-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* Tree Level 3 */
.l3-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 20px; /* Important for drag and drop dropzone */
}

.l3-node {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  user-select: none;
  gap: 12px;
}

.l3-node.dragging {
  opacity: 0.4;
  border-color: var(--accent-cyan);
  background-color: rgba(0, 242, 254, 0.05);
}

.l2-node.dragging-l2 {
  opacity: 0.4;
  border-color: var(--accent-purple);
  background-color: rgba(139, 92, 246, 0.05);
}

.l3-node:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(2px);
}

.l3-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.drag-handle {
  cursor: grab;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.drag-handle:active {
  cursor: grabbing;
}

.l3-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.l3-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Reorder and Delete Buttons */
.btn-icon-sm {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-sm:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-icon-sm.delete:hover {
  background-color: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-icon-sm svg {
  width: 14px;
  height: 14px;
}

/* Text Colors */
.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-green { color: var(--accent-green); }
.w-full { width: 100%; }
.mb-3 { margin-bottom: 12px; }
.mt-4 { margin-top: 16px; }
.hidden { display: none !important; }

/* Log Console (Terminal) */
.logs-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.terminal-body {
  background-color: #07080a;
  border: 1px solid rgba(255, 255, 255, 0.03);
  margin: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 16px;
  font-family: 'Fira Code', monospace;
  font-size: 12px;
  min-height: 240px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
}

.terminal-stdout {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-line {
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}

.log-line.system { color: var(--text-muted); }
.log-line.info { color: #60a5fa; }
.log-line.success { color: #34d399; }
.log-line.error { color: #f87171; }
.log-line.warn { color: #fbbf24; }

.btn-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-clear:hover {
  color: var(--text-secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Modals Overlay & Box */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-lg {
  max-width: 720px;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

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

.modal-header h3 {
  font-size: 16px;
  color: var(--text-primary);
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.btn-close-modal:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .modal-split {
    grid-template-columns: 1fr;
  }
  .app-workspace {
    grid-template-columns: 1fr;
  }
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background-color: rgba(0, 0, 0, 0.4);
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Toggle Switch Control */
.toggle-group {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-md);
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.toggle-label {
  font-size: 13px;
}

.toggle-description {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border: 1px solid var(--border-color);
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}

input:checked + .slider {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

input:focus + .slider {
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

input:checked + .slider:before {
  transform: translateX(16px);
  background-color: #000;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Image Dropzone Upload */
.image-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.image-dropzone:hover, .image-dropzone.dragover {
  border-color: var(--accent-cyan);
  background-color: rgba(0, 242, 254, 0.02);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dropzone-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
}

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

.dropzone-text strong {
  color: var(--accent-cyan);
}

.dropzone-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.dropzone-preview {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropzone-preview img {
  max-width: 100%;
  max-height: 100px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.btn-remove-preview {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Spinner inside button */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}

.toast {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 250px;
}

.toast.success {
  border-left: 4px solid var(--accent-green);
}

.toast.error {
  border-left: 4px solid var(--accent-red);
}

.toast.info {
  border-left: 4px solid var(--accent-cyan);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(10px); }
}

/* Login Overlay CSS */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.login-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.login-box {
  background: rgba(18, 18, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.login-logo {
  margin-bottom: 30px;
}

.login-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.15em;
  display: block;
}

.login-logo .logo-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-purple);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.login-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.login-intro {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.login-box .form-group {
  margin-bottom: 24px;
  text-align: left;
}

.login-box .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.login-box .form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: white;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.login-box .form-group input:focus {
  border-color: var(--accent-purple);
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.btn-login {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #6D28D9 100%);
  border: none;
  margin-top: 8px;
}

.btn-login:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
