/* Components CSS - Card Fotografo e Modella - Ottimizzato */

/* Card Base Styles */
.user-card,
.card-fotografo,
.card-modella {
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.user-card:hover,
.card-fotografo:hover,
.card-modella:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Card Content */
.card-content {
  padding: 1.5rem;
  padding-top: 0;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Layout specifico per user-card - 2 colonne come sito di riferimento */
.user-card .card-header {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1rem;
  margin-bottom: 0; /* Rimosso margin-bottom */
  align-items: flex-start;
}

.user-card .card-avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  justify-self: center;
  min-width: 8rem; /* Grande il doppio */
  min-height: 8rem; /* Grande il doppio */
}

.user-card .card-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-card .card-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.user-card .card-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.user-card .card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}

.user-card .card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.user-card .card-tag-tier-gold {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.user-card .card-tag-tier-silver {
  background-color: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
}

.user-card .card-tag-tier-bronze {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.user-card .card-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 4px 0 4px 0; /* 4px sopra e sotto */
}

.user-card .card-photo-preview {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.user-card .card-photo-item {
  flex: 1;
  aspect-ratio: 1;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.user-card .card-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8f9fa;
}

.user-card .card-photo-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  background-color: #d1d5db;
  border-radius: 50%;
  opacity: 0.5;
}

.user-card .card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.user-card .card-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.user-card .card-stat-icon {
  width: 1rem;
  height: 1rem;
}

.user-card .card-button {
  width: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  cursor: pointer;
}

.user-card .card-button:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Avatar */
.card-avatar-link {
  display: block;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.card-avatar-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.card-avatar {
  width: 6rem; /* doppio della dimensione originale (3rem -> 6rem) */
  height: 6rem; /* doppio della dimensione originale (3rem -> 6rem) */
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* Profile Info */
.card-profile-info {
  flex: 1;
  min-width: 0;
}

.card-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-location-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Tags Container */
.card-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-tag-specialty {
  background-color: #f3f4f6;
  color: #374151;
}

.card-tag-tier-gold {
  background: linear-gradient(to right, #f3f4f6, #e5e7eb);
  color: #000000;
}

.card-tag-tier-silver {
  background-color: rgba(107, 114, 128, 0.2);
  color: #374151;
}

.card-tag-tier-bronze {
  border: 1px solid #e5e7eb;
  color: #374151;
}

/* Description */
.card-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Photo Preview */
.card-photo-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-photo-item {
  aspect-ratio: 1 / 1;
  border-radius: 0.375rem;
  overflow: hidden;
}

.card-photo-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-photo-link:hover {
  text-decoration: none;
}

.card-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8f9fa;
}

/* Stats */
.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-stat-icon {
  width: 1rem;
  height: 1rem;
}

/* Button */
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
  color: inherit;
  background: none;
  outline: none;
}

.card-button:visited {
  color: inherit;
}

.card-button:active {
  color: inherit;
  background: inherit;
}

.card-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.card-button-primary {
  background-color: #d4af37;
  color: white;
  border: none;
}

.card-button-primary:hover {
  background-color: #b8941f;
  transform: translateY(-1px);
  color: white;
}

.card-button-primary:visited {
  color: white;
}

.card-button-primary:active {
  background-color: #a0851a;
  color: white;
}

/* Photo Thumbnail Component */
.photo-thumbnail {
  position: relative;
  overflow: hidden;
  background-color: #000;
  box-shadow: none;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.photo-thumbnail:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.photo-thumbnail-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.photo-thumbnail-link:hover {
  text-decoration: none;
  color: inherit;
}

.photo-thumbnail-image-container {
  position: relative;
  overflow: hidden;
}

/* Default square aspect ratio */
.photo-thumbnail-image-container {
  aspect-ratio: 1 / 1;
}

/* Masonry: natural heights for dynamic layout */
.photo-gallery .photo-thumbnail-image-container {
  aspect-ratio: auto;
  height: auto;
}

/* Remove fixed heights to prevent cropping */
.photo-gallery .photo-thumbnail:nth-child(3n+1) .photo-thumbnail-image-container,
.photo-gallery .photo-thumbnail:nth-child(3n+2) .photo-thumbnail-image-container,
.photo-gallery .photo-thumbnail:nth-child(3n+3) .photo-thumbnail-image-container,
.photo-gallery .photo-thumbnail:nth-child(7n+1) .photo-thumbnail-image-container,
.photo-gallery .photo-thumbnail:nth-child(11n+1) .photo-thumbnail-image-container {
  height: auto;
}

.photo-thumbnail-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #000;
  display: block;
  transition: transform 0.3s ease;
}

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

.photo-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-thumbnail:hover .photo-thumbnail-overlay {
  opacity: 1;
}

.photo-thumbnail-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  z-index: 10;
}

.photo-thumbnail-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.photo-thumbnail-author {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.photo-thumbnail-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.photo-thumbnail-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.photo-thumbnail-stat-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Photo Grid Layouts */
.photo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .photo-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
  }
}

