/* style.css */

/* -------------------
   RESET BÁSICO
------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* -------------------
   FONDO ANIMADO
------------------- */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}


/* -------------------
   CONTENEDOR PRINCIPAL
------------------- */
.container {
    background-color: #1c1c1c;
    padding: 35px 25px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.7);
    animation: fadeIn 1s ease forwards;
}

/* -------------------
   FADE IN
------------------- */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* -------------------
   ICONO APP
------------------- */
.app-icon img {
    width: 150px;
    margin-bottom: 2px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* -------------------
   LEMA
------------------- */

.lema {
    font-size: 1.2rem;
    text-align: center;
    color: white;
    font-weight: 300;
}

.dorado-glow {
    color: #FFD700;
    font-weight: 600;
    animation: glow-on-off 1.5s ease-in-out infinite;
}

@keyframes glow-on-off {
    0% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 10px #FFD700, 0 0 20px #FFA500, 0 0 30px #FF8C00; /* resplandor máximo */
    }
    100% {
        text-shadow: none;
    }
}

/* -------------------
   CABECERAS Y TEXTOS
------------------- */
h2 {
    color: #00ff00;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

p {
    color: #fff;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* -------------------
   INPUTS FLOTAENTES
------------------- */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

.input-container input {
    width: 100%;
    padding: 14px 12px 14px 12px;
    border-radius: 8px;
    border: 2px solid #2c2c2c;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-container input:focus {
    border-color: #ffd700;
    background-color: #333;
    outline: none;
}

.input-container label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    background-color: #1c1c1c;
    padding: 0 5px;
    font-size: 0.75rem;
    color: #ffd700;
}

.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toggle-password img:hover {
    opacity: 1;
}

/* -------------------
   BOTÓN
------------------- */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #bfa00f, #ffd700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #ffd700;
}

/* -------------------
   LINKS Y CHAT
------------------- */
a {
    color: #ffd700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

a:hover {
    color: #00ff00;
}

.chat_cambiar_pass img {
    width: 25px;
    vertical-align: middle;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.chat_cambiar_pass img:hover {
    transform: scale(1.2);
}

/* -------------------
   MENSAJE DE ERROR
------------------- */
p[style*="color: red"] {
    font-weight: bold;
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* -------------------
   MEDIA QUERIES PARA MÓVIL
------------------- */
@media (max-width: 400px) {
    h2 {
        font-size: 1.3rem;
    }

    .input-container input {
        padding: 12px 10px;
        font-size: 0.95rem;
    }

    button {
        padding: 13px;
        font-size: 1rem;
    }

    p, a {
        font-size: 0.85rem;
    }
}

.toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: top 0.5s ease, opacity 0.5s ease;
    z-index: 9999;
}

.toast.show {
    top: 20px;
    opacity: 1;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
}

.next-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(90deg, #bfa00f, #ffd700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.next-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #ffd700;
}

.prev-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(90deg, #444, #666);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.prev-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #999;
}

/* -------------------
   SELECT ESTILIZADO
------------------- */
.input-container select {
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    border: 2px solid #2c2c2c;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.input-container select:focus {
    border-color: #ffd700;
    background-color: #333;
    outline: none;
}

.input-container select-wrapper {
    position: relative;
}

.input-container select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #ffd700;
    font-size: 0.8rem;
}

/* -------------------
   BOTÓN SUBIR ARCHIVO
------------------- */
.file-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.file-label {
    color: #fff;
    font-size: 0.95rem;
}

.upload-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: auto;
    height: auto;
}

