:root {
  --primary-color: #c20202;
}

body {
  /*background: linear-gradient(to right, #1f1f1f, #2c2c2c);*/
  /*font-family: 'Segoe UI', sans-serif;*/
}

body {
  /*background: linear-gradient(135deg, #cd0202, #4b1dff, #00c4cc);*/
  background: #C20202;
  background: linear-gradient(90deg,rgba(194, 2, 2, 1) 0%, rgba(0, 186, 242, 1) 57%, rgba(242, 226, 0, 1) 100%);
  /*background: linear-gradient(160deg,rgba(194, 2, 2, 1) 0%, rgba(45, 170, 253, 1) 100%);*/
  /*background-size: 600% 600%;*/
  /*animation: backgroundMotion 15s ease infinite;*/
  font-family: 'Segoe UI', sans-serif;
}

@keyframes backgroundMotion {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.glass-container {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.nav-tabs .nav-link {
  color: white;
  border: none;
}

.nav-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.form-label {
  color: #f1f1f1;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(205, 2, 2, 0.25);
}

.btn-danger {
  background-color: var(--primary-color);
  border: none;
}

.btn-danger:hover {
  /*background-color: #c20202;*/
  background-color: #FFF;
  color: #c20202;
  font-size: content: '\1f4d8';;
}

/* Estilos generales para escritorio */
.imagen-marco {
  position: fixed;
  left: 0;
  margin-left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0; /* detrás del contenido */
  width: 50%;
  max-width: 360px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(205, 2, 2, 0.2);
}

/* Asegura que la imagen mantenga su proporción */
.imagen-marco img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  opacity: 0.95;
  display: block;
}

/* Vista móvil: colocar la imagen arriba del formulario con separación */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    padding: 1rem;
  }

  .imagen-marco {
    position: relative;
    top: auto;
    left: auto;
    margin-left: 0;
    transform: none;
    width: 100%;
    max-width: 40%;
    margin-bottom: 1rem;
    z-index: 1;
    backdrop-filter: none; /* opcional: reducir efectos en móviles */
    /*box-shadow: none; */      /* opcional */
    /*border: none; */          /* opcional */
  }

  .glass-container {
    max-width: 100%;
    width: 100%;
  }
}