@media (min-width: 1024px) {
  .photo-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
  }
}

/* Photo Grid 6 - RIMOSSO - Ora gestito da thumbnails.css */


#navbar_user_logged .nav-link {
  color: #000000;
  padding: 0.75rem 1rem !important;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
  line-height: 1.5 !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
}

#navbar_user_logged .nav-link:hover {
  color: #000000;
  background-color: rgba(0, 0, 0, 0.1);
}

#navbar_user_logged .nav-link.active {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.8);
}

#navbar_user_logged .nav-link.disabled {
  color: #666666;
  opacity: 0.6;
  cursor: not-allowed;
}

#navbar_user_logged .nav-link.text-danger {
  color: #dc3545 !important;
}

#navbar_user_logged .nav-link.text-danger:hover {
  color: #ffffff !important;
  background-color: #dc3545;
}

/* User Avatar in navbar */
.user-navbar-avatar {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#navbar_user_logged .nav-link:hover .user-navbar-avatar {
  border-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Main Navigation positioning */
#navbar_main {
  z-index: 9998 !important;
  width: 100% !important;
  background-color: #d4af37 !important;
  min-height: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  display: flex !important;
  align-items: center !important;
}

#navbar_main.main-navbar-with-user {
  position: fixed !important;
  top: 56px !important; /* Height of user navbar */
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  min-height: 56px !important;
  height: 56px !important;
  margin-top: 0 !important;
  border-top: none !important;
}

/* Ensure navbar main elements are visible */
#navbar_main .navbar-brand {
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
}

#navbar_main .navbar-brand svg {
  color: #ffffff !important;
  fill: currentColor !important;
  stroke: none !important;
}

#navbar_main .navbar-brand span {
  color: #ffffff !important;
  font-weight: 600 !important;
}

#navbar_main .nav-link {
  color: #ffffff !important;
}

#navbar_main .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
}

#navbar_main .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
}

#navbar_main .nav-link svg {
  color: #ffffff !important;
  fill: currentColor !important;
  stroke: none !important;
}

#navbar_main .btn {
  border-color: #ffffff !important;
  color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-outline-light {
  border-color: #ffffff !important;
  color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-primary {
  background-color: #007bff !important;
  border-color: #007bff !important;
  color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-primary:hover {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-outline-warning {
  border-color: #ffc107 !important;
  color: #ffc107 !important;
  border-radius: 0.25rem !important;
}

#navbar_main .btn-outline-warning:hover {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #000000 !important;
  border-radius: 0.25rem !important;
}

#navbar_main .dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.25rem !important;
}

/* SVG Icons sizing and visibility */
#navbar_user_logged svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}

#navbar_main svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}

#navbar_main .navbar-brand svg {
  width: 24px !important;
  height: 24px !important;
  fill: #ffffff !important;
  stroke: none !important;
  flex-shrink: 0 !important;
}

/* User avatar sizing */
#navbar_user_logged .user-navbar-avatar {
  width: 32px !important;
  height: 32px !important;
  object-fit: cover !important;
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
}

/* Navbar items alignment */
#navbar_main .navbar-nav {
  align-items: center !important;
  height: 64px !important;
  margin: 0 !important;
}

#navbar_main .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 64px !important;
  margin: 0 !important;
}

#navbar_main .nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  position: relative !important;
  z-index: inherit !important;
  height: 64px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

#navbar_main .btn {
  padding: 0.5rem 1rem !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

#navbar_main .dropdown-toggle {
  padding: 0.5rem 1rem !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Container alignment */
#navbar_main .container {
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 1rem !important;
}

/* Navbar collapse - only apply height and display flex on desktop */
@media (min-width: 992px) {
  #navbar_main .navbar-collapse {
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
  }
}

#navbar_main .navbar-brand {
  height: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}

/* Force all navbar content to be on top */
#navbar_user_logged *,
#navbar_main * {
  position: relative !important;
  z-index: inherit !important;
}

#navbar_user_logged .container,
#navbar_main .container {
  position: relative !important;
  z-index: inherit !important;
}

#navbar_user_logged .navbar-nav,
#navbar_main .navbar-nav {
  position: relative !important;
  z-index: inherit !important;
}

#navbar_user_logged .navbar-brand,
#navbar_main .navbar-brand {
  position: relative !important;
  z-index: inherit !important;
}

/* Adjust main content when user navbar is present */
body {
  padding-top: 64px; /* Main navbar height */
}

body.user-logged-in {
  padding-top: 64px; /* Main navbar height only */
}

/* Breadcrumb navigation */
#breadcrumb-nav {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  z-index: 10 !important;
}

