/* Unified CreatorHelper Styles - Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --error-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  --login-gradient: linear-gradient(135deg, #10b981 0%, #84fab0 100%);
  --logout-gradient: linear-gradient(135deg, #ef4444 0%, #f5576c 100%);

  --dark-bg: #0f0f23;
  --card-bg: #1a1a2e;
  --card-border: #16213e;
  --nav-bg: rgba(26, 26, 46, 0.95);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #6b7280;
  --text-accent: #667eea;

  --primary: #667eea;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --loading: #facc15;
  --info: #3b82f6;

  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
  --transition-fast: all 0.1s ease;

  scroll-behavior: auto;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
}

/* scrollbar to fit the rest of the site */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

html {
  scroll-behavior: smooth;
}

a,
a:hover,
img,
.form-control,
button {
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  color: #d6d1d6;
}

button {
  border: none;
  background: 0 0;
}

.js .animate-box {
  opacity: 0;
}

.full-width {
  width: 100% !important;
}

.no-padding {
  padding: 0;
}

.bg-white {
  background-color: #fff;
}

/* Services section image styling */
.services {
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 1rem !important;
}

.services .item a img {
  border: 10px solid white;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .item a img[src*="media/logos/"] {
  border: none;
  border-radius: 0;
}

.services ul {
  text-align: left;
}

/* Owl theme style overrides */
.owl-dots .owl-dot.active {
  background: #dd6e8b;
  border-radius: 25px;
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  animation: splashFadeIn 0.6s ease-out;
}

.splash-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.splash-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  animation: logoFloat 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.splash-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: var(--border-radius);
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

.splash-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideUp 0.5s ease-out 0.15s both;
}

.splash-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 500;
  animation: subtitleSlideUp 0.5s ease-out 0.3s both;
}

.splash-loading {
  width: 200px;
  height: 4px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
  animation: loadingFadeIn 0.5s ease-out 0.45s both;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}


/* Splash Screen Animations */
@keyframes splashFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1) translateY(0px);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1) translateY(-10px);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2) translateY(0px);
    opacity: 0;
  }
}

@keyframes titleSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtitleSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes loadingProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Modern Navigation */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.nav-scroll {
  background: rgba(15, 15, 35, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-img {
  height: 40px;
  margin-right: 0.75rem;
}

/* Bootstrap navbar overrides */
.navbar-nav {
  gap: 1rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
  color: var(--text-primary) !important;
  background: var(--primary-gradient);
}

.nav-link.active:hover {
  filter: brightness(0.85);
}

.login {
  color: var(--text-primary) !important;
  background: var(--login-gradient) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-width: auto;
}


/* Logout button */
.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: var(--logout-gradient);
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm);
  min-width: auto;
}

.logout-btn:hover,
.login:hover,
.nav-link:hover {
  transform: translateY(-2px);
  filter: brightness(0.9);
  box-shadow: var(--shadow-md);
}

.logout-btn i,
.login i {
  font-size: 0.875rem;
}



/* Mobile toggle button */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background: none;
  width: 24px;
  height: 24px;
  position: relative;
}

.navbar-toggler .lines span {
  display: block;
  height: 2px;
  width: 100%;
  min-width: 24px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

.navbar-toggler[aria-expanded="true"] .lines span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.navbar-toggler[aria-expanded="true"] .lines span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .lines span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}


/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  z-index: -1;
}

.mini-hero-section {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 2rem;
  position: relative;
  overflow: hidden;
}

.mini-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  z-index: -1;
}


