/* Tamaño responsive de tipografía
10px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
11px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
12px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1);
13px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.15);
14px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
15px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.25);
16px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.3);
17px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
18px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.5);
20px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.7);
25px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2.1);
30px = font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2.5);
*/

@font-face {
  font-family: "Caslon-Regular";
  src: url("../include/Fonts/Caslon/Caslon-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Caslon-Bold";
  src: url("../include/Fonts/Caslon/Caslon-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Caslon-Italic";
  src: url("../include/Fonts/Caslon/Caslon-Italic.ttf") format("truetype");
}

:root {
  /* ======== FUENTES ======== */
  --font-body-family: "Caslon-Regular", sans-serif;
  --font-body-family-bold: "Caslon-Bold", sans-serif;
  --font-body-family-italic: "Caslon-Italic", sans-serif;
  --font-body-style: normal;
  --font-body-weight-1: 400;
  --font-body-weight-2: 500;
  --font-body-weight-3: 600;
  --font-body-weight-4: 700;
  --font-body-weight-5: 800;
  --text-color-Title: rgba(4, 82, 18, 0.61);
  --text-color-Body: rgba(4, 82, 18, 0.61);

  /* ======== FONDOS ======== */
  --background-Body: #fafafa;
  --background-NavBar: #ffffff;
  --font-color-NavBar: rgba(4, 82, 18, 0.61);
  --font-color-NavBar-hover: rgba(2, 70, 14, 0.61);

  /* ======== BOTONES ======== */
  --button-global-color: rgba(4, 82, 18, 0.61);
  --button-global-color-hover: rgba(2, 70, 14, 0.61);

  /* ======== MENSAJES ======== */
  --color-success-message: rgba(4, 82, 18, 0.61);
  --color-invalid-message: #ef4444;

  /* ======== ESCALA DE TEXTO ======== */
  --text-scale-ratio: 1.2;
  --base-size: 1rem;
}

/* ==========================================================================
   GLOBALES
   ========================================================================== */

html {
  scroll-padding-top: 250px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-Body);
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-size: var(--base-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  font-weight: var(--font-body-weight-5);
}

h2 {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
}

h3 {
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
}

h4 {
  font-size: calc(var(--base-size) * 0.9 * var(--text-scale-ratio));
}

h5 {
  font-size: calc(var(--base-size) * 0.8 * var(--text-scale-ratio));
}

h6 {
  font-size: calc(var(--base-size) * 0.7 * var(--text-scale-ratio));
}

p {
  margin: 0px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
}

/* ==========================================================================
   COMPONENTES UI
   ========================================================================== */

/* BOTONES */

.btn-global {
  background: var(--button-global-color);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
  min-width: 200px;
  text-decoration: none;
}

.btn-global:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(44, 90, 160, 0.4);
  background: var(--button-global-color-hover);
}

.btn-global:active {
  transform: translateY(-1px);
}

.btn-global:disabled,
.btn-global[disabled] {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.65;
}

/* TEXTO */

.p1-section {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  font-weight: var(--font-body-weight-4);
  color: var(--text-color-Title);
  margin-bottom: 10px;
}

.p2-section {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  font-weight: var(--font-body-weight-5);
  margin-bottom: 10px;
}

.p3-section {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
}

.p1-news {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1);
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p2-news {
  font-size: calc(var(--base-size) * 0.85);
  margin: 0 0 8px 0;
  color: #666;
  font-weight: 500;
}

/* FILTROS */

.search-filter {
  width: 100%;
}

.search-filter input,
.search-filter select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e8f0;
  border-radius: 12px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  background: white;
  transition: all 0.3s ease;
  outline: none;
}

.search-filter input:focus,
.search-filter select:focus {
  border-color: rgba(32, 100, 45, 0.61);
  box-shadow: 0 0 0 3px rgba(79, 131, 204, 0.1);
  transform: translateY(-2px);
}

.search-filter input:hover,
.search-filter select:hover {
  border-color: rgba(32, 100, 45, 0.61);
}

