/* Plushy.app Custom Styles */

:root {
  --primary-color: #FF69B4;  /* Hot pink for brand identity */
  --secondary-color: #7211a6; /* Deep purple */
  --accent-color: #c2f0ff;   /* Light blue */
  --background-color: #fffafc; /* Very light pink */
  --text-color: #333;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, #fde2ff, #c2f0ff);
  padding: 0.8rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.navbar-brand span {
  margin-left: 0.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color) !important;
  padding: 0.5rem 1rem;
}

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

.nav-link.cta-button {
  background-color: var(--primary-color);
  color: white !important;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
}

.nav-link.cta-button:hover {
  transform: scale(1.05);
}

/* Header / Hero section */
.hero {
  background: linear-gradient(to bottom right, #fde2ff, #c2f0ff);
  padding: 5rem 2rem;
  text-align: center;
  border-radius: 0 0 50% 50% / 15%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(255, 105, 180, 0.4);
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Cards */
.card {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: none;
  padding: 1rem 1.25rem;
}

/* Gallery */
.gallery-item {
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  padding: 0.5rem;
  display: flex;
  justify-content: space-around;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-actions {
  opacity: 1;
}

.gallery-actions a {
  color: white;
  font-size: 1.1rem;
}

/* Upload Area */
.upload-area {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  border: 2px dashed #ced4da;
  border-radius: 5px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;
}

.upload-area:hover,
.upload-area.dragover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.upload-area.has-file {
  background-color: transparent;
  border-style: solid;
}

.upload-placeholder {
  text-align: center;
}

.upload-icon {
  font-size: 48px;
  color: #adb5bd;
  margin-bottom: 15px;
}

/* Enlarged image preview */
.image-preview-container {
  position: relative;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #f1f1f1;
  border-radius: 8px;
}

.preview#image-preview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Enhanced result preview */
.result-container .image-holder {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.result-preview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Result Container Styling */
.result-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  border: 2px solid #ced4da;
  border-radius: 12px;
  padding: 20px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.result-loading {
  text-align: center;
}

.image-holder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Reset Button Styling */
.reset-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(255, 105, 180, 0.4);
}

.reset-btn:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

.reset-btn i {
  margin-right: 5px;
}

/* Make upload box and result box the same height on desktop */
@media (min-width: 768px) {
  .upload-area, 
  .empty-result, 
  .loading-container, 
  .result-container {
    height: 380px;
  }
}

/* Pricing Cards */
.pricing-card {
  text-align: center;
  padding: 2rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-subtitle {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Animation for WOW effect */
@keyframes sparkle {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.wow-effect {
  animation: sparkle 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
    border-radius: 0 0 20% 20% / 5%;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .nav-link.cta-button {
    margin: 0.5rem 0;
  }
}

/* User menu in dashboard */
.user-menu.show-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dashboard styles */
.dashboard-container {
  margin-top: -1rem; /* Remove gap from navbar */
}

.sidebar-brand {
  display: flex;
  align-items: center;
}

/* Enhanced gallery styles */
.gallery-section .card {
  transition: all 0.3s ease;
}

.gallery-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-section .card-img-top {
  transition: all 0.5s ease;
}

.gallery-section .card:hover .card-img-top {
  transform: scale(1.05);
}

/* Improved comparison layout */
.image-comparison {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.comparison-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.comparison-image h6 {
  margin-bottom: 0.5rem;
}

.comparison-image img {
  max-width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .comparison-image img {
    height: 240px;
  }
}

/* Camera styles */
.camera-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #faf5eb;
}

.camera-container video {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.camera-preview img {
  max-height: 60vh;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.camera-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 8px;
  margin: 10px;
  pointer-events: none;
}

/* Camera button styles */
#camera-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

#camera-button i {
  margin-right: 0.5rem;
}

/* Loading message animation */
.message-change {
  animation: message-fade 0.3s ease;
}

@keyframes message-fade {
  0% { opacity: 0.5; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Gallery image container */
.gallery-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f9f9f9;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Modal image styling */
.modal-img {
  max-height: 70vh;
  object-fit: contain;
  background-color: #f9f9f9;
}

.image-toggle-container {
  padding: 1rem;
  background-color: #f9f9f9;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
}

/* Button toggle styling */
.btn-group .btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-group .btn:not(.active) {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Transition effect for image toggle */
#modalImage {
  transition: opacity 0.3s ease;
}

.opacity-0 {
  opacity: 0;
}

/* Fix modal stability issues */
.modal-dialog {
  transform: none !important;
  will-change: auto !important;
  transition: none !important;
  margin: 1.75rem auto;
  pointer-events: auto;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.modal-content {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.modal-body {
  pointer-events: auto;
}

/* Disable hover effects inside modal to prevent shaking */
#imageModal .btn:hover,
#imageModal .gallery-image:hover,
#imageModal .card:hover {
  transform: none !important;
  box-shadow: inherit !important;
}

/* Make sure image isn't affected by hover effects */
.image-toggle-container img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Only apply opacity transition, not transforms */
#modalImage {
  transition: opacity 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Set fixed dimensions for the modal image to prevent layout shifts */
.modal-img {
  max-height: 70vh;
  object-fit: contain;
  background-color: #f9f9f9;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Modal core fixes - eliminate all shaking */
#imageModal {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

/* Make sure the dialog doesn't animate or transform */
#imageModal .modal-dialog {
  transform: none !important;
  transition: none !important;
  animation: none !important;
  margin: 1.75rem auto;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-origin: center center !important;
}

#imageModal .modal-content {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  will-change: auto;
  transform: translateZ(0) !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: none !important;
  pointer-events: auto;
  perspective: 1000px;
}

/* Completely eliminate all transforms and animations while modal is open */
body.modal-open * {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* Isolate modal content from hover effects */
#imageModal .modal-header,
#imageModal .modal-body,
#imageModal .modal-footer,
#imageModal button,
#imageModal img {
  pointer-events: auto;
  transform: none !important;
  transition: none !important;
}

/* Fix image container to prevent any layout shifts */
#imageModal .image-toggle-container {
  background-color: #f9f9f9;
  overflow: hidden;
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
}

/* Fix image to prevent any shifts */
#imageModal #modalImage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Side-by-side image comparison in gallery */
.image-comparison-gallery {
  display: flex;
  border-bottom: 1px solid #eee;
}

.comparison-item {
  flex: 1;
  position: relative;
  height: 150px;
  overflow: hidden;
  cursor: pointer;
}

.comparison-item:first-child {
  border-right: 1px solid #eee;
}

.comparison-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}

.comparison-item:hover img {
  transform: scale(1.05);
}

.image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.8rem;
  padding: 3px 0;
  text-align: center;
}

/* Simple image container for modal */
.simple-image-container {
  padding: 0;
  background-color: #faf5eb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  width: 100%;
}

.simple-image-container img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

/* Artistic Gallery Layout */
.artistic-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 15px;
  margin: 0 -5px; /* Negative margin to reduce whitespace */
}

/* Gallery Item */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Transform Pair Container */
.transformation-pair {
  position: relative;
  height: 240px;
  background: #faf5eb;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2px; /* Minimal gap between images */
}

/* Original and Transformed Images */
.original-image, .transformed-image {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #faf5eb;
}

.original-image img, .transformed-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.gallery-item:hover .original-image img,
.gallery-item:hover .transformed-image img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 10px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

/* Before/After Labels */
.before-after-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  position: absolute;
  width: 100%;
  top: -30px;
  left: 0;
  padding: 0 10px;
}

.before-label, .after-label {
  background: rgba(0,0,0,0.6);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.before-label {
  align-self: flex-start;
}

.after-label {
  align-self: flex-end;
}

/* Action Bar */
.overlay-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.creation-date {
  font-size: 0.8rem;
  opacity: 0.8;
}

.action-icons {
  display: flex;
  gap: 10px;
}

.action-icon {
  color: white;
  background: rgba(255,255,255,0.2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-icon:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* Empty State */
.empty-gallery-state {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.empty-gallery-state i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .artistic-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .transformation-pair {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .artistic-gallery {
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }
}

/* Header credits display */
.header-credits {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 6px 15px;
  color: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.header-credits .bi-coin {
  font-size: 1.1rem;
  color: #FFD700;
}

.credits-count {
  font-weight: bold;
  font-size: 1.1rem;
}

.credits-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 576px) {
  .header-credits {
    padding: 4px 10px;
  }
  
  .header-credits .bi-coin {
    font-size: 1rem;
  }
  
  .credits-count {
    font-size: 1rem;
  }
  
  .credits-label {
    font-size: 0.8rem;
  }
}

/* Loading spinner enhancement */
.spinner-border {
  width: 3.5rem;
  height: 3.5rem;
  border-width: 0.25em;
  animation-duration: 1s;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.2);
}

/* Image Comparison Styling */
.transformation-result {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Empty result styling with larger image */
.empty-result {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border: 2px dashed #eee;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.empty-result img {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Sidebar styles */
.sidebar {
  width: 280px;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  padding: 1.5rem 1rem;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 1030;
}

/* Hidden sidebar */
.sidebar-hidden {
  transform: translateX(-100%);
}

/* Mobile menu toggle button - only visible on mobile screens */
.mobile-menu-toggle {
  display: none; /* Hidden by default on desktop */
  color: var(--secondary-color);
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu-toggle:hover {
  color: var(--primary-color);
}

/* Show hamburger only on mobile */
@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
    margin-right: 0.5rem;
  }
}

/* Sidebar is always visible on desktop */
@media (min-width: 992px) {
  .sidebar {
    transform: translateX(0) !important; /* Force sidebar to be visible on desktop */
    opacity: 1 !important;
  }
  
  .main-content {
    margin-left: 280px; /* Fixed margin to accommodate sidebar */
  }
}

/* Overlay for sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1025;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ensure main content doesn't overlap sidebar when sidebar is visible */
.main-content {
  transition: margin-left 0.3s ease;
  margin-left: 0;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    margin-right: 0.5rem;
  }
  
  .sidebar {
    width: 85%;
    max-width: 280px;
  }
}

/* Loading container styling */
.loading-container {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.loading-message {
  color: var(--primary-color);
  font-family: 'Fredoka', sans-serif;
}

.progress {
  width: 80%;
  height: 10px;
  border-radius: 10px;
  background-color: #e9e9e9;
}

/* Make spinner bigger and colored */
.loading-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
}

/* Loading animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Combined spinning and bouncing for loading spinner */
.loading-container .spinner-border {
  animation: 
    spinner-border 0.75s linear infinite,
    bounce 1.5s ease infinite;
}

/* Social Share Styles */
.share-dropdown {
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease;
}

.share-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.share-dropdown .dropdown-item i {
    font-size: 1.1rem;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.share-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.share-buttons {
    display: inline-block;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.share-buttons span {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 500;
}

.share-buttons a {
    margin: 0 4px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.share-buttons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.action-icon.dropdown-toggle {
    position: relative;
}

.action-icon.dropdown-toggle:after {
    display: none;
}

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

/* Share buttons container */
.share-buttons-container {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-top: 1.5rem;
  border: 2px solid #ced4da;
}

.share-buttons-container h6 {
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 600;
}

/* Larger, more prominent share buttons */
.share-buttons-container .share-buttons {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.share-buttons-container .btn {
  width: 45px;
  height: 45px;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.share-buttons-container .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
} 