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

h1,
h3,
h4 {
  color: #f39c12;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #50644c;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #a6d866;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f39c12;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  background: #50644c;
  color: #333;
  padding: 0;
  /* Plus de padding global, la navbar est collée en haut */
  padding-top: 70px;
  /* Espace pour la navbar fixe */
}

#mobile-message {
  display: none;
}

@media only screen and (max-width: 1011px) {
  #mobile-message {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Navigation Bar
--------------------------------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(80, 100, 76, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  background: transparent !important;
  /* Override div shadow */
  box-shadow: none !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #a6d866;
  background: rgba(166, 216, 102, 0.1);
}

.nav-btn-espace {
  background: #a6d866;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(166, 216, 102, 0.3);
}

.nav-btn-espace:hover {
  background: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4);
}

/* Dropdown & Mega Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.themes-grid {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 15px;
  gap: 8px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.themes-grid.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.theme-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  color: #333 !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.theme-item:hover {
  background: #f0f7f0;
  color: #50644c !important;
}

.theme-item span {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Mobile Specifics */
.mobile-section-title {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
  padding: 0 3px;
}

.mobile-themes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 5px;
}

.mobile-theme-item {
  color: #fff !important;
  font-size: 0.85rem;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-theme-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  /* Masqué sur desktop */
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 5px;
}

/* Overlay Menu Mobile */
.nav-menu-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #50644c;
  display: none;
  /* Caché par défaut (Ordi) */
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 999;
  overflow-y: auto;
}

.nav-menu-mobile.active {
  transform: translateX(0);
}

.mobile-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-link i {
  color: #a6d866;
}

.mobile-link:last-child {
  border-bottom: none;
  background: rgba(166, 216, 102, 0.1);
  border-radius: 12px;
  margin-top: 3px;
}

@media (max-width: 860px) {
  .nav-menu-mobile {
    display: flex;
    /* Affiché uniquement sur Mobile */
  }

  .navbar-links {
    display: none;
    /* Masquer sur mobile */
  }

  .nav-toggle {
    display: block;
    /* Afficher hamburger */
  }
}

/*--------------------------------------------------------------
# Principale
--------------------------------------------------------------*/
div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #f39c12;
  text-decoration: none;
}

.anone {
  color: #f39c12;
  text-decoration: none;
}

.anone:hover {
  color: #f39c12;
  text-decoration: underline;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
  color: #2c3e50;
}

h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: center;
  color: #2c3e50;
}

h6 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: center;
  color: #f39c12;
}

p:not(.no-p-style) {
  margin-bottom: 10px;
  text-align: center;
  color: #555;
  max-width: 650px;
  word-wrap: break-word;
  margin-left: auto;
  margin-right: auto;
}

.table-container {
  overflow-x: auto;
  margin-top: 15px;
}

.categories {
  padding-left: 20px;
}

.categories ul {
  padding-left: 0;
  list-style-position: inside;
}

.category {
  margin-bottom: 20px;
}

.back-button {
  display: block;
  text-align: center;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #a6d866;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: fit-content;
}

.back-button:hover {
  background-color: #f39c12;
  color: #F5F5DC;
  cursor: pointer;
}

.regles-vie p,
.regles-vie li {
  text-indent: 8px;
}