.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo {
  width: 80px;
  height: 80px;
  animation: logoFloat 2s ease-in-out infinite;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.btn-primary,
.btn-primary-alt {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary-alt {
  background: var(--secondary-gradient) !important;
}

.btn-primary:hover,
.btn-primary-alt:hover {
  transform: translateY(-2px);
  filter: brightness(0.85);
  box-shadow: var(--shadow-xl);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--text-accent);
  color: var(--text-accent);
}

.btn-secondary:hover {
  background: var(--text-accent);
  color: white;
  transform: translateY(-2px);
}


.acc-btn {
  margin: 0 auto;
  display: block;
}

/* Section Styling */
.section-padding {
  padding: 6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.title {
  text-align: center;
  margin-bottom: 4rem;
}

.title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.line-hr-primary {
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 2px;
  margin: 0 auto;
}

/* Modern Cards */
.benefit-box,
.faq-box {
  background: #1a1a2e;
  background: linear-gradient(to bottom, #4facfe 0px, #00f2fe 0px, #1a1a2e 3px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}



.benefit-box:hover,
.faq-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(102, 126, 234, 0.5);
}

.benefit-box:hover::before,
.faq-box:hover::before {
  opacity: 1;
}

.benefit-box::before,
.faq-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(79, 172, 254, 0.05) 100%);
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.benefit-box h4,
.faq-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.benefit-box p,
.faq-box p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Ensure vertical spacing for benefit boxes */
.col-md-4 .benefit-box,
.col-md-6 .benefit-box,
.col-lg-4 .benefit-box,
.col-md-4 .faq-box,
.col-md-6 .faq-box,
.col-lg-4 .faq-box {
  margin-bottom: 2rem !important;
}

/* How It Works Section */
.flowchart {
  max-width: 600px;
  margin: 0 auto;
}

.step {
  background: #1a1a2e;
  background: linear-gradient(to bottom, #f093fb 0px, #f5576c 3px, #1a1a2e 3px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem !important;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(240, 147, 251, 0.5);
}

.step:hover::before {
  opacity: 1;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.05) 0%, rgba(245, 87, 108, 0.05) 100%);
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.main-step {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 1rem;
}

.expanded-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.arrow {
  text-align: center;
  font-size: 2rem;
  color: var(--text-accent);
  margin: 1rem 0;
}

/* Pricing Cards */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: visible;
  /* Allow badge to be visible outside card */
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0.8;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--text-accent);
}