.search-filter select {
  cursor: pointer;
  appearance: none;
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

/* ADMIN CONTAINER */

.admin-panel-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* MENSAJES EN WEB*/

.flash-message-container {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1056;
  width: auto;
  min-width: 300px;
  max-width: 90%;
}
.flash-message-container .alert {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 1;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.flash-message-container .alert.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

/* ERRORES */

.error {
  color: rgb(179, 6, 6);
  display: flex;
  justify-content: center;
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
  margin-top: 20px;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */

/* ANIMACIÓN HOJAS */

.bg-animation {
  height: 20px;
  z-index: -1;
}

.floating-leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(18, 95, 32, 0.61);
  border-radius: 50% 0;
  opacity: 0.7;
  animation: float 20s infinite linear;
}

.floating-leaf:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.floating-leaf:nth-child(2) {
  left: 20%;
  animation-delay: -6s;
}

.floating-leaf:nth-child(3) {
  left: 30%;
  animation-delay: -14s;
}

.floating-leaf:nth-child(4) {
  left: 40%;
  animation-delay: -2s;
}

.floating-leaf:nth-child(5) {
  left: 50%;
  animation-delay: -10s;
}

.floating-leaf:nth-child(6) {
  left: 60%;
  animation-delay: -8s;
}

.floating-leaf:nth-child(7) {
  left: 70%;
  animation-delay: -12s;
}

.floating-leaf:nth-child(8) {
  left: 80%;
  animation-delay: -4s;
}

/* ---------------------------------------------------------------------- */

/* ANIMACIONES */

@keyframes float {
  0% {
    transform: translateY(-100vh) rotate(0deg);
  }

  100% {
    transform: translateY(500px) rotate(360deg);
  }
}

/* ANIMACIÓN FADEINUP */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANIMACIÓN PULSE */

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ANIMACIÓN MODALSLIDEIN */
@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* MÁQUINA DE ESCRIBIR */
.typewriter-cursor {
  display: inline-block;
  background-color: #333;
  width: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from,
  to {
    background-color: transparent;
  }
  50% {
    background-color: #333;
  }
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ESTILOS PARA HEADER
   ========================================================================== */
.header_logo {
  width: 220px;
}

/* ==========================================================================
   ESTILOS PARA NAVBAR
   ========================================================================== */

.navbar .container {
  max-width: 1300px;
}

.navContainer {
  background-color: var(--background-NavBar);
  padding: 10px 0;
}

.container-fluid {
  display: flex;
  background-color: var(--background-NavBar);
  gap: 50px;
}

.bg-body-tertiary {
  background-color: var(--background-NavBar) !important;
}

.navbar-nav .nav-item .nav-link {
  color: var(--font-color-NavBar);
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
}

.navbar-nav .nav-item .nav-link:hover {
  color: var(--font-color-NavBar-hover);
}

.navbar-nav {
  gap: 30px;
  align-items: center;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.buttonNavContainer {
  display: flex;
  gap: 15px;
  width: 265px;
}

.buttonNavContainer .btn-global {
  min-width: 100px;
}

.navbar-nav .dropdown-menu {
  background-color: var(--background-NavBar, #ffffff);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  animation: fadeInDropdown 0.2s ease-out;
}

.navbar-nav .dropdown-item {
  font-family: var(--font-body-family);
  font-weight: 500;
  color: var(--font-color-NavBar);
  padding: 0.75rem 1.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background-color: var(--button-global-color);
  color: #ffffff;
}

.navbar-nav .dropdown-divider {
  border-top: 1px solid #f0f0f0;
}

/* ==========================================================================
   ESTILOS PARA FOOTER
   ========================================================================== */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  backdrop-filter: blur(20px);
  height: 170px;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  gap: 20px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  flex-wrap: wrap;
}

.footer-logo img {
  width: 160px;
  height: 60px;
  border-radius: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.socialmedia-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.socialmedia-icons img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  animation: pulse 2s infinite ease-in-out;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.login-logo .socialmedia-icons img:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE LOGIN
   ========================================================================== */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-body-family);
}

.login-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

/* AOS Animation Enhancements */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  will-change: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Custom AOS animations */
[data-aos="shake"] {
  animation: shake 0.5s ease-in-out;
}

/* Enhanced AOS transitions */
[data-aos="fade-in"] {
  transform: translateY(30px);
}

[data-aos="fade-in"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.login-header {
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.login-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

.logo-container {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  background: transparent;
}

.login-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.login-logo:focus {
  outline: none;
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.login-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-subtitle {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.login-form-container {
  padding: 40px 30px;
}

.login-form .form-group {
  margin-bottom: 25px;
}

.login-form .input-group {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.login-form .input-group:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.login-form .input-group:focus-within {
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
  transform: translateY(-3px);
}

.login-form .input-group-text {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  padding: 15px 20px;
  font-size: 1.1rem;
  min-width: 50px;
  justify-content: center;
}

.login-input {
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.login-input:focus {
  background: white;
  box-shadow: inset 0 0 0 2px #28a745;
  outline: none;
}

.login-input::placeholder {
  color: #6c757d;
  font-weight: 300;
}

.login-error {
  border-radius: 15px;
  border: none;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white !important;
  padding: 15px 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  border-radius: 15px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838, #1e7e34);
}

.login-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Override Bootstrap button styles for login */
.login-btn.btn-primary {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  border: none !important;
}

.login-btn.btn-primary:hover {
  background: linear-gradient(135deg, #218838, #1e7e34) !important;
}

.login-btn.btn-primary:focus {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25) !important;
}

/* Disabled state for login button */
.login-btn:disabled,
.login-btn[disabled] {
  background: #6c757d !important;
  border-color: #6c757d !important;
  color: #ffffff !important;
  cursor: not-allowed;
  opacity: 1 !important;
  box-shadow: none !important;
}

.login-footer {
  background: #f8f9fa;
  padding: 25px 30px;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.login-footer p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .login-container {
    max-width: 100%;
    margin: 0 15px;
  }

  .login-header {
    padding: 30px 20px 25px;
  }

  .login-title {
    font-size: 2rem;
  }

  .login-form-container {
    padding: 30px 20px;
  }

  .login-footer {
    padding: 20px;
  }
}

/* ==========================================================================
   ESTILOS PARA PAGINACION
   ========================================================================== */

.pagination_Container {
  display: flex;
  justify-content: center;
  margin: 50px auto;
  padding: 0 15px;
}

.PageNavigation {
  width: 90%;
  z-index: 0;
}

.pagination {
  flex-wrap: wrap;
  justify-content: center;
}

.pagination li a {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  color: #000;
}

.pagination .page-item.active .page-link {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.pagination a {
  color: #000;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE HOME
   ========================================================================== */
.home-section1 {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding-top: 80px;
}

.home-section1 p {
  padding: 50px 20px 0 20px;
}

.home-bannerContainer {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 400px;
  margin-bottom: 30px;
}

.home-bannerContainer img {
  display: block;
  width: 100%;
}

.home-cta-section {
  padding: 60px 20px;
}

.cta-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 50px;
}

.cta-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.cta-card:hover {
  transform: translateY(-8px);
}

.cta-icon {
  font-size: 2.5rem;
  color: var(--button-global-color, rgba(4, 82, 18, 0.61));
  margin-bottom: 1.5rem;
}

.cta-card h4 {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  color: #333;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.cta-card .btn-global {
  min-width: auto;
  padding: 12px 30px;
}

.home-section2 {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.home-section2 .p3-section {
  text-align: left;
}

.home-section3 {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 30px auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5016, #4a7c59, #88a030);
  border-radius: 16px 16px 0 0;
}

.counter {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2.2);
  font-weight: bold;
  color: #333;
}

.label {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  color: #666;
  font-weight: var(--font-body-weight-2);
}

.home-section4 {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 30px auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.lastnewsContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: stretch;
  align-items: stretch;
  column-gap: 20px;
  row-gap: 20px;
  width: 65%;
  margin: auto;
}

.lastnews-card {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: start;
  background-color: #ffffff;
  border-radius: 10px;
  height: 250px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
}

.lastnews-card:hover {
  cursor: pointer;
}

.lastnews-card .card-left {
  width: 100%;
  padding: 10px;
}

.lastnews-card .card-right {
  width: 60%;
  overflow: hidden;
  height: 250px;
  border-radius: 0 10px 10px 0;
}

.lastnews-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
  transition: transform 0.5s ease-in-out;
}

.lastnews-card:hover img {
  transform: scale(1.05);
}

.home-section5 {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 50px 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 15px;
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
}

.galleryImage-Container {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galleryImage-Container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galleryImage-Container:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  padding-top: 120px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 60px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  padding-top: 120px;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.home-section6 {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 30px auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.companies-Container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 90%;
  margin: 20px auto;
  gap: 20px;
}

.companiesLogo-card {
  width: calc(16.666% - 20px);
  min-width: 120px;
  margin-bottom: 15px;
}

.companies-Container img {
  width: 100%;
  height: 100px;
  max-width: 50%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE NOSOTROS
   ========================================================================== */
.nosotros-page {
  padding-top: 80px;
}

.nosotros-page > section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.nosotros-page .section-title {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  margin-bottom: 1rem;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
}

.nosotros-page .section-subtitle {
  font-family: var(--font-body-family);
  color: #555;
  margin-bottom: 2rem;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
}

.nosotros-page .section-paragraph {
  line-height: 1.8;
  color: #6c757d;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
}

/* --- Sección Misión y Visión --- */
.mission-vision-section {
  background-color: var(--button-global-color, #045212);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.mission-vision-section h4 {
  font-family: var(--font-body-family-bold);
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.mission-vision-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Sección Valores --- */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}
.valor-item {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 4px solid var(--button-global-color, #045212);
  transition: all 0.3s ease;
}
.valor-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.valor-item i {
  font-size: 2.5rem;
  color: var(--button-global-color, #045212);
  margin-bottom: 1rem;
}
.valor-item p {
  font-family: var(--font-body-family-bold);
  font-size: 1.1rem;
  color: #333;
}

/* --- Sección Prioridades --- */
.priority-item {
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.priority-item:hover {
  background-color: #f8f9fa;
  border-radius: 8px;
}
.priority-icon {
  font-size: 3rem;
  color: var(--button-global-color, #045212);
  margin-bottom: 1.5rem;
}
.priority-item h5 {
  font-family: var(--font-body-family-bold);
  margin-bottom: 1rem;
}

/* --- Sección Equipo --- */
.team-section .team-subtitle {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  border-bottom: 2px solid var(--button-global-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  justify-content: center;
  gap: 25px;
}

.team-group-photo {
  max-width: 800px;
  width: 100%;
}

.team-member-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}
.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-member-photo {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background-color: #e9ecef;
}
.team-member-photo img,
.team-member-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.team-member-photo img {
  object-fit: cover;
}
.team-member-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ced4da;
}

.team-member-info {
  padding: 1.25rem 1rem;
}

.team-member-name {
  font-family: var(--font-body-family-bold);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.team-member-title {
  color: var(--button-global-color, #045212);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ESTILOS PÁGINA ADMIN DE EQUIPOS */
.table-image-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
}

.table-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-image-wrapper .placeholder-icon {
  font-size: 1.5rem;
  color: #adb5bd;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE NOTICIAS
   ========================================================================== */
.news-section {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 30px auto 10px auto;
  padding: 50px 20px 0px;
  box-sizing: border-box;
  background-color: var(--background-Body);
  padding-top: 120px;
}

.newsContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: stretch;
  align-items: stretch;
  column-gap: 20px;
  row-gap: 20px;
  width: 65%;
  margin: auto;
}

.news-card {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: start;
  background-color: #ffffff;
  border-radius: 10px;
  height: 250px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
  cursor: pointer;
}

.news-card .card-left {
  width: 100%;
  padding: 10px;
}

.news-card .card-right {
  width: 60%;
  overflow: hidden;
  height: 250px;
  border-radius: 0 10px 10px 0;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 10px 10px 0;
  transition: transform 0.5s ease-in-out;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-link {
  text-decoration: none;
  color: black;
}

.specificNotice-Container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 50px auto 30px auto;
  padding: 0 30px;
  padding-top: 120px;
}

.notice-backButton {
  text-align: center;
  margin: 50px auto 50px auto;
}

.notice-title {
  text-align: start;
}

.notice-title h1 {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2);
}

.notice-date {
  text-align: start;
}

.notice-img {
  width: 100%;
  height: 250px;
  margin: 30px 0;
}

.notice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notice-enlace {
  margin: 30px 0;
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
}

.notice-enlace a {
  text-decoration: none;
}

.notice-enlace a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SISTEMA DE FILTROS DE NOTICIAS
   ========================================================================== */

.news-filters-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.news-filters {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  background: #f8f9fa;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

/* Buscador de texto */
.filter-search {
  position: relative;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  background: white;
  color: #495057;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.search-input-wrapper input:focus {
  border-color: #20642d;
  box-shadow: 0 0 0 4px rgba(32, 100, 45, 0.1), 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Selector de categoría */
.filter-category {
  position: relative;
  min-width: 200px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  background: white;
  color: #495057;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.select-wrapper select:focus {
  border-color: #20642d;
  box-shadow: 0 0 0 4px rgba(32, 100, 45, 0.1), 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Botón limpiar */
.filter-clear {
  position: relative;
}

.btn-clear-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-clear-filters:hover {
  background: linear-gradient(135deg, #c82333, #a71e2a);
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
  transform: translateY(-2px);
}

.btn-clear-filters:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-icon {
  font-size: 16px;
  font-weight: bold;
}

.btn-text {
  font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE PARA FILTROS DE NOTICIAS
   ========================================================================== */

/* ==========================================================================
   ESTILOS PARA BADGES DE CATEGORÍAS
   ========================================================================== */

/* Estilos para categorías de noticias */
.categoria-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  color: white;
  margin: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categoria-general {
  background-color: #6c757d;
}

.categoria-bomberos {
  background-color: #dc3545;
}

.categoria-tapitas {
  background-color: #28a745;
}

.p3-news {
  margin: 10px 0 0 0;
  font-size: 12px;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE CONTACTENOS
   ========================================================================== */
.contact-section1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 30px auto 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
  gap: 50px;
  padding-top: 120px;
}

.contact-info-container {
  display: flex;
  gap: 30px;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  max-width: 400px;
  height: 130px;
  padding: 20px;
  border-radius: 10px;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(44, 90, 160, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info img {
  width: 30px;
}

.info-container {
  width: 70%;
}

.info-container a {
  text-decoration: none;
  color: #000;
}

.info-container a:hover {
  text-decoration: underline;
}

.info-title {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
}

.info-text {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.7);
}

.img-container {
  background-color: rgba(4, 82, 18, 0.61);
  padding: 20px;
  border-radius: 50px;
  max-height: 70px;
}

.contact-section1 iframe {
  width: 100%;
  height: 400px;
  max-width: 950px;
  padding: 0 10px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h1 {
  color: var(--text-color-Title);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  font-weight: var(--font-body-family-bold);
  margin-bottom: 10px;
}

.form-header p {
  color: #6b7280;
}

.contact-formContainer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(44, 90, 160, 0.1);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.contact-formLeft,
.contact-formRight {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-group {
  position: relative;
}

.contact-formContainer label {
  color: black;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  transition: all 0.3s ease;
}

.contact-formContainer input,
.contact-formContainer select,
.contact-formContainer textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e8f0;
  border-radius: 12px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  background: white;
  transition: all 0.3s ease;
  outline: none;
}

.contact-formContainer input:focus,
.contact-formContainer select:focus,
.contact-formContainer textarea:focus {
  border-color: rgba(32, 100, 45, 0.61);
  box-shadow: 0 0 0 3px rgba(79, 131, 204, 0.1);
  transform: translateY(-2px);
}

.contact-formContainer input:hover,
.contact-formContainer select:hover,
.contact-formContainer textarea:hover {
  border-color: rgba(32, 100, 45, 0.61);
}

.contact-formContainer select {
  cursor: pointer;
  appearance: none;
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.contact-formBottom {
  margin-top: 20px;
}

.contact-formBottom label {
  margin-bottom: 15px;
}

.contact-formContainer textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.submit-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.input-group {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.input-group:nth-child(1) {
  animation-delay: 0.1s;
}

.input-group:nth-child(2) {
  animation-delay: 0.2s;
}

.input-group:nth-child(3) {
  animation-delay: 0.3s;
}

.input-group:nth-child(4) {
  animation-delay: 0.4s;
}

.contact-formRight .input-group:nth-child(1) {
  animation-delay: 0.2s;
}

.contact-formRight .input-group:nth-child(2) {
  animation-delay: 0.3s;
}

.contact-formRight .input-group:nth-child(3) {
  animation-delay: 0.4s;
}

.contact-formRight .input-group:nth-child(4) {
  animation-delay: 0.5s;
}

.contact-formBottom {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 0.6s forwards;
}

.input-group.error input,
.input-group.error select,
.input-group.error textarea {
  border-color: var(--color-invalid-message);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-group.success input,
.input-group.success select,
.input-group.success textarea {
  border-color: var(--color-success-message);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
  color: var(--color-invalid-message);
  font-size: 0.85rem;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.input-group:hover label {
  color: rgba(32, 100, 45, 0.61);
}

.required::after {
  content: " *";
  color: var(--color-invalid-message);
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ==========================================================================
   ESTILOS PARA FORMULARIO DE VOLUNTARIO
   ========================================================================== */

.contact-volunteer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  padding: 170px 20px 50px 20px;
}

/* ==========================================================================
   ESTILOS PARA PAGINA DE BOLETINES
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, rgba(4, 82, 18, 0.61) 0%, #0c5e1b 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.page-header h1 {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  opacity: 0.9;
}

.bulletins-container {
  margin-top: 150px;
  margin-bottom: 80px;
}

.month-filter {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.month-btn {
  padding: 10px 20px;
  border: 2px solid rgba(4, 82, 18, 0.61);
  background: white;
  color: rgba(4, 82, 18, 0.61);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.month-btn:hover {
  background: rgba(4, 82, 18, 0.61);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(4, 82, 18, 0.3);
}

.month-btn.active {
  background: rgba(4, 82, 18, 0.61);
  color: white;
  box-shadow: 0 5px 15px rgba(4, 82, 18, 0.3);
}

.bulletins-section {
  margin-bottom: 50px;
}

.month-title {
  background: linear-gradient(135deg, rgba(4, 82, 18, 0.61) 0%, #0c5e1b 100%);
  color: white;
  padding: 20px;
  border-radius: 15px 15px 0 0;
  margin: 0;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.3);
  font-weight: 600;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.month-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #02460e;
}

.bulletins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 30px;
  background: white;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bulletin-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.bulletin-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bulletin-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bulletin-card:hover .bulletin-image {
  transform: scale(1.05);
}

.bulletin-info {
  padding: 20px;
}

.bulletin-date {
  color: rgba(4, 82, 18, 0.61);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  font-weight: 600;
  margin-bottom: 8px;
}

.bulletin-title {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.bulletin-description {
  color: #666;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.75);
  line-height: 1.6;
}

.no-bulletins {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  background: white;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-bulletins img {
  width: 100px;
  opacity: 0.3;
  margin-bottom: 20px;
}

.stats-bar {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.7);
  font-weight: 700;
  color: rgba(4, 82, 18, 0.61);
  display: block;
}

.stat-label {
  color: #666;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  margin-top: 5px;
}

.modal {
  z-index: 1060;
}

/* Mejoras para scroll en modales en dispositivos móviles */
.modal-dialog {
  pointer-events: none;
}

.modal-content {
  border-radius: 15px;
  border: none;
  pointer-events: auto;
}

.modal-header {
  background: linear-gradient(135deg, #045212, #02460e);
  color: white;
  border-radius: 15px 15px 0 0;
}

.btn-close {
  filter: invert(1);
}

.bulletin-modal-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE DONACIONES
   ========================================================================== */
#donateModal.modal {
  backdrop-filter: blur(8px);
}

#donateModal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

#donateModal .modal-content {
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border: none;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

#donateModal .modal-header {
  background: linear-gradient(135deg, #047a1c 0%, #065d20 100%);
  color: white;
  padding: 25px 30px;
  border-bottom: none;
  position: relative;
}

#donateModal .modal-title {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin: 0;
}

#donateModal .btn-close {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  opacity: 1;
  transition: all 0.3s ease;
}

#donateModal .btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

#donateModal .modal-body {
  padding: 30px;
  background: #fff;
}

#donateModal .modal-body > p {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  color: #555;
  margin-bottom: 2rem;
}

.donate-container {
  background: linear-gradient(135deg, #f8fffe 0%, #f0f9f4 100%) !important;
  border: 1px solid rgba(4, 130, 28, 0.2) !important;
  border-radius: 15px !important;
  padding: 25px !important;
  margin-bottom: 25px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.donate-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #047a1c, #065d20);
}

.donate-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 130, 28, 0.15);
}

.donate-container h4 {
  color: #047a1c !important;
  font-weight: 600;
  margin-bottom: 1.5rem !important;
  text-align: center;
}

.donate-container .row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.donate-container .row p {
  margin-bottom: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(4, 130, 28, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  width: 600px;
}

.donate-container .row p:hover {
  background: rgba(4, 130, 28, 0.05);
  margin: 0 -15px 1rem -15px;
  padding: 12px 15px;
  border-radius: 8px;
}

.donate-container .row p:last-child {
  border-bottom: none;
}

.donate-container strong {
  color: #047a1c;
  font-weight: 600;
}

.donate-container .badge {
  background-color: #047a1c !important;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  padding: 6px 12px;
}

.donate-container code {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(4, 130, 28, 0.2);
  color: #333 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-family: "Courier New", monospace;
  font-weight: 500;
}

.donate-container .btn-outline-primary {
  background: #047a1c;
  color: white;
  border: 2px solid #047a1c;
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  margin-top: 15px;
}

.donate-container .btn-outline-primary:hover {
  background: #065d20;
  border-color: #065d20;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 130, 28, 0.3);
}

.donate-container .btn-outline-primary:active {
  transform: translateY(0);
}

.donate-container .btn-outline-primary.copied {
  background: #28a745;
  border-color: #28a745;
  animation: pulse 0.6s ease;
}

#donateModal .alert-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  color: #666;
}

#donateModal .alert-info::before {
  content: "💡";
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
  opacity: 0.5;
}

#donateModal .modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 20px 30px;
  text-align: center;
}

#donateModal .modal-footer small {
  color: #666;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
  ESTILOS PARA EL DASHBOARD DE ADMIN
   ========================================================================== */

.dashboard-container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--font-color-NavBar);
  color: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
}

.dashboard-welcome h2 {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.dashboard-welcome p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 1rem;
}

.dashboard-welcome .p1-section {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  font-weight: var(--font-body-weight-4);
  color: white;
  margin-bottom: 10px;
}

.welcome-icon i {
  font-size: 3rem;
  opacity: 0.3;
}

.stat-card-admin {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card-admin:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.75rem;
}

.stat-content {
  margin-left: 1.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
  line-height: 1;
}

.stat-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.bg-primary-soft {
  background-color: rgba(4, 82, 18, 0.1);
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.1);
}

.bg-info-soft {
  background-color: rgba(13, 202, 240, 0.1);
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.1);
}

.text-primary {
  color: #045212 !important;
}

.text-success {
  color: #198754 !important;
}

.text-info {
  color: #0dcaf0 !important;
}

.text-warning {
  color: #ff9800 !important;
}

.action-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--button-global-color);
}

.action-card-icon {
  font-size: 1.5rem;
  color: var(--button-global-color);
  margin-right: 1.5rem;
}

.action-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #343a40;
}

.action-card-text p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
}

.action-card-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: #adb5bd;
  transition: transform 0.3s ease;
}

.action-card:hover .action-card-arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   ESTILOS PARA SIDEBAR ADMIN
   ========================================================================== */
.admin-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: #343a40;
  color: #f8f9fa;
  transition: width 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1029;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.btn-close-sidebar {
  background: none;
  border: none;
  color: #adb5bd;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
}

.btn-close-sidebar:hover {
  color: #ffffff;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #495057;
  text-align: center;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.sidebar-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #adb5bd;
  text-decoration: none;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.7);
  font-weight: 500;
  border-bottom: 1px solid #495057;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-menu li a:hover {
  background-color: #495057;
  color: #ffffff;
}

.sidebar-menu li a .arrow {
  font-weight: bold;
  transition: transform 0.2s ease;
}

.sidebar-menu li a:hover .arrow {
  transform: translateX(5px);
}

.main-content {
  flex-grow: 1;
  background-color: var(--background-Body, #fafafa);
  display: flex;
  flex-direction: column;
}

.main-header {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #dee2e6;
}

.header-title {
  font-weight: bold;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  margin-left: 1rem;
}

.content-wrapper {
  padding: 2rem;
  flex-grow: 1;
  overflow-y: auto;
}

.sidebar-submenu {
  list-style: none;
  padding-left: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.sidebar-submenu.open {
  max-height: 500px;
}

.sidebar-submenu li a {
  padding-left: 2.5rem !important;
  background-color: #40464c;
}

.sidebar-submenu li a:hover {
  background-color: #495057;
}

.submenu-toggle.active .arrow {
  transform: rotate(90deg);
}

.sidebar-menu li a.active {
  background-color: #045212;
  color: #ffffff;
  font-weight: bold;
}

.sidebar-submenu li a.active-item {
  background-color: #067c1c;
  color: #ffffff;
  font-weight: 500;
  border-left: 3px solid #f8f9fa;
  padding-left: calc(2.5rem - 3px) !important;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE GALERIA ADMIN
   ========================================================================== */
.table-gallery th,
.table-gallery td {
  text-align: center;
  vertical-align: middle;
}

.table-gallery .gallery-image-cell {
  width: 200px;
}

.gallery-thumbnail-wrapper {
  width: 180px;
  height: 120px;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumbnail-wrapper img:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE GALERÍA
   ========================================================================== */

/* Estilos para sortable */
.order-handle {
  cursor: grab;
  color: #adb5bd;
}

.order-handle:active {
  cursor: grabbing;
}

.sortable-placeholder {
  height: 142px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  visibility: visible !important;
}

.ui-sortable-helper {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Estilos para vista móvil de galería */
.mobile-gallery-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-gallery-item {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.mobile-gallery-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f3f4;
}

.order-handle-mobile {
  cursor: grab;
  color: #6c757d;
  padding: 0.5rem;
  border-radius: 4px;
  background: #f8f9fa;
  transition: background-color 0.2s ease;
}

.order-handle-mobile:active {
  cursor: grabbing;
  background: #e9ecef;
}

.mobile-gallery-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.mobile-gallery-date {
  font-size: 0.875rem;
  color: #6c757d;
}

.mobile-gallery-image {
  margin: 1rem 0;
  text-align: center;
}

.mobile-gallery-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-gallery-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-gallery-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

.mobile-sortable-placeholder {
  height: 200px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  visibility: visible !important;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE CTA CARDS
   ========================================================================== */

.mobile-cta-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-cta-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-cta-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-cta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-cta-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-cta-icon {
  font-size: 1.5rem;
  color: #0d6efd;
}

.mobile-cta-status {
  flex-shrink: 0;
}

.mobile-cta-content {
  margin-bottom: 1rem;
}

.mobile-cta-title,
.mobile-cta-button {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.mobile-cta-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-cta-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

.mobile-sortable-placeholder {
  height: 120px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  visibility: visible !important;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE CONCACTENOS ADMIN
   ========================================================================== */
.list-group-item .ms-2.me-auto {
  min-width: 0;
}

.text-break-url {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE INVESTIGACION - PROYECTOS
   ========================================================================== */
.proyectos-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.proyectos-page .section-title {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  margin-bottom: 1rem;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
}

.proyectos-page .section-paragraph {
  line-height: 1.8;
  color: #6c757d;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
}

/* Espaciado específico para la sección de accesibilidad en infraestructura */
.proyectos-page .team-section {
  padding-top: 80px;
}

.page-header-section {
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--background-NavBar);
  text-align: center;
}

.page-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(4, 82, 18, 0.7);
}

.page-header-section .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  font-family: var(--font-body-family-bold);
}

.page-subtitle {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  max-width: 700px;
  margin: 1rem auto 0 auto;
  opacity: 0.9;
}

.research-projects-section {
  padding: 80px 0;
  background-color: #fdfdfd;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.project-item:last-child {
  border-bottom: none;
}

.project-logo {
  flex: 0 0 180px;
  text-align: center;
}

.project-logo img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.project-item:hover .project-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

.project-desc {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  color: #555;
  line-height: 1.7;
  font-family: var(--font-body-family);
}

.areas-beneficiadas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.area-card {
  background-color: var(--background-NavBar);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.area-photo {
  width: 100%;
  padding-top: 75%;
  position: relative;
  background-color: var(--background-Body);
}

.area-photo img,
.area-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.area-photo img {
  object-fit: cover;
}

.area-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #d1d5db;
}

.area-info {
  padding: 1rem;
  font-weight: var(--font-body-weight-3);
  color: var(--text-color-Body);
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE INFRAESTRUCTURA - PROYECTOS
   ========================================================================== */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galleryImage-Container:hover .gallery-caption {
  opacity: 1;
}

.infra-logros-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 50px 20px;
  box-sizing: border-box;
  text-align: center;
}

.infra-stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
  width: 90%;
  max-width: 900px;
}

.infra-stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  width: 280px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
}

.infra-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5016, #4a7c59, #88a030);
  border-radius: 16px 16px 0 0;
}

.infra-stat-card .counter {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2.2);
  font-weight: bold;
  color: #333;
}

.infra-stat-card .label {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  color: #666;
  font-weight: var(--font-body-weight-2);
}

/* Tapitas estáticas decorativas */
.tapitas-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-tapita {
  position: absolute;
  width: 100px;
  height: 100px;
  background: none;
  opacity: 0.8;
  transform-style: preserve-3d;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: all 0.3s ease;
}

.floating-tapita:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.floating-tapita::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-image: url("../include/images/projects/tapita_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.floating-tapita::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 30%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Posicionamiento estático distribuido */
.floating-tapita:nth-child(1) {
  top: 15%;
  left: 5%;
  transform: scale(0.9);
}

.floating-tapita:nth-child(2) {
  top: 35%;
  left: 12%;
  transform: scale(1.1);
}

.floating-tapita:nth-child(3) {
  top: 20%;
  left: 22%;
  transform: scale(0.8);
}

.floating-tapita:nth-child(4) {
  top: 45%;
  left: 28%;
  transform: scale(1);
}

.floating-tapita:nth-child(5) {
  top: 25%;
  left: 38%;
  transform: scale(0.7);
}

.floating-tapita:nth-child(6) {
  top: 40%;
  left: 45%;
  transform: scale(1.2);
}

.floating-tapita:nth-child(7) {
  top: 18%;
  left: 55%;
  transform: scale(0.9);
}

.floating-tapita:nth-child(8) {
  top: 38%;
  left: 62%;
  transform: scale(1);
}

.floating-tapita:nth-child(9) {
  top: 28%;
  left: 72%;
  transform: scale(0.8);
}

.floating-tapita:nth-child(10) {
  top: 12%;
  left: 78%;
  transform: scale(0.9);
}

.floating-tapita:nth-child(11) {
  top: 42%;
  left: 85%;
  transform: scale(1.1);
}

.floating-tapita:nth-child(12) {
  top: 32%;
  left: 92%;
  transform: scale(0.8);
}

.floating-tapita:nth-child(13) {
  top: 8%;
  left: 15%;
  transform: scale(0.6);
}

.floating-tapita:nth-child(14) {
  top: 48%;
  left: 8%;
  transform: scale(1);
}

.floating-tapita:nth-child(15) {
  top: 52%;
  left: 35%;
  transform: scale(0.9);
}

.floating-tapita:nth-child(16) {
  top: 58%;
  left: 65%;
  transform: scale(1.1);
}

.floating-tapita:nth-child(17) {
  top: 5%;
  left: 88%;
  transform: scale(0.7);
}

.floating-tapita:nth-child(18) {
  top: 55%;
  left: 18%;
  transform: scale(0.8);
}

/* Variaciones para las tapitas PNG */
.floating-tapita:nth-child(2n) {
  filter: drop-shadow(0 2px 6px rgba(255, 140, 0, 0.3)) hue-rotate(20deg);
}

.floating-tapita:nth-child(2n)::before {
  transform: rotate(45deg) scale(0.9);
}

.floating-tapita:nth-child(3n) {
  filter: drop-shadow(0 2px 6px rgba(0, 150, 255, 0.3)) hue-rotate(200deg);
}

.floating-tapita:nth-child(3n)::before {
  transform: rotate(90deg) scale(1.1);
}

.floating-tapita:nth-child(4n) {
  filter: drop-shadow(0 2px 6px rgba(255, 0, 100, 0.3)) hue-rotate(300deg);
}

.floating-tapita:nth-child(4n)::before {
  transform: rotate(135deg) scale(0.85);
}

.floating-tapita:nth-child(5n) {
  filter: drop-shadow(0 2px 6px rgba(0, 255, 100, 0.3)) hue-rotate(120deg);
}

.floating-tapita:nth-child(5n)::before {
  transform: rotate(180deg) scale(1.05);
}

.floating-tapita:nth-child(6n) {
  filter: drop-shadow(0 2px 6px rgba(255, 200, 0, 0.3)) hue-rotate(60deg);
}

.floating-tapita:nth-child(6n)::before {
  transform: rotate(225deg) scale(0.95);
}

.floating-tapita:nth-child(7n) {
  filter: drop-shadow(0 2px 6px rgba(150, 0, 255, 0.3)) hue-rotate(270deg);
}

.floating-tapita:nth-child(7n)::before {
  transform: rotate(270deg) scale(1.15);
}

.floating-tapita:nth-child(8n) {
  filter: drop-shadow(0 2px 6px rgba(255, 255, 0, 0.3)) hue-rotate(45deg);
}

.floating-tapita:nth-child(8n)::before {
  transform: rotate(315deg) scale(0.9);
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE AMIGOS DE LOS PARQUES
   ========================================================================== */
.memberships-page {
  background-color: var(--background-Body);
  color: var(--text-color-Body);
  font-family: var(--font-body-family);
  position: relative;
}

.memberships-page .footer {
  color: #333333;
}

/* Hero Section */
.memberships-hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.05) 0%,
    rgba(4, 82, 18, 0.1) 100%
  );
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 82, 18, 0.2);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hero-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(4, 82, 18, 0.3);
}

.hero-text {
  flex: 1;
  max-width: 700px;
}

.memberships-hero h1 {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  margin-bottom: 20px;
}

.memberships-hero p {
  color: var(--text-color-Body);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  margin-bottom: 0;
}

/* Sección de Objetivos */
.objectives-section {
  padding: 80px 0;
  background: var(--background-Body);
}

.objectives-section h2 {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  text-align: center;
  margin-bottom: 50px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
}

.objective-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(4, 82, 18, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--button-global-color);
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.objective-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(4, 82, 18, 0.15);
}

.objective-icon {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 2.5);
  color: var(--button-global-color);
  margin-bottom: 20px;
  text-align: center;
}

.objective-item p {
  color: var(--text-color-Body);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Texto de compromiso */
.commitment-text {
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.05) 0%,
    rgba(4, 82, 18, 0.1) 100%
  );
  padding: 40px;
  border-radius: 15px;
  margin: 50px 0;
  text-align: center;
  border: 2px solid rgba(4, 82, 18, 0.1);
}

.commitment-text p {
  color: var(--text-color-Title);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  font-family: var(--font-body-family-italic);
  margin: 0;
  line-height: 1.6;
}

/* Sección Cómo ser amigo */
.how-to-section {
  padding: 80px 0 60px;
  text-align: center;
  background: white;
}

.how-to-section h2 {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  margin-bottom: 30px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
}

.how-to-section p {
  color: var(--text-color-Body);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Tarjetas de Membresía */
.membership-cards-section {
  padding: 80px 0;
  background: var(--background-Body);
}

.membership-cards-section h2 {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  text-align: center;
  margin-bottom: 60px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
}

.membership-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  height: 100%;
  box-shadow: 0 8px 30px rgba(4, 82, 18, 0.08);
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(4, 82, 18, 0.02) 50%,
    transparent 60%
  );
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.membership-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateX(100%);
}

.membership-card:hover {
  transform: translateY(-10px);
  border-color: var(--button-global-color);
  box-shadow: 0 20px 50px rgba(4, 82, 18, 0.15);
}

.membership-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(4, 82, 18, 0.1);
  transition: all 0.3s ease;
}

.membership-card:hover .membership-logo {
  border-color: var(--button-global-color);
  transform: scale(1.05);
}

.membership-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership-card h3 {
  font-family: var(--font-body-family-bold);
  color: var(--text-color-Title);
  margin-bottom: 15px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
}

.membership-card p {
  color: var(--text-color-Body);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

.membership-card .membership-description {
  color: var(--text-color-Body);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 60px;
}

.membership-price {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  color: var(--button-global-color);
  margin: 20px 0 30px;
}

.btn-membership {
  background: var(--button-global-color);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * 0.8 * var(--text-scale-ratio));
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(4, 82, 18, 0.3);
  position: relative;
  z-index: 2;
}

.btn-membership:hover {
  background: var(--button-global-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(4, 82, 18, 0.4);
  color: white;
}

/* Sección CTA Voluntariado */
.volunteer-cta {
  background: linear-gradient(
    135deg,
    var(--button-global-color) 0%,
    var(--button-global-color-hover) 100%
  );
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.volunteer-cta h2 {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  margin-bottom: 30px;
}

.volunteer-cta p {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-volunteer {
  background: white;
  color: var(--button-global-color);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * 0.9 * var(--text-scale-ratio));
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-volunteer:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.4);
  color: var(--button-global-color-hover);
}

/* Botones de membresía */
.membership-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.btn-outline-membership {
  background: transparent;
  color: var(--button-global-color);
  border: 2px solid var(--button-global-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * 0.8 * var(--text-scale-ratio));
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.btn-outline-membership:hover {
  background: var(--button-global-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 82, 18, 0.3);
}

/* Estilos para el modal de beneficios */
.benefits-content {
  font-family: var(--font-body-family);
}

.benefits-content .benefit-logo {
  position: relative;
  display: inline-block;
}

.benefits-content .benefit-logo img {
  border: 4px solid var(--button-global-color);
  box-shadow: 0 15px 35px rgba(4, 82, 18, 0.2);
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50px 50px;
}

.benefits-content .benefit-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(4, 82, 18, 0.3);
}

.benefits-content .benefit-logo::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.benefits-content .benefit-logo::before {
  content: "★";
  position: absolute;
  top: -6px;
  right: 0px;
  color: white;
  font-size: 16px;
  z-index: 1;
  font-weight: bold;
}

.benefits-content h4 {
  font-family: var(--font-body-family-bold);
  color: var(--button-global-color);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.benefits-content h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--button-global-color) 0%,
    var(--button-global-color-hover) 100%
  );
  border-radius: 2px;
}

.benefits-content h5 {
  font-family: var(--font-body-family-bold);
  color: var(--button-global-color);
  font-size: calc(var(--base-size) * var(--text-scale-ratio));
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.benefits-content h5::before {
  content: "🎯";
  margin-right: 10px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
}

.benefits-content h6 {
  font-family: var(--font-body-family-bold);
  color: var(--button-global-color);
  font-size: calc(var(--base-size) * 0.9 * var(--text-scale-ratio));
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  line-height: 1.7;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(4, 82, 18, 0.03);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(4, 82, 18, 0.06);
  border-left-color: var(--button-global-color);
  transform: translateX(5px);
}

.benefit-item i {
  margin-top: 3px;
  margin-right: 12px;
  flex-shrink: 0;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
}

.benefits-list {
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.03) 0%,
    rgba(4, 82, 18, 0.06) 100%
  );
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(4, 82, 18, 0.1);
  position: relative;
  overflow: hidden;
}

.benefits-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--button-global-color) 0%,
    var(--button-global-color-hover) 100%
  );
}