.upload-btn img {
    display: block;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.upload-btn:hover img {
    transform: scale(1.1);
}

.file-name {
    color: #ccc;
    font-size: 0.85rem;
    margin-top: 6px;
    word-break: break-word;
}

.preview-img {
  margin-top: 10px;
  max-width: 160px;
  max-height: 160px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid #ffd700;
  object-fit: cover;
}
.preview-img:hover {
  transform: scale(1.05);
}

.upload-btn {
  background-color: #ffd700;
  color: #1c1c1c;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.upload-btn:hover {
  background-color: #e6c200;
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transition: transform 0.3s ease;
}
.lightbox img:hover {
  transform: scale(1.03);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.close-lightbox:hover {
  background: rgba(255, 215, 0, 0.8);
  color: #000;
  transform: scale(1.1);
}

/* -------------------
   TEXTAREA ESTILO FLOTAANTE
------------------- */
.input-container textarea {
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    border: 2px solid #2c2c2c;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.input-container textarea:focus {
    border-color: #ffd700;
    background-color: #333;
    outline: none;
}

.input-container textarea:focus + label,
.input-container textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    background-color: #1c1c1c;
    padding: 0 5px;
    font-size: 0.75rem;
    color: #ffd700;
}

.input-container label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.overlay-privacidad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
}

.modal-privacidad {
  background-color: #1c1c1c;
  color: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 15px 20px;
  border-bottom: 1px solid #333;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #ffd700;
}

.close-modal {
  background: none;
  border: 2px solid #ffd700;
  color: #ffd700;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.close-modal:hover {
  background-color: #ffd700;
  color: #1c1c1c;
}

.modal-body {
  padding: 20px 25px;
  overflow-y: auto;
  line-height: 1.6;
  font-size: 0.95rem;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 #2a2a2a;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 10px;
}
.modal-body::-webkit-scrollbar-track {
  background: #2a2a2a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.success-modal-content {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 20px #FFD700;
    font-size: 18px;
}

/* -------------------
   PROMOCIONES
------------------- */
.promociones-container {
    width: 100%;
    height: 20%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

.promociones-container img.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.promociones-container img.promo-img:hover {
    transform: scale(1.05);
}

/* -------------------
   SECCIONES DESLIZABLES
------------------- */
.secciones-wrapper {
    overflow: hidden;
    width: 100%;
    min-height: 400px;
}

.secciones-container {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease;
}

.seccion {
    flex: 0 0 100%;
    width: 100%;
    padding-top: 20px;
}

.button-group-secciones {
    display: flex;
    justify-content: space-between;
    gap: 1px;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: transparent;
    color: #ccc;
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.tab-btn:hover img {
    opacity: 1;
}
.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.button-group-secciones-ad {
    display: flex;
    justify-content: space-between;
    gap: 1px;
}

.tab-btn-ad {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: transparent;
    color: #ccc;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn-ad img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.tab-btn-ad:hover img {
    opacity: 1;
}
.tab-btn-ad:hover {
    color: #fff;
}

.tab-btn-ad.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

/* -------------------
   INFO USUARIO
------------------- */
.usuario-info {
    text-align: left;
    margin: 0 auto;
    max-width: 100%;
}

.usuario-info p {
    margin-bottom: 8px;
}

.btn-logout {
    display: inline-block;
    background: #d9534f;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.btn-logout:hover {
    background: #c9302c;
}

/* -------------------
   CALCULADORA
------------------- */
.calculadora-container {
  background: linear-gradient(180deg, #0a0a0a, #111);
  padding: 1.2rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
  max-width: 380px;
  margin: 1.5rem auto;
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.calculadora-container h3 {
  text-align: center;
  color: #FFD700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.calculadora-container label {
  display: block;
  font-weight: 600;
  color: #FFD700;
  margin-top: 0.8rem;
}

.calculadora-container select,
.calculadora-container input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.3rem;
  border-radius: 0.6rem;
  border: 1px solid #FFD700;
  background: #111;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.calculadora-container select:focus,
.calculadora-container input:focus {
  border-color: #ffea70;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Resultado */
.resultado {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem;
  border-radius: 0.8rem;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.resultado p {
  margin: 0.3rem 0;
}

.resultado b {
  color: #FFD700;
}

#monto_final {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-left: 0.2rem;
}

/* Responsive */
@media (max-width: 480px) {
  .calculadora-container {
    width: 90%;
    font-size: 0.9rem;
  }
  .calculadora-container h3 {
    font-size: 1.2rem;
  }
}





/* ----------------------------
   SECCIÓN USUARIOS
----------------------------- */

#buscarUsuario {
  flex: 1;
  min-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: black;
  color: #fff;
  font-size: 18px;
}

.tabla-usuarios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usuario-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
  border-left: 5px solid transparent;
}

.usuario-item:hover {
  background: #2a2a2a;
}

.usuario-en-revision {
  border-left-color: #f1c40f;
  background-color: rgba(241, 196, 15, 0.2);
  color: #fff;
}

.usuario-rechazado {
  border-left-color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.2);
  color: #fff;
}

.usuario-verificado {
  border-left-color: #2ecc71;
  background-color: rgba(46, 204, 113, 0.2);
  color: #fff;
}

.usuario-info {
  flex: 1;
  font-size: 18px;
  word-break: break-word;
}

.usuario-acciones {
  display: flex;
  gap: 6px;
}

.btn-revisar-usuario, .btn-borrar-usuario {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background: #d4af37;
    color: #000;
    line-height: 1;
    text-align: center; 
}

.btn-revisar-usuario:hover, .btn-borrar-usuario:hover {
    background: #bfa238;
}

@media (max-width: 600px) {
  .usuario-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .usuario-acciones {
    align-self: flex-end;
  }
}


/* ----------------------------
   INFORMACION DEL USUARIO
----------------------------- */
.user-review__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 5px;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.user-review__form {
  display: flex;
  flex-direction: column;
}

.user-review__label {
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bold;
}

.user-review__input,
.user-review__textarea,
.user-review__select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  width: 100%;
  transition: all 0.3s ease;
}

.user-review__input:focus,
.user-review__textarea:focus,
.user-review__select:focus {
  outline: none;
  border: 1px solid #39ff14;
  box-shadow: 0 0 5px #39ff14;
}

.user-review__textarea {
  resize: vertical;
  min-height: 80px;
}

.user-review__btn-cambiar {
  display: inline-block;
  width: auto;
  padding: 6px 12px;
  background-color: #ffd700;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin: 2px auto;
  transition: all 0.3s ease;
}

.user-review__btn-cambiar:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.user-review__img-preview {
  margin: 2px auto;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #555;
  transition: all 0.3s ease;
}

.user-review__img-preview:hover {
  border-color: #39ff14;
  box-shadow: 0 0 10px #39ff14;
}

.user-review__lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}