/* Title section - fixed height */
.pricing-card .pricing-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Recommendation section - fixed height */
.pricing-card .recommendation {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  font-weight: 500;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card .recommendation.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pricing-card .recommendation.yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.cblue {
  margin-right: 0.5rem;
  color: #667eea;
}

/* Pricing section - fixed height */
.pricing-card .pricing-note {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  height: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pricing-note-alt {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 5px;
}

/* Features list with consistent spacing */
.features-list {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 4.5rem;
  /* Fixed height for each feature */
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li i:first-child {
  margin-right: 0.75rem;
  font-size: 0.875rem;
  width: 1rem;
  text-align: center;
}

.features-list li .fa-check {
  color: #10b981;
}

.features-list li .fa-xmark {
  color: #ef4444;
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text span {
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-card .feature-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Button positioning */
.btn.btn-primary {
  margin-top: auto;
}

/* Free Month Badge */
.free-time-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: rotate(5deg);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
  /* Prevent overflow */
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.free-time-badge span {
  display: block;
  /* transform: rotate(-5deg); */
}

.free-time-badge sup {
  font-size: 0.6rem;
  top: -0.5em;
}

/* Tooltip styling */
[title] {
  position: relative;
}

[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  /* white-space: nowrap; */
  z-index: 1001;
  pointer-events: none;
  font-weight: normal;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: visible !important;
}

@keyframes pulse-badge {
  0% {
    transform: rotate(5deg) scale(1);
  }

  50% {
    transform: rotate(5deg) scale(1.05);
  }

  100% {
    transform: rotate(5deg) scale(1);
  }
}


/* Pricing Bubble */
.pricing-bubble {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.pricing-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.7;
}

/* Contact Section */
.contact-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-text a {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--text-primary);
}

.contact-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  height: auto;
}

/* Footer */
.main-footer {
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.sub-footer {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.sub-footer a {
  color: var(--text-accent);
  text-decoration: none;
  transition: var(--transition);
}

.sub-footer a:hover {
  color: var(--text-primary);
}

/* Line Dividers */
.line-vr-section {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  margin: 4rem 0;
}


/* ======= Backend/Login System Styles ======= */

/* Modern Backend Body Override */
body.backend {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
}

/* Modern Navigation for Backend */
.nav {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #ffffff;
}

.nav-links a.active {
  background: var(--primary-gradient);
  color: white;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-primary-outline:hover {
  background: rgba(102, 126, 234, 0.1);
}

.btn-secondary-outline {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Backend Card Overrides */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-gradient);
  opacity: 0.5;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.box-header {
  flex-direction: column;
  gap: 0.5rem;
}

.box-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  position: relative;
  /* overflow: hidden; */
  min-width: 80vw;
}

/* Modern Dropzone */
.dropzone {
  border: 2px dashed var(--card-border);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  margin-bottom: 2rem;
  background: var(--card-bg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dropzone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.dropzone:hover {
  border-color: var(--text-accent);
  background: rgba(102, 126, 234, 0.05);
}

.dropzone:hover::before {
  opacity: 0.05;
}

.dropzone-content {
  position: relative;
  z-index: 1;
}

.dropzone i {
  font-size: 3rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.dropzone p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.dropzone.dragover {
  border: 2px dashed var(--primary);
  background-color: rgba(0, 123, 255, 0.05);
}


/* Video list with scrollbar */
.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
  /* Space for scrollbar */
}

/* Custom scrollbar styling */
.video-list::-webkit-scrollbar {
  width: 8px;
}

.video-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.video-list::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 4px;
}

.video-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-accent);
}

/* Ensure videos display properly */
.video-preview {
  position: relative;
  background: #000;
  width: fit-content;
  height: 200px;
  /* Fixed height for consistency */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

/* Ensure videos display properly */
.video-preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Video Blocks */
.video-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.video-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

.video-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.video-block.uploading {
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.video-header {
  padding: 1rem;
}

.video-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Upload details section */
.upload-btn-container {
  display: flex;
  justify-content: center;
}

.upload-btn {
  width: 50%;
  margin-top: 1.5rem !important;
  padding: 0.75rem 1.5rem;
}

.upload-disabled{
  opacity: 0.5;
  cursor: help !important;
  transform: none;
}

.upload-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

/* Video list header */
.video-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--card-bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--card-border);
}

.video-list-header h3 {
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.video-list-actions {
  display: flex;
  gap: 0.5rem;
}

/* Video controls container */
.video-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

/* Positioned elements */
.top-right {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Custom checkbox */
.select-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  width: 24px;
  height: 24px;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  padding: 2px;
}

.select-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 20px;
  width: 20px;
  background-color: var(--card-bg-light);
  border: 1px solid var(--card-border);
  border-radius: 3px;
}

.select-container:hover input~.checkmark {
  background-color: var(--card-bg-hover);
}

.select-container input:checked~.checkmark {
  background-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.select-container input:checked~.checkmark:after {
  display: block;
}

.select-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Remove video button */
.remove-video,
.edit-video,
.check-video {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.remove-video i,
.edit-video i {
  font-size: 0.8rem;
}

.remove-video:hover {
  background: var(--error);
}

.edit-video:hover {
  background: var(--primary);
}

/* Animation for adding/removing videos */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.fade-out {
  animation: fadeOut 0.3s ease-in-out;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.transcript {
  margin-top: 1rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: var(--transition);
  /* backdrop-filter: blur(10px); */
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 6px #3b82f6aa;
  background: rgba(255, 255, 255, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.status-badge.processing {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--info);
}

.status-badge.processing i {
  animation: loader 3s linear infinite;
}

.status-pill.processing i {
  animation: loader 3s linear infinite;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.status-badge.failed {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
}

/* Authentication Pages Styles */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: animatezoom 0.6s;
}

.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary-gradient);
}

.auth-logo img.avatar {
  width: 80px;
  height: 80px;
  animation: logoFloat 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.auth-logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.auth-logo p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Platform Logins Styling */
.platform-logo {
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  min-height: 48px;
  max-height: 48px;
}

.platform-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
}

.platform-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.5));
}

.platform-logo .separator,
.platform-logo-sm .separator {
  font-size: 1.2rem;
  margin: 0 5px;
  color: var(--text-secondary);
}

.platform-logo .icon,
.platform-logo-sm .icon {
  color: #667eea;
  font-size: 2rem;
}

.platform-logo span,
.platform-logo-sm span {
  font-size: 1.2rem;
  vertical-align: middle;
  color: var(--text-secondary);
}

.platform-logo .twitter,
.platform-logo-sm .twitter {
  color: #1DA1F2 !important;
}

.platform-logo .reddit,
.platform-logo-sm .reddit {
  color: #FF4500 !important;
}

.platform-logo-sm {
  padding: 0;
  margin: 0;
  min-height: 32px;
  max-height: 32px;
  min-width: none !important;
  max-width: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-logo-sm img {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.platform-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.platform-inputs input {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: none;
}

.platform-inputs .password {
  padding-block: 1px;
  padding-inline: 2px;
  padding: 0.875rem 1rem;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 25%;
  transform: translateY(-25%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  z-index: 2;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i:not(.toggle-password) {
  position: absolute;
  left: 1rem;
  top: 35%;
  transform: translateY(-35%);
  color: var(--text-muted);
  font-size: 0.875rem;
  z-index: 1;
}

input[type="email"],
input[type="password"],
input[type="text"]#username,
input[type="text"]#referredBy,
input[type="text"][name="usernameOrEmail"],
input[type="text"][name="password"] {
  margin-bottom: 1rem;
  padding-left: 2.5rem !important;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 35%;
  transform: translateY(-35%);
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  z-index: 1;
}

/* forgot password */
.forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.status-message {
  padding: 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  position: fixed;
  top: 10vh;
  user-select: none;
  z-index: 1;
}

.status-message.show {
  opacity: 1;
  transform: translateY(0);
}

.status-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.status-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.status-message.loading {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--loading);
}

.status-message.info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--info);
}

.status-message.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-footer {
  text-align: center;
}

.auth-footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-footer a:hover {
  color: #764ba2;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

/* Loading States */
.loading {
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-indicator i {
  animation: loader 2s linear infinite;
}

@keyframes loader {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading span {
  opacity: 0;
}

/* Full-width input fields with modern styling */
input[type=email],
input[type=password],
input[type="text"]#username {
  width: 100%;
  padding: 14px 20px 14px 45px;
  display: inline-block;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  box-sizing: border-box;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

input[type=email]:focus,
input[type=password]:focus,
input[type="text"]#username:focus {
  border-color: var(--text-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Enhanced image container */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

/* Form container padding */
.form-container {
  padding: 16px;
}

/* Password reset link styling */
.psw {
  text-align: center;
  padding-top: 16px;
  /* margin-top: 16px; */
  border-top: 1px solid var(--card-border);
}

.psw a {
  color: var(--text-accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.psw a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* Remember me checkbox styling */
.remember-container {
  display: flex;
  align-items: center;
  margin: 12px 0;
  gap: 8px;
}

.remember-container input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--text-accent);
}

.remember-container label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
  cursor: pointer;
}

/* Zoom animation */
@keyframes animatezoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 300px) {
  .psw {
    text-align: center;
  }

  .auth-container {
    margin: 10px;
    padding: 1rem;
  }
}

@keyframes pulse-badge {
  0% {
    transform: rotate(5deg) scale(1);
  }

  50% {
    transform: rotate(5deg) scale(1.05);
  }

  100% {
    transform: rotate(5deg) scale(1);
  }
}


/* Row adjustments */
.row {
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
  /* Add padding to prevent badge overflow */
  padding: 15px 0;
}


/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999 !important;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 80%;
  animation: slideIn 0.2s ease-out;
  overflow: hidden;
}

.modal-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
}

.modal-header h4 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header h4 i {
  color: var(--warning);
}

.close-modal {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
  /* gap: 0.75rem; */
  border-top: 1px solid var(--card-border);
}

.modal-input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  color: var(--text-primary);
}

.modal-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
}


@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Custom site input styling */
.custom-site-url {
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
  transition: var(--transition);
}

.custom-site-url:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.25);
}