/* Animación para el modal */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.memberships-page .modal.show .modal-dialog {
  animation: modalFadeIn 0.3s ease-out;
}

/* Modal personalizado de membresías */
.memberships-page .modal-dialog {
  max-width: 900px;
  margin: 2rem auto;
}

.memberships-page .modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(4, 82, 18, 0.15);
  overflow: hidden;
}

.memberships-page .modal-header {
  background: linear-gradient(
    135deg,
    var(--button-global-color) 0%,
    var(--button-global-color-hover) 100%
  );
  color: white;
  border-bottom: none;
  padding: 25px 30px;
  position: relative;
}

.memberships-page .modal-header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

.memberships-page .modal-title {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  margin: 0;
  display: flex;
  align-items: center;
}

.memberships-page .modal-title i {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  margin-right: 12px;
  opacity: 0.9;
}

.memberships-page .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
  padding: 12px;
  margin: -12px -12px -12px auto;
  transition: all 0.3s ease;
}

.memberships-page .modal-header .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.memberships-page .modal-body {
  padding: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.memberships-page .modal-footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(4, 82, 18, 0.1);
  padding: 20px 40px;
}

.memberships-page .modal-footer .btn {
  font-family: var(--font-body-family-bold);
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.memberships-page .modal-footer .btn-secondary {
  background: transparent;
  color: var(--button-global-color);
  border: 2px solid var(--button-global-color);
}

.memberships-page .modal-footer .btn-secondary:hover {
  background: var(--button-global-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 82, 18, 0.3);
}

.bank-account-item {
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.02) 0%,
    rgba(4, 82, 18, 0.05) 100%
  );
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid var(--button-global-color);
  transition: all 0.3s ease;
}