.user-review__lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.user-review__btn-cerrar {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: #ffd700;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: auto;
}

.user-review__btn-cerrar:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.modal-borrar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-borrar__content {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,0,0.2);
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-borrar__titulo {
  color: #ff5555;
  margin-bottom: 15px;
  font-size: 22px;
}

.modal-borrar__mensaje {
  margin-bottom: 25px;
  font-size: 18px;
}

.modal-borrar__botones {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}

.modal-borrar__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-borrar__btn--no {
  background: #555;
  color: #fff;
}

.modal-borrar__btn--no:hover {
  background: #777;
}

.modal-borrar__btn--si {
  background: #ff5555;
  color: #fff;
}

.modal-borrar__btn--si:hover {
  background: #ff2222;
}


/*=================
    FACTORES Y COMISIONES
===================*/
#factoresContainer,
#comisionesContainer {
  color: #fff;
  font-size: 16px;
}

/* Acordeón */
.acordeon-header {
  background: #111;
  color: #ffd700;
  border: 2px solid #ffd700;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-bottom: 4px;
}
.acordeon-header:hover {
  background: #222;
  transform: scale(1.02);
}
.acordeon-header span {
  transition: transform 0.3s ease;
  font-size: 20px;
}
.acordeon-header.open span {
  transform: rotate(180deg);
}

/* Contenido del acordeón */
.acordeon-content {
  display: none;
  background: #0a0a0a;
  border: 2px solid #333;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 20px;
  margin-top: -2px;
}
.acordeon-content.active {
  display: block;
}

