/* ==========================================================================
   DARK NEON STYLE SYSTEM - OMNICHANNEL AUTOMATION BOT
   ========================================================================== */

/* 1. Global Reset & Theme Tokens */
:root {
  --bg-darker: #070709;
  --bg-dark: #0d0d12;
  --bg-card: rgba(20, 20, 28, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --color-cyan: #00f2fe;
  --color-cyan-glow: rgba(0, 242, 254, 0.35);
  --color-pink: #ff007f;
  --color-pink-glow: rgba(255, 0, 127, 0.35);
  --color-purple: #9d4edd;
  --color-purple-glow: rgba(157, 78, 221, 0.35);
  
  --text-primary: #f1f1f6;
  --text-muted: #8e8e9f;
  --text-dimmed: #5d5d6c;
  
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 10%, rgba(0, 242, 254, 0.04) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(255, 0, 127, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(157, 78, 221, 0.02) 0px, transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 2. Utility Neon Typography */
.title-orbitron {
  font-family: var(--font-title);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.font-sans {
  font-family: var(--font-body);
}

.neon-text-cyan {
  color: var(--color-cyan);
  text-shadow: 0 0 10px var(--color-cyan-glow);
}

.neon-text-pink {
  color: var(--color-pink);
  text-shadow: 0 0 10px var(--color-pink-glow);
}

.neon-text-purple {
  color: var(--color-purple);
  text-shadow: 0 0 10px var(--color-purple-glow);
}

.text-cyan { color: var(--color-cyan); }
.text-pink { color: var(--color-pink); }
.text-purple { color: var(--color-purple); }

/* 3. Common Components & Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.neon-border-cyan {
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
.neon-border-cyan:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.neon-border-pink {
  border: 1px solid rgba(255, 0, 127, 0.25);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}
.neon-border-pink:hover {
  border-color: var(--color-pink);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.25);
}

.neon-border-purple {
  border: 1px solid rgba(157, 78, 221, 0.25);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.1);
}
.neon-border-purple:hover {
  border-color: var(--color-purple);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.25);
}

/* 4. Navbar Component */
.navbar-header {
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.navbar-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--color-cyan);
  filter: drop-shadow(0 0 8px var(--color-cyan-glow));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn-signup-nav {
  background: linear-gradient(135deg, var(--color-pink), #ff0055);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.3);
}

.btn-signup-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 0, 127, 0.55);
}

.btn-logout {
  border: 1px solid rgba(255, 0, 127, 0.4);
  color: var(--color-pink) !important;
  padding: 6px 14px;
  border-radius: 4px;
}

.btn-logout:hover {
  background: rgba(255, 0, 127, 0.1);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 20px;
}

.welcome-user {
  font-size: 0.9rem;
}

/* 5. Main Layout Wrapper */
.main-content-wrapper {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
}

/* 6. Auth Pages Structure */
.auth-page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  flex: 1;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-card-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-form .form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dimmed);
  transition: var(--transition-smooth);
}

.input-wrapper input {
  width: 100%;
  background: rgba(7, 7, 9, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 15px 12px 42px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--color-cyan);
  background: rgba(7, 7, 9, 0.9);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.input-wrapper input:focus + .input-icon {
  color: var(--color-cyan);
}

.auth-form button {
  margin-top: 10px;
}

.btn-block {
  width: 100%;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.neon-btn-cyan {
  background: linear-gradient(135deg, #00b8fe, #00f2fe);
  color: #070709;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.neon-btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.neon-btn-pink {
  background: linear-gradient(135deg, #e6006f, #ff007f);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

.neon-btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.6);
}

.neon-btn-purple {
  background: linear-gradient(135deg, #7b2cbf, var(--color-purple));
  color: #fff;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

.neon-btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.6);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.auth-card-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-hover {
  text-decoration: none;
  transition: var(--transition-smooth);
}

.link-hover:hover {
  text-shadow: 0 0 10px currentColor;
  text-decoration: underline;
}

/* Alert Boxes */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  background: rgba(220, 53, 69, 0.08);
}

.neon-border-red {
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff6b6b;
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.15);
}

/* Badges System */
.badge-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.badge-free {
  background: rgba(142, 142, 159, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(142, 142, 159, 0.3);
}

.badge-basic {
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.15);
}

.badge-premium {
  background: rgba(255, 0, 127, 0.1);
  color: var(--color-pink);
  border: 1px solid rgba(255, 0, 127, 0.3);
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.15);
}

.large-badge {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* 7. Dashboard Layout Details */
.dashboard-page-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.welcome-banner {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.welcome-title {
  font-size: 2.2rem;
  margin-bottom: 5px;
  background: linear-gradient(to right, #fff, var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.banner-package-details {
  display: flex;
  gap: 30px;
  background: rgba(7, 7, 9, 0.4);
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Stats Widgets Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 25px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  margin-right: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.cyan-glow {
  color: var(--color-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15) inset;
}

.pink-glow {
  color: var(--color-pink);
  border: 1px solid rgba(255, 0, 127, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.15) inset;
}

.purple-glow {
  color: var(--color-purple);
  border: 1px solid rgba(157, 78, 221, 0.3);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.15) inset;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

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

.stat-trend {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.trend-up {
  color: #2ec4b6;
}

.active-pulse {
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse-ring 1.5s infinite;
}

/* Sections Split Layout */
.dashboard-sections-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

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

.section-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-header {
  padding-bottom: 15px;
}

.border-neon-bottom-cyan {
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
}

.border-neon-bottom-pink {
  border-bottom: 1px solid rgba(255, 0, 127, 0.15);
}

.section-title {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Features List Details */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.disabled-feature {
  opacity: 0.75;
}

.disabled-feature:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-name {
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-stage {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(157, 78, 221, 0.15);
  color: #d8bbff;
  border: 1px solid rgba(157, 78, 221, 0.3);
  white-space: nowrap;
}

.text-telegram { color: #0088cc; }
.text-zalo { color: #0068ff; }

/* Activity Log Panel */
.activity-logs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-item {
  padding: 10px 12px;
  background: rgba(7, 7, 9, 0.4);
  border-radius: 6px;
  border-left: 3px solid var(--color-pink);
  font-size: 0.8rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.log-time {
  color: var(--text-dimmed);
  font-family: var(--font-title);
  white-space: nowrap;
}

.log-text {
  color: var(--text-muted);
}

/* Call to Action Package Box */
.upgrade-cta-box {
  margin-top: 20px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.05), rgba(0, 0, 0, 0.3));
}

.cta-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* 8. Footer Design */
.main-footer {
  background: #070709;
  border-top: 1px solid var(--border-glass);
  padding: 25px 0;
  margin-top: 60px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.main-footer p {
  color: var(--text-dimmed);
  font-size: 0.85rem;
}

.footer-glow-line {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-cyan), transparent);
  box-shadow: 0 0 10px var(--color-cyan);
}

/* Animations */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.animate-blink {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0.3; }
}

.animate-pulse-border {
  animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
  0% { border-color: rgba(0, 242, 254, 0.2); box-shadow: 0 0 10px rgba(0, 242, 254, 0.05); }
  100% { border-color: rgba(0, 242, 254, 0.45); box-shadow: 0 0 20px rgba(0, 242, 254, 0.2); }
}

/* ==========================================================================
   9. Stage 3 - Script Manager Custom Styling Panels
   ========================================================================== */

.dashboard-wrapper {
  animation: fadeIn 0.5s ease-out;
}

.scripts-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 30px;
  margin-top: 20px;
}

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

.card-glassmorphism {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.card-glassmorphism:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.section-title-neon {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.font-orbitron {
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 25px;
}

/* Alerts custom designs */
.alert-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.alert-error {
  border-left: 4px solid var(--color-pink) !important;
  background: rgba(255, 0, 127, 0.05);
}

.alert-success {
  border-left: 4px solid var(--color-cyan) !important;
  background: rgba(0, 242, 254, 0.05);
}

/* Neon Form Elements */
.neon-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-neon {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label-neon {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.input-container-neon {
  position: relative;
  width: 100%;
}

.input-container-neon .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dimmed);
  transition: var(--transition-smooth);
}

.input-field-neon {
  width: 100%;
  background: rgba(7, 7, 9, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 15px 12px 42px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.textarea-neon {
  padding-left: 15px !important;
  resize: vertical;
}

.input-field-neon:focus {
  outline: none;
  background: rgba(7, 7, 9, 0.85);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.script-form-card .input-field-neon:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.15);
}

.script-form-card .input-field-neon:focus + .input-icon {
  color: var(--color-pink);
}

.input-field-neon:focus + .input-icon {
  color: var(--color-cyan);
}

.field-info {
  color: var(--text-dimmed);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Premium Neon Buttons */
.btn-neon-pink {
  background: linear-gradient(135deg, var(--color-pink), #ff0055);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.25);
  transition: var(--transition-smooth);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-neon-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.55);
}

.btn-neon-cyan {
  background: linear-gradient(135deg, #00b8fe, var(--color-cyan));
  color: #070709;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  transition: var(--transition-smooth);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-neon-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.55);
}

.btn-neon-grey {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-neon-grey:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.full-width {
  width: 100%;
}

/* Premium Neon Table Component */
.table-responsive-neon {
  overflow-x: auto;
  margin-top: 10px;
}

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

.neon-table th {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

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

.script-row-neon {
  transition: var(--transition-smooth);
}

.script-row-neon:hover {
  background: rgba(255, 255, 255, 0.015);
}

.empty-state-row {
  padding: 50px 0 !important;
  color: var(--text-dimmed);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.reply-text-preview {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
}

/* glowing keyword badges */
.badge-keyword {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.04);
  color: var(--color-cyan);
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.neon-border-glow-cyan {
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.pulse-indicator-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 6px var(--color-cyan);
  animation: pulse-ring 1.5s infinite;
}

/* Actions buttons configurations */
.action-buttons-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-action {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-edit {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--color-cyan);
}

.btn-edit:hover {
  background: var(--color-cyan);
  color: #070709;
  box-shadow: 0 0 12px var(--color-cyan-glow);
}

.btn-delete {
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: var(--color-pink);
}

.btn-delete:hover {
  background: var(--color-pink);
  color: #fff;
  box-shadow: 0 0 12px var(--color-pink-glow);
}

.inline-form {
  display: inline;
}

/* ==========================================
   Neon Modal Overlay & Content
   ========================================== */
.modal-neon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal-neon-content {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  border: 1px solid rgba(0, 242, 254, 0.3) !important;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25) !important;
  position: relative;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-dimmed);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  color: var(--color-pink);
  text-shadow: 0 0 8px var(--color-pink);
}

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

/* Custom extra animations */
.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-pulse {
  animation: pulse-glow 1.5s infinite alternate;
}

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

@keyframes pulse-glow {
  from { filter: drop-shadow(0 0 2px currentColor); }
  to { filter: drop-shadow(0 0 10px currentColor); }
}