.bank-account-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(4, 82, 18, 0.1);
}

.bank-account-item h6 {
  color: var(--text-color-Title);
  font-family: var(--font-body-family-bold);
  margin-bottom: 10px;
}

.bank-account-item p {
  color: var(--text-color-Body);
  margin-bottom: 5px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
}

.benefits-list {
  text-align: left;
  padding-left: 0;
  list-style: none;
}

.benefits-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: var(--text-color-Body);
  line-height: 1.6;
}

.benefits-list li::before {
  content: "✓";
  color: var(--button-global-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Estilos para el modal de puntos de recolección - SOLO para proyectos */
.collection-points-section .btn-secondary,
#tapitasForm .btn-secondary,
.proyectos-recoleccion .btn-secondary,
.btn-puntos-recoleccion {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.collection-points-section .btn-secondary:hover,
#tapitasForm .btn-secondary:hover,
.proyectos-recoleccion .btn-secondary:hover,
.btn-puntos-recoleccion:hover {
  background: linear-gradient(135deg, #218838, #1bb584);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
}

.puntos-lista {
  max-height: none;
  overflow-y: visible;
}

.punto-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #28a745;
  cursor: pointer;
  transition: all 0.3s ease;
  word-break: break-word;
}

.punto-item:hover {
  background: #e8f5e8;
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
}

.punto-content {
  flex: 1;
  min-width: 0;
}

.punto-ubicacion {
  display: block;
  margin-top: 4px;
  color: #6c757d;
  font-weight: normal;
}

.punto-icon {
  font-size: 22px;
  margin-right: 15px;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.puntos-footer {
  background: rgba(40, 167, 69, 0.1);
  border-radius: 10px;
}

/* Estilos específicos para el modal de puntos de recolección */
.puntos-recoleccion-modal .modal-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.puntos-recoleccion-modal .modal-header {
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--button-global-color) 0%,
    var(--button-global-color-hover) 100%
  );
  color: white;
  border-bottom: none;
}

.puntos-recoleccion-modal .modal-title {
  color: white;
  font-weight: bold;
}

.puntos-recoleccion-modal .btn-close {
  filter: invert(1);
}

.puntos-recoleccion-modal .modal-body {
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  padding: 1.5rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.puntos-recoleccion-modal .modal-footer {
  flex-shrink: 0;
  background: #f8f9fa;
  border-top: 1px solid rgba(4, 82, 18, 0.1);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.mapa-container {
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
  border-radius: 15px;
  padding: 15px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #4caf50;
}

#leafletMap {
  height: 400px !important;
  width: 100% !important;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.costa-rica-svg {
  width: 100%;
  height: auto;
  max-height: 450px;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.2));
}

.costa-rica-contorno {
  transition: all 0.3s ease;
}

.costa-rica-contorno:hover {
  fill: #388e3c;
  filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

.punto-mapa {
  cursor: pointer;
  transition: all 0.3s ease;
  animation: mapPulse 4s infinite;
  stroke: #ffffff;
  stroke-width: 2;
}

.punto-mapa:hover {
  r: 12;
  fill: #ff9800;
  filter: drop-shadow(0 0 15px #ff5722);
  stroke-width: 3;
}

.punto-mapa.selected {
  fill: #4caf50 !important;
  r: 14;
  filter: drop-shadow(0 0 20px #4caf50);
  stroke: #ffffff;
  stroke-width: 4;
  animation: selectedPulse 2s infinite;
}

@keyframes selectedPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes mapPulse {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Estilos específicos para Leaflet */
.leaflet-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border: 2px solid #4caf50 !important;
}

.leaflet-popup-content {
  margin: 15px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.leaflet-popup-tip {
  border-top-color: #4caf50 !important;
  border-left-color: #4caf50 !important;
}

.leaflet-control-zoom {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
}

.leaflet-control-zoom a {
  background: #4caf50 !important;
  color: white !important;
  border: none !important;
  font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
  background: #45a049 !important;
  color: white !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9) !important;
  font-size: 10px !important;
  border-radius: 5px !important;
  padding: 2px 5px !important;
}

/* Animaciones para marcadores personalizados */
.custom-marker {
  animation: markerFloat 3s ease-in-out infinite !important;
}

@keyframes markerFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

.mapa-leyenda {
  text-align: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.modal-xl .modal-dialog {
  max-width: 65%;
}

/* Mejoras para el modal más grande */
.modal-content {
  border-radius: 15px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.modal-header {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  border-radius: 15px 15px 0 0 !important;
  padding: 1.5rem 2rem !important;
  border-bottom: none !important;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1) !important;
  opacity: 0.8 !important;
}

.modal-header .btn-close:hover {
  opacity: 1 !important;
}

.modal-title {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   ESTILOS PARA PÁGINA DE VOLUNTARIADO CORPORATIVO
   ========================================================================== */
.volunteer-page {
  background-color: var(--background-Body);
  color: var(--text-color-Body);
  font-family: var(--font-body-family);
}

/* Hero Section */
.volunteer-hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.05) 0%,
    rgba(4, 82, 18, 0.1) 100%
  );
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.volunteer-hero .container {
  width: 100%;
}

.volunteer-hero .hero-text {
  text-align: center !important;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.volunteer-hero .hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 82, 18, 0.2);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.volunteer-hero .hero-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.volunteer-hero .hero-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(4, 82, 18, 0.3);
}

.volunteer-hero h1.typewriter {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  color: var(--text-color-Title);
  margin-bottom: 25px;
  line-height: 1.2;
  text-align: center !important;
  width: 100%;
  display: block;
  white-space: pre-line;
  min-height: 3.5em;
}

.volunteer-hero .hero-text {
  text-align: center !important;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.volunteer-hero .subtitle {
  display: block;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  font-weight: var(--font-body-weight-5);
  color: var(--text-color-Title);
  margin-top: 15px;
  margin-bottom: 25px;
  text-align: center !important;
  width: 100%;
}

.volunteer-hero p {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.9);
  color: var(--text-color-Body);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  text-align: center !important;
  width: 100%;
  padding: 0 20px;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: #ffffff;
}

.how-it-works-section h2 {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  color: var(--button-global-color);
  margin-bottom: 35px;
  font-weight: 700;
  text-align: center;
}

.how-it-works-content {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--button-global-color);
  position: relative;
}

.how-it-works-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--button-global-color),
    var(--button-global-color-hover)
  );
  border-radius: 15px 15px 0 0;
}