/* Labels e inputs */
.acordeon-content label {
  color: #ddd;
  font-size: 15px;
  margin-bottom: 4px;
  display: block;
}
.acordeon-content input {
  width: 100%;
  background: #111;
  color: #fff;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 16px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.acordeon-content input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 8px #ffd700;
}

.acordeon-content .grid {
  gap: 16px;
}

#factoresContainer .factores-card,
#comisionesContainer .factores-card {
  margin-bottom: 16px;
}

#comisionesContainer .factores-card {
  border-color: #ffb700;
  background: #111212;
}

@media (max-width: 768px) {
  .acordeon-content .grid {
    grid-template-columns: 1fr !important;
  }
  .next-btn {
    width: 100%;
    text-align: center;
  }
}


/*=====================
       PROMOCIONES
=======================*/

.promocion-item {
    background-color: #2c2c2c;
    color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: auto;
}

.promocion-info strong {
    font-size: 1.2rem;
    color: #ffffff;
}

.promocion-imagen img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.promocion-acciones {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.promocion-acciones .btn-editar-promo,
.promocion-acciones .btn-borrar-promo {
    background-color: #f1c40f;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.promocion-acciones .btn-editar-promo:hover,
.promocion-acciones .btn-borrar-promo:hover {
    background-color: #d4ac0d;
    transform: scale(1.05);
}

.modal-overlay-promo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content-promo {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.modal-borrar-promo__mensaje {
  font-size: 18px;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.modal-borrar-promo__btn--si {
  background-color: #ff5555;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-borrar-promo__btn--si:hover {
  background-color: #ff2222;
}

.modal-borrar-promo__btn--no {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-borrar-promo__btn--no:hover {
  background-color: #777;
}

/*====================
EDITAR PROMOCIONES
=======================*/
.promo-editor-container {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
  width: 90%;
  max-width: 600px;
  margin: 30px auto;
}

.promo-editor__titulo {
  color: #ffcc00;
  text-align: center;
  margin-bottom: 25px;
}

.promo-editor__label {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  color: #ddd;
}

.promo-editor__input,
.promo-editor__textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 8px;
  background: #333;
  color: #fff;
  font-size: 15px;
}

.promo-editor__textarea {
  resize: vertical;
}

.promo-editar__imagen-container {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.promo-editar__imagen-preview {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.promo-editor__btn--cambiar-imagen {
  background: #ffcc00;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.promo-editor__btn--cambiar-imagen:hover {
  background: #e6b800;
}

.promo-editor__botones {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.promo-editor__btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.promo-editor__btn--guardar {
  background: #ffcc00;
  color: #1a1a1a;
}

.promo-editor__btn--guardar:hover {
  background: #e6b800;
}

.promo-editor__btn--cancelar {
  background: #555;
  color: #fff;
}

.promo-editor__btn--cancelar:hover {
  background: #777;
}

.promo-toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-50px);
  background: #ff5555;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
}

.promo-toast--success {
  background: #4caf50;
}

.promo-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/*==================
     SOCIOS
=================*/

#buscarSocio {
  flex: 1;
  min-width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: black;
  color: #fff;
  font-size: 18px;
}

.tabla-socios {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.lista-socio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
  border-left: 5px solid transparent;
  color: #fff;
}

.lista-socio-item:hover {
  background: #2a2a2a;
  border-left-color: #d4af37;
}

.lista-socio-info {
  flex: 1;
  font-size: 18px;
  word-break: break-word;
}

.lista-socio-acciones {
  display: flex;
  gap: 6px;
}

.lista-socio-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  color: #d4af37;
  font-size: 16px;
}

.lista-socio-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.1);
}

.lista-socio-editar, .lista-socio-borrar {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background: #d4af37;
    color: #000;
    line-height: 1;
    text-align: center; 
}

.lista-socio-editar:hover, .lista-socio-borrar:hover {
    background: #bfa238;
}

@media (max-width: 600px) {
  .lista-socio-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .lista-socio-acciones {
    align-self: flex-end;
  }
}

.lista-socio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lista-socio-modal__contenido {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,0,0.2);
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lista-socio-modal__titulo {
  color: #ff5555;
  margin-bottom: 15px;
  font-size: 22px;
}

.lista-socio-modal__mensaje {
  margin-bottom: 25px;
  font-size: 18px;
}

.lista-socio-modal__acciones {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}

.lista-socio-modal__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lista-socio-modal__btn--no {
  background: #555;
  color: #fff;
}
.lista-socio-modal__btn--no:hover {
  background: #777;
}

.lista-socio-modal__btn--si {
  background: #ff5555;
  color: #fff;
}
.lista-socio-modal__btn--si:hover {
  background: #ff2222;
}

/*====================
    EDITAR SOCIO
======================*/

.form-editar-socio {
  max-width: 500px;
  margin: 60px auto;
  background: #1a1a1a;
  padding: 35px 40px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.form-editar-socio label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #f5f5f5;
}

.form-editar-socio input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #000;
  color: #fff;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
}