/* Improved upload details styling */
.upload-details {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-top: none;
  animation: slideDown 0.3s ease-out;
  /* make all transitions (ie. changing block -> none) 0.3s ease */
  transition: all 0.3s ease;
}

.view-details {
  bottom: 0;
  position: absolute;
  align-items: center;
  margin-left: 50%;
  transform: translateX(-50%);
  color: var(--info);
}

.details-container {
  display: flex;
  gap: 2rem;
}

.details-preview {
  flex: 1;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  /* max-width: 500px; */
}

.details-edit {
  flex: 1.5;
}

.details-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-pill.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.status-pill.processing {
  background: rgba(59, 130, 246, 0.15);
  color: var(--info);
}

.status-pill.failed {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}


/* Platform list in upload modal - updated for better interactivity */
.platform-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Scrollbar styling for the platform list */
.platform-list::-webkit-scrollbar {
  width: 6px;
}

.platform-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.platform-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.platform-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: var(--card-bg);
  transition: var(--transition);
}

.platform-list-item:hover {
  background: var(--card-bg-hover);
}

.platform-list-item i {
  font-size: 1.5rem;
  color: var(--text-accent);
}

.platform-list-item span {
  flex: 1;
  font-size: 1rem;
  color: var(--text-primary);
}

.platform-list-item button {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.platform-list-item button:hover {
  background: var(--primary-gradient-hover);
}

/* Thumbnail carousel styles */
.thumbnails-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
}

.thumbnail-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: 10px;
}

.thumbnail-item {
  position: relative;
  flex: 0 0 auto;
  width: 35%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: #000;
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 10px;
}

.thumbnail-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumbnail-select {
  position: absolute;
  top: 10px;
  right: 25px;
}

.thumbnail-select input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.thumbnail-select .checkmark {
  height: 20px;
  width: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  border-radius: 50%;
  display: inline-block;
}

.thumbnail-select input[type="radio"]:checked+.checkmark {
  background-color: var(--primary);
}

.enlarged-thumbnail {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Transcript styles with timestamps */
.transcript-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre-wrap;
  user-select: none;
  max-height: 20vh;
  overflow-x: auto;
}

.transcript-content p {
  margin-bottom: 0.75rem;
  display: flex;
}

.transcript-content .timestamp {
  color: var(--primary);
  font-weight: 600;
  min-width: 50px;
  margin-right: 8px;
  user-select: none;
}