.how-it-works-content p {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 0.95);
  line-height: 1.8;
  margin: 0;
  color: #333;
  font-weight: 500;
}

/* Gallery Section */
.volunteer-gallery-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.gallery-title {
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  color: var(--button-global-color);
  margin-bottom: 50px;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
  display: block;
  opacity: 1;
  visibility: visible;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Combinación de estilos para galería de voluntariado */
.gallery-item.galleryImage-Container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item.galleryImage-Container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.gallery-item.galleryImage-Container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

/* Media Queries para Volunteer Page */

/* ==========================================================================
   ESTILOS PARA PÁGINA DE MANEJO DE FUEGO
   ========================================================================== */
.manejo-fuego-page {
  background-color: var(--background-Body);
  position: relative;
}

/* Logos Section */
.logos-section {
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.03) 0%,
    rgba(4, 82, 18, 0.08) 100%
  );
  border-bottom: 1px solid rgba(4, 82, 18, 0.1);
}

.logo-partner {
  max-height: 80px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(0.2) opacity(0.9);
}

.logo-partner:hover {
  transform: scale(1.05);
  filter: grayscale(0) opacity(1);
}

/* Main Image Section */
.main-image-section {
  background: linear-gradient(
    135deg,
    rgba(4, 82, 18, 0.02) 0%,
    rgba(4, 82, 18, 0.05) 100%
  );
}