.orange {
  color: #f39c12;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #a6d866;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  text-decoration: none;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #f39c12;
  transform: scale(1.28);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Modale diverses
--------------------------------------------------------------*/

.modalspe,
.modal__closespe {
  max-width: none !important;
}

.modalspe {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal__contentspe {
  background-color: white;
  width: 90%;
  max-width: 600px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 10px;
}

.modal__closespe {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

@media (min-width: 1001px) {
  .button-group {
    gap: 5px;
  }
}

.button-group button {
  padding: 10px 15px;
  font-size: 14px;
  width: auto;
  max-width: 100%;
}

@media (min-width: 1001px) {
  .button-group button {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 1000px) {
  .button-group button {
    font-size: 12px;
    width: 100%;
    margin: 5px;
    flex: none;
  }
}

.artist {
  color: #666;
  font-size: 14px;
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Directeur
--------------------------------------------------------------*/

input[type="checkbox"] {
  margin-right: 10px;
}

.section-divider {
  border: none;
  border-top: 2px solid #f39c12;
  margin: 2rem 0;
  width: 100%;
}

/*--------------------------------------------------------------
# Reglementation
--------------------------------------------------------------*/

table {
  border-collapse: collapse;
  max-width: 800px;
  margin: 20px;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #fff;
  width: 100%;
}

.table-container {
  overflow-x: auto;
  max-width: 100%;
}

th,
td {
  padding: 12px;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

td {
  font-size: 1rem;
}

em {
  font-size: 0.9rem;
  color: #555;
  display: block;
  text-align: center;
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 1270px) {
  .close {
    background: transparent;
    color: transparent;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    right: 16px;
    top: 16px;
    font-size: 0;
  }

  .close::before {
    content: '\2190';
    font-size: 20px;
    color: #000;
    line-height: 1;
  }
}

.error {
  color: red;
  font-size: 0.9em;
  margin-top: 10px;
}

.error.hidden {
  display: none;
}

.page-content {
  display: none;
}

.page-content.visible {
  display: block;
}

#passwordInput {
  padding: 10px;
  margin: 15px 0;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#confirmPassword {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

#confirmPassword:hover {
  background-color: #45a049;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.groups-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.group {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid;
}

.group1 {
  border-left-color: #FF6B6B;
}

.group2 {
  border-left-color: #4ECDC4;
}

.group3 {
  border-left-color: #45B7D1;
}

.group h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.participant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.participant:last-child {
  border-bottom: none;
}

.name {
  font-weight: bold;
  color: #333;
}

.name span {
  margin-left: 5px;
}

.info {
  display: flex;
  gap: 10px;
  font-size: 0.9em;
}

.age {
  background: #e8f4f8;
  padding: 2px 8px;
  border-radius: 12px;
  color: #2c5aa0;
}

.gender {
  padding: 2px 8px;
  border-radius: 12px;
  color: white;
}

.masculin {
  background: #3498db;
}

.feminin {
  background: #e74c3c;
}

.stat-simple {
  padding: 10px;
  text-align: center;
}

.stat-simple p {
  margin: 8px 0;
  font-size: 16px;
  color: #333;
}

.stat-highlight {
  font-weight: bold;
  font-size: 18px;
  color: #2c5aa0;
  background-color: #f0f7ff;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0 2px;
}

.stats {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.stats h3 {
  margin-top: 0;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.stat-simple {
  text-align: center;
  margin: 0 auto;
  max-width: 400px;
}

.button-container {
  text-align: center;
  margin: 20px 0;
}

.regenerate-btn {
  background: #45B7D1;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

.regenerate-btn:hover {
  background: #3498db;
}

.options-panel {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.options-panel h3 {
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  margin-right: 15px;
}

.options-panel {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.options-panel h3 {
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
  margin-right: 15px;
}

/* Ajoutez ces styles dans votre fichier style.css */
@media (max-width: 768px) {
  body {
    padding: 10px;
    padding-top: 80px; /* Espace pour la navbar fixe (70px) + marge */
  }

  .container {
    padding: 10px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .groups-container {
    grid-template-columns: 1fr;
  }

  .participant {
    flex-direction: column;
    align-items: flex-start;
  }

  .info {
    margin-top: 5px;
  }

  .options-panel,
  .stats {
    padding: 15px;
  }

  .checkbox-group {
    flex-direction: column;
  }

  .checkbox-group label {
    margin-right: 0;
  }
}

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

  h2 {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 1.3em;
  }
}

/*--------------------------------------------------------------
# Navigation chevrons (desktop uniquement)
--------------------------------------------------------------*/
.page-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .page-navigation {
    display: flex;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 997;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: rgba(166, 216, 102, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    min-width: 50px;
  }

  .page-navigation:hover {
    background-color: rgba(243, 156, 18, 0.95);
    transform: translateY(-50%) scale(1.1);
  }

  .page-navigation.left {
    left: 20px;
  }

  .page-navigation.right {
    right: 20px;
  }

  .page-navigation i {
    font-size: 32px;
  }

  .page-navigation .page-name {
    display: none;
  }

  .page-navigation::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    margin-bottom: 8px;
    max-width: 200px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .page-navigation::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 6px solid transparent;
    border-top-color: rgba(44, 62, 80, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    margin-bottom: 2px;
  }

  .page-navigation:hover::after,
  .page-navigation:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .page-navigation.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }
}

/*--------------------------------------------------------------
# Formation Grid Alignment
--------------------------------------------------------------*/
.formation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-content: center;
}

.formation-grid .back-button {
  width: 100%;
  margin: 0;
  flex: none;
}

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

/*--------------------------------------------------------------
# Lien discret vers un autre site du créateur (footer)
--------------------------------------------------------------*/

.other-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  font-style: italic;
}

.other-site-link:hover {
  color: rgba(243, 156, 18, 0.85);
  border-bottom-color: rgba(243, 156, 18, 0.4);
}

/*--------------------------------------------------------------
# Fads Grid (Mode d'enfance)
--------------------------------------------------------------*/
.fads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
  padding: 15px 15px 15px 0;
  list-style-type: none !important;
}

.fads-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fads-grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(243, 156, 18, 0.3);
}

.fads-grid .img-container {
  width: 100% !important;
  height: 120px !important;
  background: #fdfdfd !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: none !important;
}

.fads-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fads-grid li:hover img {
  transform: scale(1.08);
}

.fads-grid span {
  padding: 10px 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #2c3e50;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .fads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .fads-grid .img-container {
    height: 95px;
  }
}

/*--------------------------------------------------------------
# Lightbox Modal
--------------------------------------------------------------*/
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 82%;
  border-radius: 8px;
  animation: zoom 0.3s ease;
  object-fit: contain;
}

@keyframes zoom {
  from {transform: scale(0.85); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #f39c12;
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  color: #2c3e50 !important;
  font-size: 1.1rem;
  width: 100%;
  font-weight: bold;
  background: #ffffff;
  padding: 18px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  text-shadow: none !important;
  max-width: none;
  border-radius: 0;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(243, 156, 18, 0.9);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next {
    width: 45px;
    height: 45px;
    font-size: 24px;
    padding: 0 !important;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-content {
    max-width: 95%;
    max-height: 75%;
  }
}