/* Add a box-like border and background to transcript-content */
.form-group .transcript-content {
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  min-height: 100px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  white-space: pre-wrap;
  user-select: text;
  transition: var(--transition);
}

/* Preferences page styles */
.day-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.day-checkbox {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.day-checkbox:hover {
  background-color: var(--bg-hover);
}

.day-checkbox input {
  margin-right: 5px;
}

.tags-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 4px;
  min-height: 40px;
}

.tags-input ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 0;
}

.tags-input li {
  background: #e9ecef;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 14px;
}

.tags-input .delete-button {
  background: none;
  border: none;
  margin-left: 6px;
  color: #555;
  cursor: pointer;
  font-weight: bold;
}

.toggle-options {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.thumbnails-container::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 150px;
  height: 100px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}



/* Media preview styling */

.preview-section {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  border: 1px solid var(--card-border);
}

.preview-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Thumbnail container */
.thumbnail-container {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  aspect-ratio: 16/9;
  background: #000;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Video preview container */
.video-preview-container {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  background: #000;
}

.video-preview-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Upload progress overlay */
.upload-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.upload-progress-bar {
  width: 0%;
  height: 6px;
  background: var(--primary-gradient);
  border-radius: 3px;
  transition: width 0.2s ease;
  margin-bottom: 10px;
}

.upload-progress-text {
  position: absolute;
  top: -18px;
  right: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Media containers positioning */
.thumbnail-container,
.video-preview-container {
  position: relative;
}

/* Ensure media actions are below the media items */
.media-actions {
  z-index: 20;
  position: static;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.media-action-btn {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.media-action-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.media-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* No preview placeholder */
.no-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 2rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 150px;
}

.no-preview i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.no-preview .btn {
  margin-top: 1rem;
}

/* Retry button */
.retry-btn {
  background: var(--error-gradient);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all 0.2s ease;
  width: 100%;
}

.retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(245, 158, 11, 0.25);
}



/* Platform item with selection styling */
.platform-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

/* Selected state */
.platform-item.selected {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

/* Selected indicator - left border */
.platform-item.selected::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-gradient);
}

/* Hover effects */
.platform-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.platform-item.selected:hover {
  background: rgba(102, 126, 234, 0.2);
}

.platform-item:active {
  transform: translateY(0);
}

/* Disabled state */
.platform-item.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
}

.platform-item.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Hide actual checkboxes */
.platform-select {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


/* Platform info container */
.platform-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.platform-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.platform-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Selected item text color */
.platform-item.selected .platform-name {
  color: var(--text-accent);
}

/* Status indicator */
.platform-status {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  margin-left: auto;
  pointer-events: none;
}

/* Selection indicator */
.selection-indicator {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.platform-item.selected .selection-indicator {
  background: var(--text-accent);
  border-color: var(--text-accent);
}

.platform-item.selected .selection-indicator i {
  opacity: 1;
}

.selection-indicator i {
  color: white;
  font-size: 0.7rem;
  opacity: 0;
}

/* Badge for no login */
.platform-badge {
  font-size: 0.7rem;
  color: #ff6464;
  display: inline-flex;
  justify-content: flex-end;
}

.platform-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Platform icons */
.platform-icon {
  margin-right: 8px;
  font-size: 1.2rem;
  color: var(--primary);
}

/* Add a subtle ripple effect when clicking */
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.3);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
}

.platform-item:active .platform-checkmark {
  animation: ripple 0.6s linear;
}

.platform-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.platform-checkmark {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  transition: var(--transition);
}