.form-editar-socio input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}


/*=================
CREAR SOCIO
===================*/

.form-crear-socio {
  max-width: 500px;
  margin: 40px auto;
  background: #1a1a1a;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,0,0.1);
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.form-crear-socio label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.form-crear-socio input,
.form-crear-socio select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #2a2a2a;
  color: #fff;
  transition: all 0.2s ease;
}

.form-crear-socio input:focus,
.form-crear-socio select:focus {
  background: #3a3a3a;
  box-shadow: 0 0 5px #d4af37;
}


/*====================
       CUENTAS
=======================*/

.seccion-acordeon {
    max-width: 900px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

.acordeon-cuentas-bancarias h3,
.acordeon-billeteras h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.acordeon-pais {
    margin-bottom: 8px;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.acordeon-pais-header {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.acordeon-pais-content {
    display: none;
    background: #222;
    padding: 10px 15px;
}

.acordeon-pais-content.show {
    display: block;
}

.cuenta-item, .billetera-item {
    background: #111;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: left;
}

.cuenta-item p, .billetera-item p {
    margin: 3px 0;
}

.cuenta-acciones, .billetera-acciones {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-editar-cuentab, .btn-borrar-cuentab {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background: #d4af37;
    color: #000;
    line-height: 1;
    text-align: center; 
}

.btn-editar-cuentab:hover, .btn-borrar-cuentab:hover {
    background: #bfa238;
}

.btn-editar-billetera, .btn-borrar-billetera {
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background: #d4af37;
    color: #000;
    line-height: 1;
    text-align: center; 
}

.btn-editar-billetera:hover, .btn-borrar-billetera:hover {
    background: #bfa238;
}

.cuentab-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.cuentab-modal__contenido {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,0,0.2);
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: modalFadeIn 0.3s ease;
}

.cuentab-modal__mensaje {
  margin-bottom: 25px;
  font-size: 18px;
}

.cuentab-modal__acciones {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}

.cuentab-modal__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cuentab-modal__btn--no {
  background: #555;
  color: #fff;
}
.cuentab-modal__btn--no:hover {
  background: #777;
}

.cuentab-modal__btn--si {
  background: #ff5555;
  color: #fff;
}
.cuentab-modal__btn--si:hover {
  background: #ff2222;
}

.billetera-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.billetera-modal__contenido {
  background: #1a1a1a;
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,0,0.2);
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: modalFadeIn 0.3s ease;
}

.billetera-modal__mensaje {
  margin-bottom: 25px;
  font-size: 18px;
}

.billetera-modal__acciones {
  display: flex;
  justify-content: space-around;
  gap: 5px;
}

.billetera-modal__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.billetera-modal__btn--no {
  background: #555;
  color: #fff;
}
.billetera-modal__btn--no:hover {
  background: #777;
}

.billetera-modal__btn--si {
  background: #ff5555;
  color: #fff;
}
.billetera-modal__btn--si:hover {
  background: #ff2222;
}

@keyframes modalFadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-crear-cuenta {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px 25px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: Arial, sans-serif;
}

.form-crear-cuenta h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-crear-cuenta label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
}

.form-crear-cuenta input,
.form-crear-cuenta select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.form-crear-cuenta textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
}

