/* Modern Web Design System for shorten-da-thing */

:root {
  /* Colors */
  --bg-dark: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  
  --primary: #4A90E2;       /* Light Blue */
  --primary-hover: #357ABD;
  --secondary: #E94A4A;     /* Reddish */
  --secondary-hover: #D13434;
  --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  
  --text-main: #2D3748;
  --text-muted: #718096;
  --text-dark: #A0AEC0;
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --danger-border: rgba(239, 68, 68, 0.2);
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Glassmorphism Defaults */
  --backdrop-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Background Glowing Blobs */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s infinite alternate;
}

.blob-purple {
  background: var(--primary);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.blob-cyan {
  background: var(--secondary);
  bottom: -10%;
  right: -10%;
  animation-delay: 5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 30px) scale(1.1);
  }
  100% {
    transform: translate(-30px, -50px) scale(0.9);
  }
}

/* Typography and Gradients */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass panel */
.glass {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

/* Global utility classes */
.hidden {
  display: none !important;
}

/* Layout */
.app-layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

/* Main Header */
.main-header {
  text-align: center;
  margin-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  animation: pulse-glow 2s infinite alternate;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-text h1 {
  font-size: 32px;
  font-weight: 800;
}

.badge-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.panel-card {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.icon-glow {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

/* Forms & Inputs */
.shorten-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.field-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field-label .optional {
  text-transform: none;
  font-weight: 400;
  font-size: 11px;
  color: var(--text-dark);
}

.url-input-container, .alias-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.url-input-container:focus-within, .alias-input-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.input-icon {
  position: absolute;
  left: 18px;
  color: var(--text-dark);
  font-size: 16px;
}

.url-input-container input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 50px 16px 46px;
  font-size: 15px;
  color: var(--text-main);
  outline: none;
}

.btn-paste-shortcut {
  position: absolute;
  right: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-paste-shortcut:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: var(--border-hover);
}

/* Config Tabs */
.config-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(0, 0, 0, 0.15);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn i {
  font-size: 16px;
  margin-top: 2px;
  color: var(--text-dark);
  transition: color 0.3s;
}

.tab-label-group {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.tab-desc {
  font-size: 11px;
  color: var(--text-dark);
}

.tab-btn.active {
  background: var(--bg-dark);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active i {
  color: var(--primary);
}

.tab-btn.active[data-mode="local"] i {
  color: var(--secondary);
}

/* Alias Input Box */
.alias-input-container {
  padding-left: 18px;
}

.alias-prefix {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}

.alias-input-container input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 16px 16px 4px;
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  font-weight: 600;
}

.options-drawer {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.field-help {
  font-size: 11px;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

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

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

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

.btn-danger-outline {
  background: transparent;
  border: 1px solid var(--danger-border);
  color: var(--danger);
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-danger-outline:hover {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.btn-icon-only {
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
}

/* Result Box */
.result-divider {
  height: 1px;
  background: var(--border-color);
  margin: 24px 0;
}

.result-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.result-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-success-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-outline {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(168, 85, 247, 0.05);
}

.short-url-display-container {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.short-url-display-container input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
  outline: none;
}

.result-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.original-url-label {
  font-size: 11px;
  color: var(--text-dark);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.original-url-preview {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  transition: color 0.2s;
}

.original-url-preview:hover {
  color: var(--secondary);
}

.original-url-preview i {
  font-size: 10px;
  margin-left: 2px;
}

/* History Panel Styling */
.history-panel {
  display: flex;
  flex-direction: column;
  height: 520px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.history-header .section-title {
  margin-bottom: 0;
}

.counter-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: var(--text-muted);
}

.history-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.search-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dark);
  font-size: 14px;
}

.search-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px 10px 38px;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.search-wrapper input:focus {
  border-color: var(--border-hover);
}

.history-list-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Empty state */
.empty-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.empty-state p {
  font-size: 12.5px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Table styling */
.table-responsive {
  width: 100%;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.history-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.08);
}

.history-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Link item cell details */
.link-details-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 250px;
}

.row-short-url {
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.row-short-url:hover {
  text-decoration: underline;
}

.row-original-url {
  color: var(--text-dark);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.row-original-url:hover {
  color: var(--text-muted);
}

/* Type Cell */
.type-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.type-badge.portable {
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.type-badge.local {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Clicks Cell */
.clicks-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.clicks-indicator i {
  font-size: 12px;
  color: var(--text-dark);
}

/* Action Cell buttons */
.row-actions-container {
  display: flex;
  gap: 6px;
}

.btn-action {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-action:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.btn-action.btn-delete:hover {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--danger);
}

/* Column limits */
.col-type, .col-clicks {
  width: 100px;
}
.col-actions {
  width: 140px;
}

@media (max-width: 600px) {
  .col-type, .col-clicks {
    display: none;
  }
}

/* Redirection Screen Details */
.redirection-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.redirect-card {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.redirect-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.brand-logo.mini h1 {
  font-size: 24px;
}

.redirect-status {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Circular countdown */
.countdown-circle {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-bar {
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

.countdown-value {
  position: absolute;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: white;
}

.redirect-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.redirect-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.url-preview-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
}

.url-preview-box i {
  font-size: 14px;
  flex-shrink: 0;
}

.url-preview-box span {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.redirect-security-note {
  font-size: 11px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.redirect-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.redirect-actions .btn {
  flex: 1;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.modal-container {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.modal-header h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
}

.scrollable-body {
  max-height: 350px;
  overflow-y: auto;
}

.modal-body h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.1);
}

/* QR Code specific layout */
.qr-container-box {
  width: 200px;
  height: 200px;
  background: white;
  border-radius: var(--radius-md);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.qr-container-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-info-text {
  text-align: center;
  font-size: 12px !important;
  color: var(--text-dark) !important;
  margin-bottom: 16px !important;
}

.qr-url-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 500;
  word-break: break-all;
}

/* Info blocks for Help modal */
.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.info-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.info-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.info-text h5 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.info-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.security-banner {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.security-banner i {
  color: var(--success);
  font-size: 20px;
  margin-top: 2px;
}

.security-banner h5 {
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.security-banner p {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border-color);
  backdrop-filter: var(--backdrop-blur);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  pointer-events: auto;
  min-width: 250px;
  justify-content: center;
}

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

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

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

/* Footer Styling */
.app-footer {
  text-align: center;
  z-index: 1;
  flex-shrink: 0;
}

.footer-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-dark);
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-muted);
}

.footer-links .separator {
  color: rgba(255,255,255,0.05);
}

.copyright {
  color: var(--text-dark);
  font-size: 11px;
}

/* Animations */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
  }
  100% {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-down {
  animation: slideDown 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-zoom-in {
  animation: zoomIn 0.25s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { max-height: 0; opacity: 0; }
  to { max-height: 120px; opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