.platform-select:checked~.platform-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.platform-select:checked~.platform-checkmark:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.platform-checkmark.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.platform-status.pending {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.platform-status.success {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.platform-status.error {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

/* Upload options */
.upload-options {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  border: 1px solid var(--card-border);
}

.upload-options h5 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.option-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--primary);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
  transform: translateX(18px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Upload progress in modal */
.upload-progress-container {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  margin-right: 1rem;
}

.preview-download-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.preview-download-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-group.half {
  width: 50%;
}

.form-group.vertical {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.edit-form input,
.edit-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.edit-form input:focus,
.edit-form textarea:focus {
  outline: none;
  border-color: var(--text-accent);
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.save-btn {
  padding: 0.6rem 1.2rem;
  background: var(--text-accent);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  width: 100%;
  background-color: var(--success);
  cursor: pointer;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.25);
}

.cancel-btn {
  padding: 0.6rem 1.2rem;
  background: var(--error);
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.regen-btn {
  padding: 0.6rem 1.2rem;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.regen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.25);
}

/* Price calculation hint - always visible */
.price-calculation-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: var(--border-radius-sm);
  text-align: center;
  transition: background-color 0.3s ease;
}

/* Add strikethrough effect when price override is active */
.price-calculation-hint.strikethrough {
  text-decoration: line-through;
  opacity: 0.6;
  background: rgba(108, 117, 125, 0.1);
  border-color: rgba(108, 117, 125, 0.2);
}

.price-calculation-hint.visible {
  opacity: 1;
  transform: translateY(0);
}

.price-calculation-hint.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Subtle highlight effect when the hint updates */
@keyframes hint-update {
  0% {
    background-color: rgba(102, 126, 234, 0.2);
  }

  100% {
    background-color: rgba(102, 126, 234, 0.1);
  }
}

/* Apply the animation when calculation changes */
.price-calculation-hint.update {
  animation: hint-update 1s ease;
}

/* Ensure inputs have consistent styling */
.edit-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  /* Firefox */
}

.edit-form input[type="number"]::-webkit-outer-spin-button,
.edit-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* coming soon */
.features-list li .fa-clock {
  color: var(--loading);
}

/* Add a small info icon next to price labels */
.form-group label[for^="ppm-"]::after,
.features-list li .fa-clock:hover::after {
  content: "\f05a";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  color: var(--text-muted);
  cursor: help;
}

/* Tooltip for price fields */
.form-group label[for^="ppm-"],
.features-list li .fa-clock {
  position: relative;
}

.form-group label[for^="ppm-"]:hover::after,
.features-list li .fa-clock:hover::after {
  position: absolute;
  top: -30px;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  font-family: monospace;
}

.features-list li .fa-clock:hover::after {
  content: "Coming Soon!";
}

.custom-site-url::placeholder {
  color: var(--text-muted);
}

/* Error field highlighting */
.error-field {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 1px var(--error) !important;
  animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-3px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(3px, 0, 0);
  }
}

/* Improve input focus states */
input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.25);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  /* white-space: nowrap; */
  flex-shrink: 0;
}

.info-box {
  display: flex;
  align-items: flex-start;
  background-color: rgba(102, 126, 234, 0.1);
  border-left: 4px solid var(--primary-color);
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--border-radius);
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.card-description {
  color: var(--text-secondary);
  margin: 0.5rem 0;
  font-size: 0.875rem;
}

.info-tooltip {
  position: relative;
  margin-left: 0.5rem;
  cursor: pointer;
}

.info-tooltip i {
  color: var(--primary-color);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.info-tooltip:hover i {
  color: var(--text-accent);
}

.tooltip-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-tooltip:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
}

/* Dashboard styles - refined one-per-row layout */
.upload-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.upload-row {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.upload-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.upload-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.7;
}

.upload-thumbnail {
  width: 180px;
  height: 100px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.upload-thumbnail:hover img {
  transform: scale(1.05);
}

.upload-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.upload-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.upload-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upload-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.upload-inform {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
}

.upload-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upload-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.upload-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upload-meta i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.upload-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  align-self: center;
}

.upload-actions button {
  /* padding: 0.5rem 1rem; */
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.details-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.details-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.details-section h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.preview-container video {
  width: 100%;
  display: block;
  background: #000;
}

.download-preview {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.download-preview:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.details-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state.small {
  padding: 1.5rem;
  font-size: 0.9rem;
}

.empty-state.small i {
  font-size: 1.5rem;
}


.outline {
  outline: 2px solid var(--info);
  outline-offset: -2px;
  border: 1px solid;
  border-radius: .375rem !important;
}

/* Button group */
.btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Loading state for buttons */
button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

/* Video info display */
.video-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Video row layout for side-by-side videos */
.video-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  width: 100%;
}

.video-half {
  width: calc(50% - 7.5px);
  /* Exactly 50% width minus half the gap */
  box-sizing: border-box;
}


.video-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--card-border);
}

.info-video {
  position: relative;
  width: 60vw;
  min-width: 20rem;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 5rem;
  background: #000;
}

.info-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}



/* Vault Output Container */
#vaultOutput {
  /* margin-top: 2rem; */
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 1rem;
  /* background: #1a1a2a; */
  overflow: visible;
  position: relative;
  margin: 2rem;
}

/* Table wrapper for scrolling */
.vault-table-wrapper {
  max-height: 520px;
  max-width: 100%;
  overflow: auto;
  border-radius: 8px;
  background: #23234a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

/* Table styles */
.vault-table {
  min-width: 900px;
  width: max-content;
  border-collapse: separate;
  border-spacing: 0;
  background: #23234a;
  border-radius: 8px;
  table-layout: auto;
}

.vault-table th,
.vault-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #2a2a4a;
  vertical-align: middle;
  background: #23234a;
  color: #fff;
  white-space: nowrap;
}