.form-crear-cuenta input:focus,
.form-crear-cuenta select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px #d4af37;
}

.form-crear-cuenta input[readonly] {
    background: #333;
    color: #aaa;
    cursor: not-allowed;
}

.form-crear-billetera {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px 25px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: Arial, sans-serif;
}

.form-crear-billetera h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-crear-billetera label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
}

.form-crear-billetera input,
.form-crear-billetera textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
}

.form-crear-billetera input:focus,
.form-crear-billetera textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px #d4af37;
}

/*================
EDITAR CUENTA BANCARIA
==================*/

.form-editar-cuenta {
    background: #111;
    color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.form-editar-cuenta label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.form-editar-cuenta input,
.form-editar-cuenta select,
.form-editar-cuenta textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 6px;
    border: 1px solid #555;
    border-radius: 6px;
    background: #222;
    color: #fff;
}

.form-editar-cuenta input:focus,
.form-editar-cuenta select:focus,
.form-editar-cuenta textarea:focus {
    border-color: #d4af37;
    outline: none;
}

.form-editar-billetera {
    background: #111;
    color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.form-editar-billetera label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.form-editar-billetera input,
.form-editar-billetera textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 6px;
    border: 1px solid #555;
    border-radius: 6px;
    background: #222;
    color: #fff;
}

.form-editar-billetera input:focus,
.form-editar-billetera textarea:focus {
    border-color: #d4af37;
    outline: none;
}

/*==================
NUESTRAS CUENTAS USUARIO
====================*/

