/* Custom Styles for SocialBoost */

:root {
  --color-red: #cc332c;
  --color-green: #00bc29;
  --color-blue: #0363a7;
}


.hero-image-container {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Step Numbers */
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}
.feature-icon{
  width: 60px;
  height: 60px;
}
/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
}

/* Auth Section */
.auth-section {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6c757d;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #6c757d;
}

.divider span {
  padding: 0 10px;
}

/* Buttons */
.btn-primary {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-primary:hover {
  background-color: #024d85;
  border-color: #024d85;
}

.btn-success {
  background-color: var(--color-green);
  border-color: var(--color-green);
}

.btn-success:hover {
  background-color: #009621;
  border-color: #009621;
}

/* Dark Subtle Background */
.bg-dark-subtle {
  background-color: #1a1a1a !important;
}

/* Progress Bars */
.progress {
  background-color: #2a2a2a;
}

/* Tables */
.table-dark {
  --bs-table-bg: #1a1a1a;
  --bs-table-striped-bg: #222222;
  --bs-table-hover-bg: #2a2a2a;
}

/* Publication Card V2 */
.publication-card-v2 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1.25rem;
}

.publication-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.publication-image-container {
  position: relative;
  height: 240px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f8f9fa;
}

.publication-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Crucial for not deforming images */
  transition: transform 0.5s ease;
}

.publication-card-v2:hover .publication-img {
  transform: scale(1.05);
}

.platform-badge-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.glass-badge {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Alert Soft Variants */
.alert-soft-primary {
  background-color: rgba(3, 99, 167, 0.05);
  color: var(--color-blue);
}

/* Badge Soft Variants */
.bg-soft-danger { background-color: rgba(204, 51, 44, 0.1); }
.bg-soft-primary { background-color: rgba(3, 99, 167, 0.1); }
.bg-soft-success { background-color: rgba(0, 188, 41, 0.1); }

/* Shadows */
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* Grid Gap */
.g-4 { gap: 1.5rem !important; }

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dashboard V2 Glassmorphism */
.stat-card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.stat-card-glass:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
}

.stat-icon-circle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

/* Shortcut Items */
.shortcut-item {
  background: #f8f9fa;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.shortcut-item:hover {
  background: #ffffff;
  border-color: var(--color-blue);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.shortcut-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
}

/* Badge Soft Text */
.ls-1 { letter-spacing: 1px; }

/* Transitions */
.transition { transition: all 0.2s ease-in-out; }

/* Dashboard V2 Container */
/* Dashboard Sidebar V2 */
.dashboard-sidebar-v2 {
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo-circle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
}

.avatar-bg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-link-v2 {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  margin: 0 0.5rem;
  transition: all 0.2s ease;
}

.nav-link-v2:hover {
  background: #f1f5f9;
  color: var(--color-blue);
  transform: translateX(5px);
}

.nav-link-v2.active {
  background: rgba(3, 99, 167, 0.1);
  color: var(--color-blue);
}

.nav-link-v2 i {
  font-size: 1.1rem;
  width: 24px;
}

.support-card {
  background: linear-gradient(135deg, var(--color-blue), #024d85);
  box-shadow: 0 10px 15px -3px rgba(3, 99, 167, 0.2);
}

.x-small { font-size: 0.75rem; }

/* Dashboard Layout Wrapper */
.dashboard-wrapper {
  padding-left: 280px;
  min-height: 100vh;
  background-color: #f8fafc;
}

.top-nav-dashboard {
  height: 70px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 900;
}

@media (max-width: 991.98px) {
  .dashboard-sidebar-v2 {
    transform: translateX(-100%);
  }
  .dashboard-sidebar-v2.show {
    transform: translateX(0);
  }
  .dashboard-wrapper {
    padding-left: 0;
  }
}