/* Sticky header */
.vault-table thead th {
  position: sticky;
  top: 0;
  background: #181828;
  z-index: 10;
  color: #a0a0ff;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  border-bottom: 2px solid #2a2a4a;
}

.vault-table th.delete-cell,
.vault-table td.delete-cell {
  text-align: center;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  /* No position: sticky or left! */
}


/* Sticky user-id (second) column */
.vault-table th.user-id,
.vault-table td.user-id {
  position: sticky;
  left: 0;
  z-index: 10;
  min-width: 90px;
  max-width: 110px;
  box-shadow: 2px 0 6px -2px #0006;
}

.vault-table th.user-id {
  z-index: 12;
}

/* Password field alignment */
td.password {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-right: 0.5rem !important;
  background: #262646;
}

/* Username and password monospace, ellipsis */
td.username,
td.password {
  font-family: 'Fira Mono', 'Consolas', monospace;
  color: #ffb86c;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Eye button styling */
.password-toggle-btn {
  margin-left: 8px;
  font-size: 0.9rem;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 5px;
  transition: background 0.2s;
}

.password-toggle-btn:hover {
  color: #fff;
}

/* Row content scroll */
.row-item {
  max-height: 4rem;
  max-width: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  white-space: pre-line;
  display: block;
  scrollbar-width: thin;
  scrollbar-color: #667eea transparent;
}

.row-item::-webkit-scrollbar {
  width: 4px;
}

.row-item::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.row-item::-webkit-scrollbar-track {
  background: transparent;
}

/* Table hover/alt row colors */
.vault-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.vault-table tr:last-child td {
  border-bottom: none;
}

.vault-table tbody tr:nth-child(even) td {
  background: #22223b;
}

/* Buttons */
.delete-btn {
  color: #ff5e5e;
  font-size: 1.1rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.delete-btn:hover {
  opacity: 1;
}

/* Checkbox */
input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #6fa3ff;
}

/* Title styling */
.vault-title {
  margin-top: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  font-weight: 600;
  color: #cfcfff;
  position: absolute;
  z-index: 20;
  background: #23234a;
  padding: 4px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0005;
}

#daySelector {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

#daySelector .btn {
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  min-width: 25px;
}

#daySelector .btn.active {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

/* if not btn.active, but is .btn:focus */
#daySelector .btn:focus:not(.active) {
  background: var(--dark-bg) !important;
  background-color: var(--dark-bg) !important;
}

small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.fit {
  width: fit-content;
}

.watermark {
  justify-content: center;
  display: flex;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tagify--outside {
  border: none !important;
}

input[type="time"],
.form-control,
.form-select,
.tagify--outside .tagify__input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.tagify__tag>div,
.tagify__tag>div>* {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
  border-radius: var(--border-radius-sm) !important;
}

.tagify__tag:focus div::before,
.tagify__tag:hover:not([readonly]) div::before,
.tagify__tag {
  --tag-bg: #667eea !important;
}

.tagify__tag>div::before {
  background-color: #5a6bc8;
  border-radius: var(--border-radius-sm);
}

.form-check-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  /* no repeat */
  background-repeat: no-repeat !important;
}

.form-label {
  display: flex;
  white-space: nowrap;
  justify-content: center;
}

option {
  background-color: var(--card-bg);
}

optgroup {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  text-transform: capitalize;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-padding {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

.privacy-policy {
  font-family: monospace;
  font-size: 0.85rem;
  max-height: 500px;
  overflow-y: auto;
}

.watermark-grid {
  display: grid;
  gap: 1rem;
  grid-template-areas:
    "logo-text logo-text"
    "placement opacity";
  grid-template-columns: 1fr 1fr;
}

.logo-text {
  grid-area: logo-text;
}

.logo-placement {
  grid-area: placement;
}

.logo-preview {
  max-width: 256px;
  max-height: 256px;
}

.watermark-opacity {
  grid-area: opacity;
}

.watermark-opacity input {
  width: 100%;
  display: inline-block;
}

.watermark-opacity span {
  margin-left: 0.25rem;
}



.upload-section {
  margin-bottom: 1.5rem;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1e1e1e;
}

.section-header {
  background: #2c2c2c;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
  border-bottom: 1px solid #444;
}

.upload-container {
  padding: 10px;
  display: block;
}

.upload-container.hidden {
  display: none !important;
}


.scroll-wrapper {
  max-height: 80vh;
  /* show ~3 uploads max */
  overflow-y: auto;
}

.your-uploads {
  height: 90vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-bottom: 0.5rem
}

.your-uploads .card-header {
  flex-shrink: 0;
}

.upload-panel {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.uploads-btn {
  padding: 0.75rem 1.5rem;
  min-width: 200px;
}

.upload-hero {
  padding: 5.5rem 1rem 0 !important
}

.queue-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
}

.queue-status ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.queue-status li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  flex: 1;
  max-height: 78px;
}

.tab-actions {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  gap: 0.5rem;
  margin-left: auto;
}

.upload-tab {
  padding: 14px 24px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 130px;
  text-align: center;
}

.upload-tab:hover {
  background-color: #444;
  transform: translateY(-2px);
}

.upload-tab.active {
  background-color: #715aff;
  color: white;
  box-shadow: 0 0 0 2px rgba(113, 90, 255, 0.4);
}

.upload-tab.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  color: #999 !important;
  pointer-events: auto;
}

