
/*--------ESTILOS LOGIN/CONSULTA--------*/
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* VIDEO DE FONDO */
.video-fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Mantiene el video detrás de todo */
  filter: brightness(0.4); /* Oscurece un poco el video para destacar el formulario */
}

/* Cuadro del formulario */
/* === CUADRO DE LOGIN === */
.form-login {
  position: relative;
  z-index: 2; /* encima del video */
  margin: 0 auto; /* centra horizontalmente */
  padding: 40px 60px;  
  width: 400px;
  max-width: 90%;
  
  /* Fondo tipo glassmorphism */
  background: rgba(255, 255, 255, 0.05); /* leve fondo translúcido */
  border: 1px solid rgba(255, 255, 255, 0.2); /* borde suave */
  border-top: 4px solid #ff7300;
  border-radius: 15px;
  backdrop-filter: blur(5px); /* efecto de desenfoque */
  
  /* Estilo visual */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover opcional */
.form-login:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.6);
}

/* Centrado general en pantalla */
body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: none; /* No queremos fondo fijo, el video estará detrás */
}

/* === VIDEO DE FONDO === */
.video-fondo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4);
}

/* === CONTENIDO INTERNO === */
.logo {
  display: block;
  margin: 0 auto 15px;
  width: 150px;
  height: auto;
}


.form-group {
  text-align: left;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ff7300;
  font-size: 1rem;
}

.btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #ff7300, #ff9900);
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: linear-gradient(135deg, #ff9900, #ffaa33);
}


/* Animación al pasar el mouse */
.form-login:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Título dentro del cuadro */
.form-login h5 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: 1px;
  border-bottom: 2px solid #ff7300;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* Inputs */
.controls {
  width: 100%;
  border: 1px solid #ff7300;
  border-radius: 25px;
  margin-bottom: 1rem;
  padding: 12px;
  background: #fff;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s ease;
}

.controls:focus {
  outline: none;
  border-color: #ff7300;
}

/* Botón */
.buttons {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ff7300, #ff7300);
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.buttons:hover {
  background: linear-gradient(135deg, #00cfff, #0099ff);
  transform: scale(1.03);
}


.form-login2 {
    width: 400px;
    height: 480px;
    background: #4d4e4e;
    margin: auto;
    margin-top: 180px;
    box-shadow: 7px 13px 37px #000000;
    padding: 20px 30px;
    border-top: 4px solid #ff7300;
    color: white;
}

.form-login3 {
    width: 600px;
    height: 580px;
    background: #4d4e4e;
    margin: auto;
    margin-top: 180px;
    box-shadow: 7px 13px 37px #000000;
    padding: 20px 30px;
    border-top: 4px solid #ff7300;
    color: white;
}

.form-login h5 {
    margin: 0;
    text-align: center;
    height: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid;
    font-size: 20px;
}

.controls {
    width: 100%;
    border: 1px solid #ff7300;
    border-radius: 20px;
    margin-bottom: 15px;
    padding: 11px 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.buttons {
    width: 100%;
    height: 40px;
    background: #ff7300;
    border: none;
    border-radius: 20px;
    color: white;
    margin-bottom: 16px;
}

.form-login p{
    height: 40px;
    text-align: center;
    border-bottom: 1px solid;
}
  
.form-login a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}
  
.form-login a:hover {
    text-decoration: underline;
}

/* logo de inspecciones */
.logo {
  display: block;
  margin: -30 auto 00px auto;
  width: 180px;
  height: auto;
  image-rendering: -webkit-optimize-contrast; /* mejora nitidez en algunos navegadores */
}

/* contenido del cuadro de inspecciones¨*/
/* Centrar el título */
.titulo {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  letter-spacing: 1px;
  border-bottom: 2px solid #ff7300;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-top: 10px;
}

/* Contenedor del formulario */

/* Campos del formulario */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ff7300;
  border-radius: 20px;
  font-size: 1rem;
}

/* Botón */

.btn {
  display: block;          /* lo hace de bloque */
  width: 50%;             /* ocupa todo el ancho del formulario */
  padding: 10px;
  background-color: #ff7300;
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #ff7300;
}

/* cuadro php */
.resultado-consulta {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.tabla-resultados {
  width: 100%;
  color: white;
  font-size: 0.9rem;
}

.tabla-resultados th {
  background-color: rgba(255, 115, 0, 0.9);
}

.tabla-resultados td, .tabla-resultados th {
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mensaje-error {
  color: #ff6666;
  font-weight: bold;
  text-align: center;
}


/*============================================*/
/* --- RESET GENERAL --- */
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: #000;
    color: white;
}

/* --- PANEL GENERAL --- */
.panel {
    width: 95%;
    margin: 30px auto;
    padding: 25px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(8px);

    border-top: 4px solid #ff7300;
    border-radius: 15px;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

/* --- HEADER INTERNO --- */
.panel header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 160px;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.35);
    padding: 2px;
    backdrop-filter: blur(2px);
}

.panel header h2 {
    font-size: px;
    margin: 0;
    font-weight: 700;
}

/* --- BOTONES NARANJA --- */
.btn-orange {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;

    background: #ff7300;
    color: white;
    text-decoration: none;
    border-radius: 8px;

    font-weight: 600;
    transition: 0.3s ease;
}

.btn-orange:hover {
    background: #e56600;
    transform: scale(1.05);
}

/* --- BUSCADOR --- */
section form {
    margin-top: 25px;
    margin-bottom: 10px;
}

#search {
    padding: 10px 15px;
    width: 220px;

    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.30);

    background: rgba(255,255,255,0.07);
    color: white;

    transition: 0.3s ease;
}

#search::placeholder {
    color: #e0e0e0;
}

#search:focus {
    border-color: #ff7300;
}

/* --- TABLA ESTILO GLASS --- */
.table-custom {
    width: 100%;
    margin-top: 20px;

    border-collapse: collapse;
    background: rgba(255,255,255,0.05);

    border-radius: 10px;
    overflow: hidden;
}

.table-custom th {
    background: rgba(255,255,255,0.08);
    padding: 12px;
    font-size: 14px;
    border-bottom: 2px solid #ff7300;
}

.table-custom td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.table-custom tr:hover {
    background: rgba(255,255,255,0.08);
    transition: 0.3s;
}

/* --- LINK "Ver archivo" --- */
.table-custom a {
    color: #ff7300;
    font-weight: 600;
}

/* --- BOTÓN ELIMINAR (Bootstrap-like) --- */
.btn-danger {
    background: #d9534f;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-danger:hover {
    background: #c9302c;
}

/* formulario inspeccion */