/* Override py-5 padding */
.py-5 {
  /* padding-top: 3rem !important; */
  padding-bottom: 3rem !important;
}

/* Override any conflicting Bootstrap or other CSS */
#navbar_user_logged.navbar,
#navbar_main.navbar {
  z-index: 9999 !important;
  position: fixed !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

#navbar_user_logged.navbar {
  top: 0 !important;
}

#navbar_main.navbar.main-navbar-with-user {
  top: 64px !important;
  z-index: 9998 !important;
}

/* Ensure visibility over everything */
#navbar_user_logged,
#navbar_main {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

/* Masonry Layout for Photo Gallery - FORZATO */
.photo-gallery {
  column-count: 4 !important;
  column-gap: 0px !important;
  column-fill: balance !important;
  width: 100% !important;
  max-width: 100% !important;
}

.photo-gallery .photo-thumbnail {
  break-inside: avoid;
  margin-bottom: 0px;
  width: 100%;
}

@media (max-width: 1200px) {
  .photo-gallery {
    column-count: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    column-count: 3 !important;
  }
}

/* FORZA 4 COLONNE SU DESKTOP */
@media (min-width: 768px) {
  .photo-gallery {
    column-count: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    column-count: 2;
  }
}

@media (max-width: 320px) {
  .photo-gallery {
    column-count: 1;
  }
}

/* Photo Thumbnail Sizes */
.photo-thumbnail-small {
  max-width: 200px;
}

.photo-thumbnail-medium {
  max-width: 312px;
}

.photo-thumbnail-large {
  max-width: 400px;
}

/* Photo Thumbnail Variants */
.photo-thumbnail-minimal {
  box-shadow: none;
  border: 1px solid #e5e7eb;
}

.photo-thumbnail-minimal:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: none;
}

.photo-thumbnail-card {
  padding: 1rem;
  background-color: #000;
  border-radius: 0;
  border: none;
}

.photo-thumbnail-card .photo-thumbnail-image-container {
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.photo-thumbnail-card .photo-thumbnail-content {
  position: static;
  color: #374151;
  padding: 0;
}

.photo-thumbnail-card .photo-thumbnail-title {
  color: #1a1a1a;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.photo-thumbnail-card .photo-thumbnail-author {
  color: #6b7280;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.photo-thumbnail-card .photo-thumbnail-stats {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Breadcrumb Component */
.breadcrumb-container {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-link:hover {
  color: #1a1a1a;
}

.breadcrumb-link-home {
  font-weight: 500;
}

.breadcrumb-home-icon {
  width: 1rem;
  height: 1rem;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}

.breadcrumb-separator-icon {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
}

.breadcrumb-current {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.875rem;
}

.breadcrumb-item-current .breadcrumb-current {
  color: #1a1a1a;
  font-weight: 600;
}

/* Breadcrumb Variants */
.breadcrumb-minimal {
  background-color: transparent;
  border-bottom: none;
  padding: 0.5rem 0;
}

.breadcrumb-minimal .breadcrumb-list {
  padding-left: 0;
  padding-right: 0;
}

.breadcrumb-dark {
  background-color: #1a1a1a;
  border-bottom-color: #374151;
}

.breadcrumb-dark .breadcrumb-link {
  color: #9ca3af;
}

.breadcrumb-dark .breadcrumb-link:hover {
  color: #ffffff;
}

.breadcrumb-dark .breadcrumb-current {
  color: #ffffff;
}

.breadcrumb-dark .breadcrumb-separator-icon {
  color: #6b7280;
}

/* Mobile Breadcrumb */
@media (max-width: 768px) {
  .breadcrumb-container {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-list {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .breadcrumb-link,
  .breadcrumb-current {
    font-size: 0.75rem;
  }
  
  .breadcrumb-separator {
    margin: 0 0.25rem;
  }
  
  .breadcrumb-separator-icon,
  .breadcrumb-home-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
}

/* Navigation Responsive Fix */
/* Desktop: nascondi mobile, mostra desktop */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: flex !important;
  }
}

/* Mobile: nascondi desktop, mostra mobile */
@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
}


/* Navigation Desktop Buttons Styling */
#nav-links-desktop-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  margin-top: 0.5rem;
}

/* Responsive positioning for desktop buttons */
@media (min-width: 768px) {
  #nav-links-desktop-buttons {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  #nav-links-desktop-buttons {
    display: none !important;
  }
}

/* Avatar link in navbar */
#navbar_main .btn.p-1 {
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    border: 2px solid transparent !important;
}

#navbar_main .btn.p-1:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#navbar_main .btn.p-1 img {
    transition: all 0.2s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

#navbar_main .btn.p-1:hover img {
    border-color: rgba(255, 255, 255, 0.8) !important;
}

