
              .tema-btn-container {
                text-align: left; /* Por defecto alineado a la izquierda para PC */
              }

              .tema-btn {
                background: transparent !important;
                border: 1.5px solid var(--gradient-color2) !important;
                color: var(--text-color) !important;
                padding: 8px 20px !important;
                height: auto !important;
                transition: all 0.3s ease !important;
                display: inline-flex;
                align-items: center;
                gap: 5px;
                margin-left: 0; /* Asegura que en PC esté pegado a la izquierda */
              }

              /* En móvil (pantallas menores a 768px) */
              @media (max-width: 768px) {
                .tema-btn-container {
                  text-align: center; /* Centrado en móvil */
                  justify-content: center;
                }
                
                .tema-btn {
                  margin: 0 auto; /* Centrar el botón en móvil */
                }
              }

              .tema-btn:hover {
                background: linear-gradient(45deg, var(--gradient-color1), var(--gradient-color2)) !important;
                color: white !important;
                transform: translateY(-2px);
              }
              
              .tema-btn.disabled {
                opacity: 0.6;
                cursor: default;
              }
              
              .tema-btn.disabled:hover {
                background: transparent !important;
                color: var(--text-color) !important;
                transform: none;
              }

              .blog-modal {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.8);
                backdrop-filter: blur(8px);
                z-index: 1000;
                padding: 40px 20px;
                overflow-y: auto;
              }

              .blog-modal-content {
                background-color: white;
                width: 95%;
                max-width: 900px;
                margin: 0 auto;
                border-radius: 20px;
                box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
                animation: modalSlideIn 0.3s ease;
              }

              .blog-modal-header {
                background: var(--primary-color);
                padding: 20px 30px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                border-radius: 20px 20px 0 0;
              }

              .header-content {
                display: flex;
                align-items: center;
                gap: 15px;
              }

              .header-content i {
                font-size: 24px;
                color: var(--text-color);
              }

              .header-content h3 {
                color: var(--text-color);
                font-size: 24px;
                margin: 0;
              }

              .close-btn {
                background: var(--secondary-color);
                border: none;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                transition: all 0.3s ease;
              }

              .close-btn i {
                color: var(--terceary-color);
                font-size: 20px;
              }

              .close-btn:hover {
                background: rgba(255, 255, 255, 0.3);
                transform: rotate(90deg);
              }

              .blog-modal-body {
                padding: 30px;
              }

              .image-gallery {
                display: block;
                margin-bottom: 30px;
              }

              .image-container {
                aspect-ratio: 16/9;
                border-radius: 15px;
                overflow: hidden;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
                width: 100%;
                max-width: 100%;
                margin: 0 auto;
              }

              .placeholder-image {
                width: 100%;
                height: 100%;
                background: linear-gradient(45deg, #f1f3f4, #e5e7eb);
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #9ca3af;
                text-align: center;
              }

              .placeholder-image i {
                font-size: 2.5rem;
                margin-bottom: 10px;
                color: var(--gradient-color2);
                display: block;
              }
              
              .placeholder-image p {
                color: var(--text-color);
                font-size: 1rem;
                margin: 0;
                text-align: center;
                width: 100%;
              }

              .content-container {
                background: white;
                padding: 25px;
                border-radius: 15px;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
                line-height: 1.8;
              }

              .content-container p {
                margin-bottom: 15px;
              }

              .content-container h4 {
                color: var(--gradient-color2);
                margin: 25px 0 15px;
                font-size: 18px;
              }

              .content-container ul {
                list-style: none;
                padding-left: 0;
              }

              .content-container li {
                padding-left: 25px;
                position: relative;
                margin-bottom: 12px;
              }

              .content-container li:before {
                content: "-";
                position: absolute;
                left: 0;
              }
              
              /* Estilos para la sección de historial */
              .history-section {
                margin-top: 40px;
                border-top: 1px solid #333;
                padding-top: 30px;
              }
              
              .history-title {
                margin-bottom: 20px;
              }
              
              .history-title h4 {
                display: flex;
                align-items: center;
                gap: 10px;
                color: #333;
                font-size: 1.2rem;
                margin: 0;
              }
              
              .history-title h4 i {
                font-size: 1.3rem;
              }
              
              #themeHistoryContainer {
                display: flex;
                flex-direction: column;
                gap: 20px;
              }
              
              .history-item {
                background: var(--primary-color);
                border-radius: 15px;
                overflow: hidden;
                box-shadow: 0 4px 10px rgba(0,0,0,0.05);
                transition: transform 0.3s ease;
              }
              
              .history-item:hover {
                transform: translateY(-5px);
              }
              
              .history-item-header {
                padding: 15px 20px;
                background: var(--primary-color);
                border-bottom: 1px solid #dee2e6;
              }
              
              .history-item-header h4 {
                color: var(--text-color);
                margin: 0;
                font-size: 18px;
              }
              
              .history-item-header small {
                display: block;
                color: var(--text-color);
                margin-top: 5px;
              }
              
              .history-item-image {
                width: 100%;
                height: 150px;
                overflow: hidden;
              }
              
              .history-item-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
              
              .history-item-content {
                padding: 15px 20px;
              }
              
              .view-history-btn {
                display: block;
                width: 100%;
                padding: 12px;
                background: var(--text-color);
                color: var(--secondary-color);
                border: none;
                cursor: pointer;
                font-weight: 500;
                transition: all 0.3s ease;
              }
              
              .view-history-btn:hover {
                opacity: 0.9;
              }
              
              .history-item-actions {
                display: flex;
                justify-content: center;
                margin-top: 20px;
              }
              
              .back-to-history-btn {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 10px 20px;
                background: #f8f9fa;
                border: 1px solid #dee2e6;
                border-radius: 30px;
                color: #495057;
                font-weight: 500;
                cursor: pointer;
                transition: all 0.3s ease;
              }
              
              .back-to-history-btn:hover {
                background: #e9ecef;
              }
              
              .no-history-message {
                text-align: center;
                padding: 20px 0;
                color: #6c757d;
                font-style: italic;
              }

              @keyframes modalSlideIn {
                from {
                  transform: translateY(-20px);
                  opacity: 0;
                }
                to {
                  transform: translateY(0);
                  opacity: 1;
                }
              }

              @media (max-width: 768px) {
                .blog-modal {
                  padding: 20px 10px;
                }
                
                .image-gallery {
                  grid-template-columns: 1fr;
                }
                
                .blog-modal-body {
                  padding: 20px;
                }
              }

              
  /* Estilos para el modal de login */
  #loginModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  #loginModalContent {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  }
  
  .login-form {
    display: flex;
    flex-direction: column;
  }
  
  .login-input-group {
    margin-bottom: 20px;
  }
  
  .login-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
  }
  
  .login-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
  }
  
  .login-input:focus {
    border-color: var(--gradient-color2);
    outline: none;
  }
  
  .login-button {
    background: linear-gradient(45deg, var(--gradient-color1), var(--gradient-color2));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
  }
  
  .login-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  
  .login-button-cancel {
    background: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .login-button-cancel:hover {
    background: #e5e5e5;
  }
  
  #loginError {
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    font-size: 14px;
  }

