/* Design Tokens & CSS Variables for CET SkillHub - 16_ช่างพลังงานสะอาด_CET */
:root {
  /* Colors */
  --bg-primary: #070913;
  --bg-secondary: #0e1322;
  --bg-card: rgba(19, 27, 46, 0.65);
  --bg-card-hover: rgba(28, 39, 66, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --neon-cyan: #00f2fe;
  --electric-blue: #4facfe;
  --vibrant-purple: #7928ca;
  --neon-pink: #ff007f;
  --gold: #fbbf24;
  --success: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Gradients */
  --grad-main: linear-gradient(135deg, var(--neon-cyan) 0%, var(--electric-blue) 50%, var(--vibrant-purple) 100%);
  --grad-purple-pink: linear-gradient(135deg, var(--vibrant-purple) 0%, var(--neon-pink) 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, var(--gold) 100%);
  --grad-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Borders */
  --border-std: 1px solid rgba(255, 255, 255, 0.08);
  --border-glow-cyan: 1px solid rgba(0, 242, 254, 0.4);
  --border-glow-purple: 1px solid rgba(121, 40, 202, 0.4);
  
  /* Shadows & Glows */
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-purple-glow: 0 0 25px rgba(121, 40, 202, 0.30);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-text-glow: 0 0 10px rgba(0, 242, 254, 0.5);
  
  /* Fonts */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Orbitron', sans-serif;
}

/* Base Reset & Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% -20%, rgba(121, 40, 202, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 10% 40%, rgba(0, 242, 254, 0.05) 0%, transparent 40%);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Utilities */
h1, h2, h3, .brand-font {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-std);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--neon-cyan);
  text-shadow: var(--shadow-text-glow);
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

nav a:hover, nav a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: var(--border-std);
}

.user-badge.vip {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.quota-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.quota-count {
  color: var(--neon-cyan);
  font-weight: 700;
}

.user-role-label {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.role-free {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.role-pro {
  background: var(--grad-gold);
  color: #000;
}

.role-admin {
  background: var(--grad-purple-pink);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-main);
  color: #070913;
  box-shadow: var(--shadow-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: var(--border-std);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-gold {
  background: var(--grad-gold);
  color: #070913;
  font-weight: 700;
}

.btn-gold:hover {
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

/* Filter & Search Bar */
.academy-filters {
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem 1rem 3rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.category-tab {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-std);
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.category-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.category-tab.active {
  background: var(--neon-cyan);
  color: #070913;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Course Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.course-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 12px 30px -10px rgba(0, 242, 254, 0.15);
}

.course-card.locked {
  opacity: 0.9;
}

.course-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: var(--border-std);
}

.course-badge-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  backdrop-filter: blur(8px);
}

.status-badge-free {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.status-badge-unlocked {
  background: rgba(0, 242, 254, 0.85);
  color: #070913;
}

.status-badge-locked {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

.course-code {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  font-weight: 700;
  margin: 1.25rem 1.25rem 0.25rem;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 1.25rem 0.75rem;
  line-height: 1.4;
  color: #fff;
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 1.25rem 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.course-footer {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: var(--border-std);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Blogger News Grid */
.news-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .news-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-feed-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.15);
}

.news-card-image-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #000;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.news-card-badge {
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-snippet {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  margin-top: auto;
}

.news-skeleton-card {
  height: 320px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
  border: var(--border-std);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Screens */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Video & Ebook Viewer Layout */
.portal-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 868px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }
}

.course-sidebar {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-container {
  margin-bottom: 1.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.step-item.active-step {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--neon-cyan);
  font-weight: 700;
}

.step-item.completed {
  color: var(--text-muted);
}

.step-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.step-checkbox.checked {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #070913;
}

/* Ebook Content Reader */
.ebook-content-wrapper {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  min-height: 500px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ebook-title-section {
  border-bottom: var(--border-std);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.ebook-title-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.ebook-subtitle {
  color: var(--neon-cyan);
  font-size: 0.95rem;
  font-weight: 600;
}

.ebook-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

/* AI Playground Panel */
.playground-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 868px) {
  .playground-panel {
    grid-template-columns: 1fr;
  }
}

.playground-input-side, .playground-output-side {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.playground-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.playground-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prompt-preview-box {
  background: rgba(0, 0, 0, 0.4);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: monospace;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 250px;
  overflow-y: auto;
}

.ai-output-box {
  background: rgba(0, 0, 0, 0.4);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-height: 350px;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #f1f5f9;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  flex: 1;
}

.ai-output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--bg-secondary);
  border: var(--border-std);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pricing-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.pricing-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pricing-tab-btn.active {
  background: var(--grad-main);
  color: #070913;
}

.payment-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qr-code-img {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slip-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input, .form-field select {
  background: rgba(0, 0, 0, 0.3);
  border: var(--border-std);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.form-field input:focus, .form-field select:focus {
  border-color: var(--neon-cyan);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
}

@media (max-width: 868px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.workflow-card {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.workflow-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.workflow-card-title {
  font-weight: 700;
  color: var(--neon-cyan);
}

.workflow-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.workflow-card-prompt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.workflow-card-result {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.8rem;
  max-height: 120px;
  overflow-y: auto;
  white-space: pre-wrap;
  color: #e2e8f0;
}

/* Toast Notifications */
#toast-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  background: var(--bg-secondary);
  border: var(--border-std);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideInRight 0.3s ease-out;
}

.toast-success {
  border-color: var(--success);
  color: #fff;
}

.toast-success i {
  color: var(--success);
}

.toast-error {
  border-color: var(--neon-pink);
  color: #fff;
}

.toast-error i {
  color: var(--neon-pink);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