.upload-tab.disabled:hover {
  background-color: transparent !important;
  color: #999 !important;
}

.upload-limit {
  color: var(--text-muted);
  font-size: 0.9rem;
  border-radius: var(--border-radius-sm);
}

.upload-limit.reached {
  color: var(--error);
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.contactPlatforms {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-fields {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms;
}

.pricing-fields.hide {
  opacity: 0;
  pointer-events: none;
  /* optionally collapse space: */
  height: 0 !important;
  overflow: hidden;
  position: absolute;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  max-height: 78px;
}


/* == Responsive == */
@media (max-width: 1200px) {
  .pricing-card .pricing-title {
    font-size: 1.1rem;
    min-height: 4.5rem;
  }

  .pricing-card .pricing-note {
    font-size: 1.3rem;
  }

  .pricing-card .feature-text span {
    font-size: 0.9rem;
  }

  .pricing-card .feature-text small {
    font-size: 0.65rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .features-list li {
    height: 4rem;
  }

  [title]:hover::after {
    white-space: normal;
    width: auto;
  }

  .tab-buttons {
    overflow-x: scroll;
    overflow-y: hidden;
    flex-direction: column;
  }

  .tab-actions {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .pricing-card .pricing-title {
    min-height: auto;
  }

  .details-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .details-preview {
    max-width: 100%;
  }

  .pricing-card {
    margin-bottom: 3rem;
  }

  .pricing-card .pricing-title,
  .pricing-card .recommendation,
  .pricing-card .pricing-note {
    height: auto;
    min-height: 0;
  }

  .features-list li {
    height: auto;
    min-height: 3rem;
  }
}

/* 991.98 because of bootstrap overwrites >:( */
@media (max-width: 991.98px) { 
  .navbar-collapse {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logout-btn {
    margin: 0.5rem auto;
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .free-time-badge {
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    font-size: 0.8rem;
    max-width: calc(100% - 10px);
  }

  .container {
    padding: 0 1.5rem;
  }

  .video-list {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    text-align: center;
  }
  .pricing-card .pricing-title {
    font-size: 1rem;
  }

  .pricing-card .pricing-note {
    font-size: 1.2rem;
  }

  .pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .features-list{
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
  }

  .navbar-overlay.show {
    display: block;
    opacity: 1;
  }

  /* Upload page specific mobile fixes */
  .upload-container {
    padding: 1rem;
  }
  
  .upload-area {
    min-height: 150px;
  }
  
  .video-block {
    flex-direction: column;
  }
  
  .video-preview {
    width: 100%;
  }
  
  .video-info {
    width: 100%;
    padding: 1rem 0;
  }
  
  .details-container {
    flex-direction: column;
  }

  .details-preview,
  .details-edit {
    width: 100%;
    max-width: none;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-group.half {
    width: 100%;
  }

  .upload-row {
    flex-direction: column;
    gap: 1rem;
  }

  .upload-thumbnail {
    width: 100%;
    height: 180px;
  }

  .upload-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .upload-status {
    align-self: flex-start;
  }

  .upload-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .details-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .status-info {
    width: 100%;
    justify-content: space-between;
  }

  .video-row {
    flex-direction: column;
  }
  
  .video-half {
    width: 100%;
    margin-bottom: 15px;
  }

  .upload-hero {
    padding: 5rem 1rem 0 !important
  }
}

/* == Mobile == */
@media (max-width: 600px) {
  .vault-table, .vault-table th, .vault-table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  .vault-title {
    font-size: 1.1rem;
  }

  .thumbnail-item{
    width: 75%;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    margin-left: 5px;
    margin-right: 5px;
  }

  .container {
    padding: 0 1rem;
  }

  .thumbnail-item{
    width: 100%;
  }
}
