/*
Custom Css
*/

.gallery .gallery-item {
  border: 4px solid #1DA455;
  padding: 10px;
  border-radius: 8px;
  background-color: #1DA455;
}

.gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery .gallery-caption {
  margin-top: 8px;
  font-size: 0.9rem;
  text-align: center;
  color: #ffffff;
}

/* Estilos para modales de contenido */
#contenidoModal .modal-dialog {
  max-width: 700px;
  min-height: 500px;
}

#contenidoModal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#contenidoModal .modal-header {
  background: linear-gradient(135deg, #1DA455 0%, #2ecc71 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  border: none;
  padding: 20px 25px;
}

#contenidoModal .modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

#contenidoModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

#contenidoModal .btn-close:hover {
  opacity: 1;
}

#contenidoModal .modal-body {
  padding: 30px 25px;
  max-height: 500px;
  overflow-y: auto;
  background-color: #fafafa;
}

#contenidoModal .modal-footer {
  border: none;
  padding: 20px 25px;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

/* Estilos para el contenido del modal */
.modal-content-custom {
  line-height: 1.6;
}

.modal-title-custom {
  color: #1DA455;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 3px solid #1DA455;
  padding-bottom: 15px;
}

.modal-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #1DA455;
}

.modal-section h4 {
  color: #1DA455;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section ul {
  margin: 0;
  padding-left: 20px;
}

.modal-section li {
  margin-bottom: 8px;
  color: #333;
}

.modal-section li strong {
  color: #1DA455;
}

.modal-tip {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #1DA455;
  border-radius: 8px;
  padding: 20px;
  margin-top: 25px;
  text-align: center;
}

.modal-tip p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

/* Scrollbar personalizada para el modal */
#contenidoModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#contenidoModal .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#contenidoModal .modal-body::-webkit-scrollbar-thumb {
  background: #1DA455;
  border-radius: 10px;
}

#contenidoModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #2ecc71;
}

/* Estilos para lightbox2 */
.lightbox .lb-dataContainer {
  font-size: 0.8rem !important;
}

.lightbox .lb-caption {
  font-size: 0.75rem !important;
  line-height: 1.3 !important;
  padding: 10px !important;
}

.lightbox .lb-number {
  font-size: 0.7rem !important;
}

/* Estilos más específicos para el caption */
.lb-data {
  font-size: 0.8rem !important;
}

.lb-captionContainer {
  font-size: 0.75rem !important;
}

/* Animación de entrada */
#contenidoModal .modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

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