.seccion-acordeon-usuario {
    max-width: 900px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

.acordeon-cuentas-bancarias-usuario h3,
.acordeon-billeteras-usuario h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.acordeon-pais-usuario {
    margin-bottom: 8px;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.acordeon-pais-header-usuario {
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.acordeon-pais-content-usuario {
    display: none;
    background: #222;
    padding: 10px 15px;
}

.acordeon-pais-content-usuario.show {
    display: block;
}

/* --- Items --- */
.cuenta-item-usuario, .billetera-item-usuario {
    background: #111;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: left;
}

.cuenta-item-usuario p, .billetera-item-usuario p {
    margin: 3px 0;
}

/*=====================
CREAR TRANSACCION
========================*/

.input-transaccion, select {
    width: 300px;
    padding: 6px 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #555;
    background-color: #000;
    color: #fff;
}

.input-transaccion.readonly-input {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #f0c000;
    padding: 8px;
    border-radius: 5px;
}

.input-transaccion.readonly-input:read-only {
    cursor: not-allowed;
    opacity: 0.9;
}

.toast-transacciones {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f59e0b;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    font-weight: bold;
    font-size: 14px;
    display: none;
    z-index: 10000;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeout {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/*========================
TRANSACCIONES LISTA
===========================*/
.tabla-transacciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaccion-registro {
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    background-color: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.1s, background 0.3s;
}

.transaccion-registro:hover {
    transform: scale(1.02);
}

.transaccion-registro.En-Revisión { background-color: rgba(255, 255, 200, 0.15); }
.transaccion-registro.Aprobada { background-color: rgba(255, 255, 150, 0.2); }
.transaccion-registro.Finalizada { background-color: rgba(0, 255, 0, 0.15); }
.transaccion-registro.Rechazada { background-color: rgba(255, 0, 0, 0.15); }

.sin-transacciones {
    color: #aaa;
    text-align: center;
    font-style: italic;
}

.progreso-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}

.progreso-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ffcc, #00ff88);
    width: 0%;
    transition: width 1s ease;
    border-radius: 4px;
}
.estado-texto {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.8;
}

/*===================
VER TRANSACCION
=======================*/
.ver-transaccion-contenedor {
  max-width: 600px;
  margin: 0 auto;
  background: #1b1b1b;
  padding: 20px;
  border-radius: 10px;
  color: white;
}

.ver-transaccion-detalle p {
  margin: 5px 0;
}

.ver-transaccion-img-preview {
  width: 140px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
  margin: 10px 0;
  border: 2px solid rgba(255,255,255,0.1);
  object-fit: cover;
}
.ver-transaccion-img-preview:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.ver-transaccion-texto-gris {
  color: #aaa;
  font-style: italic;
}

.ver-transaccion-motivo-rechazo {
  background: rgba(255, 0, 0, 0.1);
  padding: 10px;
  border-left: 3px solid red;
  border-radius: 5px;
  margin-top: 5px;
}

.ver-transaccion-btn-volver {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #333;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.ver-transaccion-btn-volver:hover {
  background: #444;
}

.ver-transaccion-lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.ver-transaccion-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.ver-transaccion-cerrar {
  position: absolute;
  top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 215, 0, 0.9);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: auto;
  z-index: 10000;
}


.ver-transaccion-capturas {
  margin-top: 20px;
}

.ver-transaccion-estado {
  margin-top: 30px;
}

/*=====================
TRANSACCIONES
========================*/
#buscarTransaccion {
  width: 95%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: white;
  font-size: 16px;
  margin-right: 10px;
}

.tabla-transacciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transaccion-item {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 15px;
  color: white;
  cursor: pointer;
  transition: transform 0.1s ease-in-out, opacity 0.2s;
  background: rgba(255, 255, 255, 0.05);
}

.transaccion-item:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.transaccion-item.en-revisión {
  background: rgba(255, 230, 50, 0.25);
  border-left: 4px solid rgba(255, 215, 0, 0.6);
}

.transaccion-item.aprobada {
  background: rgba(0, 255, 100, 0.25);
  border-left: 4px solid rgba(0, 255, 100, 0.6);
}

.transaccion-item.finalizada {
  background: rgba(80, 80, 80, 0.6);
  border-left: 4px solid rgba(160, 160, 160, 0.8);
}

.transaccion-item.rechazada {
  background: rgba(255, 60, 60, 0.25);
  border-left: 4px solid rgba(255, 60, 60, 0.6);
}

.sin-transacciones, .loading, .error {
  text-align: center;
  color: #aaa;
  padding: 20px;
}

.error {
  color: red;
}

.transaccion-item span {
  font-weight: 500;
}

/*===================
VER TRANSACCION ADMIN
=====================*/

.transaccion-admin-contenedor {
  max-width: 800px;
  margin: 30px auto;
  background: #0f0f10;
  padding: 22px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
}

.transaccion-admin-detalle p {
  margin: 6px 0;
  font-size: 15px;
}

.transaccion-admin-capturas {
  margin-top: 18px;
}

.transaccion-admin-img-preview {
  width: 140px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.05);
  margin-top: 8px;
}

.transaccion-admin-img-preview-small {
  width: 180px;
  border-radius: 8px;
  margin-top: 8px;
}

.transaccion-admin-texto-gris {
  color: #aaa;
  font-style: italic;
}

.transaccion-admin-estado-section { margin-top: 18px; }

.transaccion-admin-label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
}

.transaccion-admin-select, .transaccion-admin-textarea {
  width: 100%;
  padding: 8px 10px;
  background: #111;
  color: white;
  border: 1px solid #333;
  border-radius: 6px;
  box-sizing: border-box;
}

.transaccion-admin-file-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.transaccion-admin-btn {
  background: #d4af37;
  color: black;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.transaccion-admin-accept-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
}

.transaccion-admin-cancel-link {
  margin-left: 12px;
  color: #ddd;
  text-decoration: none;
}

.transaccion-admin-motivo {
  background: rgba(255, 60, 60, 0.12);
  padding: 10px;
  border-left: 4px solid rgba(255,60,60,0.6);
  border-radius: 6px;
}

.transaccion-admin-back {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  text-decoration: none;
  background: #222;
  padding: 8px 14px;
  border-radius: 6px;
}

