@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #0a0b10;
  --bg-secondary: #12131a;
  --bg-card: rgba(25, 27, 38, 0.65);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --secondary-gradient: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --warning-gradient: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
  --info-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);

  --color-todo: #ff4757;
  --color-progress: #54a0ff;
  --color-review: #feca57;
  --color-done: #1dd1a1;
  
  --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);
  --shadow-neon-primary: 0 0 15px rgba(0, 242, 254, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Sarabun', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 10% 10%, rgba(127, 0, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(0, 242, 254, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
}

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

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* Header and Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-neon-primary);
  color: #000;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
}

.controls-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Role Switcher Button Group */
.role-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.role-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: calc(var(--radius-md) - 2px);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-btn.active {
  background: var(--primary-gradient);
  color: #0b0c10;
  box-shadow: var(--shadow-neon-primary);
}

.role-btn:not(.active):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* User Selection for Team View */
.team-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.team-selector-wrapper.hidden {
  display: none !important;
}

.custom-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  outline: none;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(12px);
  min-width: 150px;
}

.custom-select:focus {
  border-color: #00f2fe;
}

/* Views Container */
.view-panel {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.view-panel.active {
  display: block;
}

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

/* Global Button Styles */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #0b0c10;
  box-shadow: var(--shadow-neon-primary);
}

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

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

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

.btn-danger {
  background: var(--danger-gradient);
  color: var(--text-primary);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 65, 108, 0.4);
}

/* Icons */
.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.icon-btn.danger:hover {
  background: rgba(255, 65, 108, 0.2);
  color: #ff4757;
  border-color: rgba(255, 65, 108, 0.3);
}

/* ==========================================================================
   MANAGER DASHBOARD VIEW
   ========================================================================== */

/* Summary Statistics Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-icon.total { background: rgba(0, 242, 254, 0.1); color: #00f2fe; }
.stat-icon.progress { background: rgba(84, 160, 255, 0.1); color: #54a0ff; }
.stat-icon.review { background: rgba(254, 202, 87, 0.1); color: #feca57; }
.stat-icon.done { background: rgba(29, 209, 161, 0.1); color: #1dd1a1; }
.stat-icon.overdue { background: rgba(255, 71, 87, 0.1); color: #ff4757; }

.stat-info h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-info p {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Dashboard Middle Row: Charts & Manage Team */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Visual SVG Chart (Team Workload) */
.chart-container {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chart-bar-row {
  margin-bottom: 12px;
}

.chart-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.chart-bar-bg {
  background: rgba(255, 255, 255, 0.05);
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.8s ease-out;
}

.empty-chart-message {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 2rem 0;
}

/* Team Management Panel */
.team-list {
  max-height: 160px;
  overflow-y: auto;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.team-member-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.member-avatar-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--info-gradient);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.member-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.add-member-form {
  display: flex;
  gap: 8px;
}

.input-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.input-field:focus {
  border-color: #00f2fe;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

/* Tasks Table & Section */
.tasks-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.tasks-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filters-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  position: relative;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding-left: 36px;
}

.search-box::before {
  content: "🔍";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.tasks-table th {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.5px;
}

.tasks-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  vertical-align: middle;
}

.tasks-table tr:last-child td {
  border-bottom: none;
}

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

/* Badges for Status & Priority */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-todo { background: rgba(255, 71, 87, 0.1); color: var(--color-todo); border: 1px solid rgba(255, 71, 87, 0.2); }
.badge-progress { background: rgba(84, 160, 255, 0.1); color: var(--color-progress); border: 1px solid rgba(84, 160, 255, 0.2); }
.badge-review { background: rgba(254, 202, 87, 0.1); color: var(--color-review); border: 1px solid rgba(254, 202, 87, 0.2); }
.badge-done { background: rgba(29, 209, 161, 0.1); color: var(--color-done); border: 1px solid rgba(29, 209, 161, 0.2); }

.badge-priority-high { background: rgba(255, 71, 87, 0.15); color: #ff4757; }
.badge-priority-medium { background: rgba(254, 202, 87, 0.15); color: #ff9f43; }
.badge-priority-low { background: rgba(84, 160, 255, 0.15); color: #54a0ff; }

/* Deadline indicators in Table */
.deadline-cell {
  display: flex;
  flex-direction: column;
}

.deadline-date {
  font-weight: 500;
}

.deadline-days {
  font-size: 0.75rem;
  margin-top: 2px;
}

.text-danger { color: #ff4757; font-weight: 600; }
.text-warning { color: #ff9f43; font-weight: 500; }
.text-success { color: #1dd1a1; }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   KANBAN BOARD VIEW
   ========================================================================== */
.kanban-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

.kanban-column {
  background: rgba(15, 17, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
}

.kanban-column-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
}

.column-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.col-todo .column-dot { background-color: var(--color-todo); }
.col-progress .column-dot { background-color: var(--color-progress); }
.col-review .column-dot { background-color: var(--color-review); }
.col-done .column-dot { background-color: var(--color-done); }

.col-todo { border-bottom-color: var(--color-todo); }
.col-progress { border-bottom-color: var(--color-progress); }
.col-review { border-bottom-color: var(--color-review); }
.col-done { border-bottom-color: var(--color-done); }

.task-count {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Kanban Drag & Drop Areas */
.kanban-cards-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 400px;
  transition: background-color var(--transition-fast);
  border-radius: var(--radius-md);
  padding: 4px;
}

.kanban-cards-area.drag-over {
  background: rgba(255, 255, 255, 0.02);
  outline: 2px dashed rgba(255, 255, 255, 0.15);
  outline-offset: -2px;
}

/* Kanban Cards styling */
.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: grab;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  backdrop-filter: blur(10px);
  user-select: none;
}

.kanban-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
  border-color: #00f2fe;
}

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

.card-priority {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.priority-high { background: rgba(255, 71, 87, 0.15); color: #ff4757; }
.priority-medium { background: rgba(254, 202, 87, 0.15); color: #ff9f43; }
.priority-low { background: rgba(84, 160, 255, 0.15); color: #54a0ff; }

.card-actions {
  display: flex;
  gap: 4px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.card-assignee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.card-deadline {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Drag instructions */
.drag-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Mobile Quick Action Move Buttons */
.mobile-move-actions {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.mobile-move-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.7rem;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.mobile-move-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .mobile-move-actions {
    display: grid;
  }
}

/* Empty Kanban column placeholder */
.empty-column-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  color: var(--text-muted);
  border: 2px dashed rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.empty-column-placeholder p {
  font-size: 0.8rem;
  margin-top: 6px;
}

/* ==========================================================================
   MODALS AND DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-container {
  background: #111219;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid #00f2fe;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideIn var(--transition-fast) forwards;
}

.toast.success { border-left-color: #1dd1a1; }
.toast.danger { border-left-color: #ff4757; }
.toast.warning { border-left-color: #feca57; }

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

.toast.fade-out {
  animation: slideOut var(--transition-fast) forwards;
}

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

/* Spinner Animation */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0, 242, 254, 0.15);
  border-top-color: #00f2fe;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