/* Estilos para el modal de login */
#loginModal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#loginModalContent {
    width: 90%;
    max-width: 400px;
    background-color: var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-input-group {
    margin-bottom: 15px;
}

.login-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.login-input:focus {
    outline: none;
    border-color: #cca4a4;
}

.login-button {
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-button:hover {
    background: var(--primary-color);
}

.login-button-cancel {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--terceary-color);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-button-cancel:hover {
    background: var(--secondary-color);
}

#loginError {
    color: #e74c3c;
    padding: 10px;
    border-radius: 5px;
    background: var(--primary-color);
    text-align: center;
}

/* Estilos para el modal de registro (similar al login) */
#registerModal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#registerModalContent {
    width: 90%;
    max-width: 400px;
    background-color: var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
}

#registerError {
    color: #e74c3c;
    padding: 10px;
    border-radius: 5px;
    background: #fde9e9;
    text-align: center;
}

#registerSuccess {
    color: #27ae60;
    padding: 10px;
    border-radius: 5px;
    background: #e8f7e8;
    text-align: center;
}

/* Nuevo estilo para el toast de instalación */
.install-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #777777;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: all 0.4s ease;
  width: 85%;
  max-width: 320px;
  display: none;
}

.install-toast.show {
  bottom: 15px;
  display: block;
}

.install-toast-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  width: 100%;
}

.verification-circle {
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.install-toast-content span {
  font-size: 14px;
  font-weight: 600;
  flex-grow: 1;
  margin: 0;
  padding-right: 8px;
  line-height: 1.3;
}

.install-toast-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.install-toast-actions button {
  padding: 6px 14px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

#installBtn {
  background: #ffd400;
  color: #2e2e2e;
}

#dismissBtn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

#installBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

#dismissBtn:hover {
  background: rgba(255,255,255,0.15);
}

@media (max-width: 480px) {
  .install-toast {
    width: 92%;
    padding: 10px 14px;
  }
}