.transaccion-admin-lightbox {
  display: none;
  position: fixed;
  z-index: 1500;
  inset: 0;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
}

.transaccion-admin-lightbox-img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 8px;
}

.transaccion-admin-lightbox-close {
  position: absolute;
  top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 215, 0, 0.9);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: auto;
  z-index: 10000;
}

.toast-admin {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}

.toast-admin.show {
  top: 20px;
  opacity: 1;
}

.toast-admin.success {
  background-color: #28a745;
}

.toast-admin.error {
  background-color: #dc3545;
}

.toast-admin.info {
  background-color: #17a2b8;
}

/* ====== Flashes flotantes ====== */
.flash-floating-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.flash-floating {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  animation: flashSlideIn 0.4s ease forwards, flashFadeOut 0.4s ease 4.5s forwards;
  pointer-events: auto;
}

.flash-success { background-color: #28a745; color: #fff; }
.flash-error   { background-color: #dc3545; color: #fff; }
.flash-warning { background-color: #ffc107; color: #000; }
.flash-info    { background-color: #17a2b8; color: #fff; }

@keyframes flashSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes flashFadeOut {
  to { opacity: 0; transform: translateY(-20px); }
}

/*==================
PANEL SOCIOS
====================*/

.socio-nombre {
    color: #fff;
}

/*=============
USUARIO++
===============*/

.estado-cuenta {
    margin: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 15px; 
    display: inline-block;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid;
    animation: neonBlink 1.5s infinite alternate;
    transition: all 0.3s ease-in-out;
    background-color: rgba(0,0,0,0.15);
}

.estado-revision {
    color: #FFD700;
    border-color: #FFD700;
    text-shadow:
        0 0 3px #FFD700,
        0 0 6px #FFD700,
        0 0 12px #FFD700;
    box-shadow:
        0 0 6px #FFD700,
        0 0 12px #FFD700,
        0 0 24px #FFD700;
}

.estado-verificado {
    color: #00FF00;
    border-color: #00FF00;
    text-shadow:
        0 0 3px #00FF00,
        0 0 6px #00FF00,
        0 0 12px #00FF00;
    box-shadow:
        0 0 6px #00FF00,
        0 0 12px #00FF00,
        0 0 24px #00FF00;
}

.estado-rechazado {
    color: #FF0040;
    border-color: #FF0040;
    text-shadow:
        0 0 3px #FF0040,
        0 0 6px #FF0040,
        0 0 12px #FF0040;
    box-shadow:
        0 0 6px #FF0040,
        0 0 12px #FF0040,
        0 0 24px #FF0040;
}

@keyframes neonBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}


.transaccion-detalle {
    background: linear-gradient(135deg, #1e1e2f, #2a2a4a);
    color: #fff;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 25px auto;
    max-width: 500px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transaccion-detalle:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.transaccion-detalle p {
    margin: 15px 0;
    font-size: 1.4rem;
    line-height: 1.6;
}

.transaccion-detalle strong {
    color: #f5b942;
    font-weight: 700;
}

.monto-valor {
    font-size: 2rem;
    font-weight: 800;
    color: #00e676;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
}

.banco-valor,
.cuenta-valor {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d6d6f5;
}


.transaccion-info {
    background: linear-gradient(135deg, #222244, #2f2f5a);
    border-radius: 20px;
    padding: 25px 30px;
    color: #fff;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.transaccion-info:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.transaccion-info p {
    font-size: 1.3rem;
    margin: 12px 0;
    line-height: 1.5;
}

.transaccion-info strong {
    color: #ffcc66;
    font-weight: 700;
}

.tipo-valor {
    font-weight: 700;
    font-size: 1.4rem;
    color: #66e0ff;
}

.titular-valor,
.origen-valor,
.plataforma-valor,
.cuenta-valor,
.id-valor {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dcdcff;
}

.monto-final {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #00ff99;
    text-shadow: 0 0 8px rgba(0, 255, 153, 0.6);
}