.main-deployment-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-deployment-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(4, 82, 18, 0.2);
}

.image-caption p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Content Gallery Section */
.content-gallery-section {
  padding: 80px 0;
}

.content-text {
  padding-right: 2rem;
}

.image-gallery-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 82, 18, 0.15);
}

.gallery-image {
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(4, 82, 18, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(4, 82, 18, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.carousel-indicators {
  bottom: 15px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(4, 82, 18, 0.6);
  border: 2px solid white;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--button-global-color);
  transform: scale(1.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, rgba(4, 82, 18, 0.03) 100%);
  border-top: 1px solid rgba(4, 82, 18, 0.1);
}

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #dee2e6;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-text {
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Tapitas News Button Styles */
.tapitas-news-btn {
  border: 2px solid #28a745;
  color: #28a745;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: 10px;
}

.tapitas-news-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.tapitas-news-btn:hover::before {
  left: 100%;
}

.tapitas-news-btn:hover {
  background-color: #28a745;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  border-color: #28a745;
}

.tapitas-news-btn .news-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.tapitas-news-btn:hover .news-icon {
  transform: scale(1.1) rotate(5deg);
}

/* CTA Buttons en Manejo de Fuego */
.manejo-fuego-page .cta-buttons {
  gap: 1rem !important;
}

.manejo-fuego-page .bomberos-news-btn {
  border: 2px solid #dc3545;
  color: #dc3545;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.manejo-fuego-page .bomberos-news-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.manejo-fuego-page .bomberos-news-btn:hover::before {
  left: 100%;
}

.manejo-fuego-page .bomberos-news-btn:hover {
  background-color: #dc3545;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
  border-color: #dc3545;
}

.manejo-fuego-page .bomberos-news-btn i {
  transition: transform 0.3s ease;
}

.manejo-fuego-page .bomberos-news-btn:hover i {
  transform: scale(1.1);
}

.volunteer-page [data-aos] {
  transition-timing-function: ease-out-cubic;
}

.volunteer-page .btn-volunteer {
  transition: all 0.3s ease;
  transform-origin: center;
}

.volunteer-page .btn-volunteer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.volunteer-page .gallery-item {
  transition: all 0.3s ease;
}

.volunteer-page .gallery-item:hover {
  transform: translateY(-5px);
}

.projects-grid-section {
  background: linear-gradient(135deg, #f8f9fa 0%, rgba(4, 82, 18, 0.02) 100%);
}

.projects-grid-section .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.project-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(4, 82, 18, 0.1);
  margin: 0 auto;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 82, 18, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay i {
  color: white;
  font-size: 2rem;
}

.project-content {
  padding: 25px;
  text-align: center;
}

.project-title {
  color: var(--button-global-color);
  font-family: var(--font-body-family-bold);
  font-weight: bold;
  margin-bottom: 15px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.3);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-description {
  color: var(--text-color-Body);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 80px;
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1);
}

.read-more-btn {
  background: var(--button-global-color);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
}

.read-more-btn:hover {
  background: rgba(4, 82, 18, 0.9);
  transform: translateY(-2px);
}

.project-gallery h6 {
  color: var(--button-global-color);
  font-weight: bold;
  border-bottom: 2px solid var(--button-global-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.gallery-modal-image {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-modal-image:hover {
  transform: scale(1.05);
  border-color: var(--button-global-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.proyectos-page #projectModal1 .modal-content,
.proyectos-page #projectModal2 .modal-content,
.proyectos-page #projectModal3 .modal-content,
.proyectos-page #projectModal4 .modal-content,
.proyectos-page #projectModal5 .modal-content,
.proyectos-page #projectModal6 .modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.proyectos-page .modal-header {
  background: linear-gradient(
    135deg,
    var(--button-global-color) 0%,
    rgba(4, 82, 18, 0.9) 100%
  );
  color: white;
  border-radius: 0;
  padding: 20px 25px;
  border-bottom: none;
}

.proyectos-page .modal-title {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.4);
  font-weight: bold;
  margin: 0;
}

.proyectos-page .modal-body {
  padding: 30px;
  background: white;
}

.proyectos-page .project-description-content {
  font-family: var(--font-body-family);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.1);
  line-height: 1.8;
  color: var(--text-color-Body);
  margin-bottom: 0;
}

.proyectos-page .project-gallery h6 {
  font-family: var(--font-body-family-bold);
  font-size: calc(var(--base-size) * var(--text-scale-ratio) * 1.2);
  color: var(--button-global-color);
  font-weight: bold;
  border-bottom: 2px solid var(--button-global-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.proyectos-page .modal-footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(4, 82, 18, 0.1);
  padding: 15px 25px;
}

/* Modales de imágenes de galería - Proyectos Especiales */
[id^="imageModal"] .modal-dialog {
  max-width: 600px;
  margin: 1.75rem auto;
}

[id^="imageModal"] .modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[id^="imageModal"] .modal-body {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: white;
}

[id^="imageModal"] .modal-body img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}

[id^="imageModal"] .modal-footer {
  background: white;
  border-top: 1px solid #e9ecef;
  padding: 15px 20px;
  justify-content: center;
}

[id^="imageModal"] .modal-footer .btn {
  background: #6c757d;
  border: 1px solid #6c757d;
  color: white;
  padding: 8px 20px;
}

[id^="imageModal"] .modal-footer .btn:hover {
  background: #5a6268;
  border-color: #545b62;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE ESTADÍSTICAS DE INICIO
   ========================================================================== */

.mobile-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-stats-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-stats-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-stats-icon {
  font-size: 1.5rem;
  color: #0d6efd;
}

.mobile-stats-status {
  flex-shrink: 0;
}

.mobile-stats-content {
  margin-bottom: 1rem;
}

.mobile-stats-label,
.mobile-stats-value {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.mobile-stats-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-stats-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE EQUIPO
   ========================================================================== */

.mobile-team-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-team-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-team-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-team-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-team-status {
  flex-shrink: 0;
}

.mobile-team-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-team-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-team-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #dee2e6;
}

.mobile-team-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 2rem;
}

.mobile-team-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-team-name,
.mobile-team-position {
  line-height: 1.4;
  font-size: 0.9rem;
}

.mobile-team-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-team-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

.mobile-sortable-placeholder {
  height: 120px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  visibility: visible !important;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE INVESTIGACIÓN
   ========================================================================== */

.mobile-research-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-research-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-research-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-research-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-research-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-research-status {
  flex-shrink: 0;
}

.mobile-research-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-research-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-research-logo-img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.5rem;
  background-color: #f8f9fa;
}

.mobile-research-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-research-area-img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

.mobile-research-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 2.5rem;
}

.mobile-research-description,
.mobile-research-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-research-text,
.mobile-research-name {
  line-height: 1.4;
  font-size: 0.9rem;
}

.mobile-research-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-research-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

.mobile-sortable-placeholder {
  height: 120px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  visibility: visible !important;
}

/* Estilos para sortable de investigación */
.order-handle {
  cursor: grab;
}

.sortable-placeholder {
  height: 75px;
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
}

.table-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
}

.table-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.table-image-wrapper .placeholder-icon {
  font-size: 2rem;
  color: #adb5bd;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE INFRAESTRUCTURA
   ========================================================================== */

.mobile-infra-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-infra-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-infra-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-infra-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-infra-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-infra-status {
  flex-shrink: 0;
}

.mobile-infra-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Estilos específicos para contadores */
.mobile-infra-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-infra-value {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-infra-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0d6efd;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-infra-label {
  font-size: 1rem;
  font-weight: 500;
  color: #495057;
  text-align: center;
  line-height: 1.3;
}

/* Estilos para imágenes de galería */
.mobile-infra-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-infra-img {
  max-width: 120px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

.mobile-infra-placeholder {
  width: 120px;
  height: 100px;
  border-radius: 8px;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 2.5rem;
}

.mobile-infra-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-infra-name {
  line-height: 1.4;
  font-size: 0.9rem;
}

.mobile-infra-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mobile-infra-actions .btn {
  flex: 1;
  min-width: 80px;
  font-size: 0.875rem;
}

/* Estilos para sortable de infraestructura - Desktop */
.table-image-wrapper {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
}

.table-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-image-wrapper .placeholder-icon {
  font-size: 2rem;
  color: #adb5bd;
}

/* ==========================================================================
   ESTILOS PARA ADMIN - GESTIÓN DE LOGOS DE EMPRESAS
   ========================================================================== */

.mobile-logos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-logos-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-logos-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-logos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-logos-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-logos-status {
  flex-shrink: 0;
}

.mobile-logos-content {
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-logos-image {
  margin-bottom: 1rem;
}

.mobile-logo-img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mobile-logos-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.mobile-logos-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-logos-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
}

.mobile-sortable-placeholder {
  height: 120px;
  background-color: #e9ecef;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  visibility: visible !important;
}

/* ==================== MOBILE TRAINING STYLES ==================== */
.mobile-training-list {
  margin-top: 1rem;
}

.mobile-training-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-training-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-training-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-training-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-training-status {
  flex-shrink: 0;
}

.mobile-training-content {
  margin-bottom: 1rem;
}

.mobile-training-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-training-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.mobile-training-order-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.mobile-training-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-training-actions .btn {
  flex: 1;
  max-width: 120px;
}

/* ==================== MOBILE PUNTOS RECOLECCIÓN STYLES ==================== */
.mobile-puntos-list {
  margin-top: 1rem;
}

.mobile-puntos-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-puntos-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-puntos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.mobile-puntos-order {
  color: #6c757d;
  font-size: 1.2rem;
}

.mobile-puntos-status {
  flex-shrink: 0;
}

.mobile-puntos-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-puntos-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.mobile-puntos-info {
  flex: 1;
  min-width: 0;
}

.mobile-puntos-name {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.mobile-puntos-location {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.mobile-puntos-order-text {
  color: #6c757d;
  font-size: 0.85rem;
}

.mobile-puntos-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-puntos-actions .btn {
  flex: 1;
  max-width: 120px;
  font-size: 0.875rem;
}

/* ==================== MOBILE NEWS STYLES ==================== */
.mobile-news-list {
  margin-top: 1rem;
}

.mobile-news-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-news-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-news-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-news-image {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.mobile-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-news-info {
  flex: 1;
  min-width: 0;
}

.mobile-news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  word-wrap: break-word;
}

.mobile-news-category {
  margin-bottom: 0.5rem;
}

.mobile-news-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.mobile-news-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-news-actions .btn {
  flex: 1;
  max-width: 120px;
  font-size: 0.875rem;
}

/* ==================== MOBILE BULLETINS STYLES ==================== */
.mobile-bulletins-list {
  margin-top: 1rem;
}

.mobile-bulletins-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-bulletins-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-bulletins-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-bulletins-image {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.mobile-bulletins-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-bulletins-placeholder {
  color: #adb5bd;
  text-align: center;
}

.mobile-bulletins-info {
  flex: 1;
  min-width: 0;
}

.mobile-bulletins-title {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  word-wrap: break-word;
}

.mobile-bulletins-date {
  color: #6c757d;
  font-size: 0.85rem;
}

.mobile-bulletins-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-bulletins-actions .btn {
  flex: 1;
  max-width: 120px;
  font-size: 0.875rem;
}

/* ==================== MOBILE DONATIONS STYLES ==================== */
.mobile-donations-list {
  margin-top: 1rem;
}

.mobile-donations-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-donations-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-donations-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-donations-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #007bff;
}

.mobile-donations-info {
  flex: 1;
  min-width: 0;
}

.mobile-donations-bank {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.mobile-donations-currency {
  margin-bottom: 0.5rem;
}

.mobile-donations-account {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.mobile-donations-iban {
  color: #6c757d;
  font-size: 0.85rem;
  word-wrap: break-word;
}

.mobile-donations-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-donations-actions .btn {
  flex: 1;
  max-width: 120px;
  font-size: 0.875rem;
}

/* ==================== MOBILE CONTACT STYLES ==================== */
.mobile-contact-list {
  margin-top: 1rem;
}

.mobile-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-contact-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.mobile-contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mobile-contact-info {
  flex: 1;
  min-width: 0;
}

.mobile-contact-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.mobile-contact-value {
  color: #6c757d;
  word-wrap: break-word;
  line-height: 1.4;
}

/* ==================== MOBILE MEMBERSHIPS STYLES ==================== */
.mobile-memberships-list {
  margin-top: 1rem;
}

.mobile-memberships-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-memberships-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-memberships-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-memberships-logo {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.mobile-memberships-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-memberships-placeholder {
  color: #adb5bd;
  text-align: center;
}

.mobile-memberships-info {
  flex: 1;
  min-width: 0;
}

.mobile-memberships-title {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.mobile-memberships-name {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.mobile-memberships-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-memberships-fee {
  font-size: 0.85rem;
  color: #495057;
}

.mobile-memberships-status {
  margin-bottom: 0.25rem;
}

.mobile-memberships-order {
  font-size: 0.85rem;
  color: #6c757d;
}

.mobile-memberships-actions {
  display: flex;
  justify-content: center;
}

.mobile-memberships-actions .btn {
  font-size: 0.875rem;
}

/* ==================== MOBILE VOLUNTEER STYLES ==================== */
.mobile-volunteer-list {
  margin-top: 1rem;
}

.mobile-volunteer-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-volunteer-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-volunteer-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.mobile-volunteer-image {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.mobile-volunteer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-volunteer-info {
  flex: 1;
  min-width: 0;
}

.mobile-volunteer-order {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
}

.mobile-volunteer-actions {
  display: flex;
  justify-content: center;
}

.mobile-volunteer-actions .btn {
  font-size: 0.875rem;
}

/* ==================== MOBILE EMAILS STYLES ==================== */
.mobile-emails-list {
  margin-top: 1rem;
}

.mobile-emails-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-emails-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-emails-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-emails-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #17a2b8;
}

.mobile-emails-info {
  flex: 1;
  min-width: 0;
}

.mobile-emails-key {
  margin-bottom: 0.5rem;
}

.mobile-emails-description {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.mobile-emails-value {
  margin-bottom: 0.5rem;
}

.mobile-emails-date {
  color: #6c757d;
  font-size: 0.8rem;
}

.mobile-emails-actions {
  display: flex;
  justify-content: center;
}

.mobile-emails-actions .btn {
  font-size: 0.875rem;
}

/* ==================== MOBILE USERS STYLES ==================== */
.mobile-users-list {
  margin-top: 1rem;
}

.mobile-users-item {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.mobile-users-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mobile-users-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mobile-users-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #007bff;
}

.mobile-users-info {
  flex: 1;
  min-width: 0;
}

.mobile-users-name {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

.mobile-users-username {
  margin-bottom: 0.5rem;
}

.mobile-users-status {
  margin-bottom: 0.25rem;
}

.mobile-users-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mobile-users-actions .btn {
  flex: 1;
  max-width: 120px;
  font-size: 0.875rem;
}
