body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 900px;  
  margin: auto;
  background: #fff;
  padding: 25px 30px; 
}

html, body {
  overflow-x: hidden;
}


.container {
  max-width: 900px;   
  margin: auto;
  background: #fff;
  padding: 25px 30px; 
}
h3 {
  text-align: center;
  margin: 25px 0;
}





.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label span {
  color: red;
}

input, select, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

textarea {
  height: 150px;
  resize: none;
}

input:disabled {
  background: #e5e5e5;
}

.file-box {
  background: #e50914;
  padding: 20px;
  border-radius: 6px;
  color: white;
  text-align: center;
  margin-top: 25px;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
}

.file-label input {
  display: none;
}

.file-button {
  background: #e0e0e0;
  color: #333;
  padding: 8px 14px;
  border-radius: 4px;
}

.fileText {
  color: #ffffff;
}

.file-info {
  margin-top: 10px;
}

.submit {
  text-align: center;
  margin-top: 25px;
}

.submit button {
  background: #777;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
}


.alerta-exito{
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -60%);
  
  background: #28a745;
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;

  opacity: 0;
  transition: all 0.4s ease;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
}

.alerta-exito.mostrar{
  opacity: 1;
  transform: translate(-50%, -50%);
}

.error{
  color: #e53935;
  font-size: 13px;
  position: absolute;
  right: 10px;
  top: -5px;
}

.campo{
  position: relative;
}

.input-error{
  border: 2px solid #e53935;
}

#bloqueReclamoProducto{
display:none;
opacity:0;
transition:0.3s;

border:2px solid #e53935;
border-radius:8px;

padding:25px;
margin-top:30px;
}

#bloqueReclamoProducto.mostrar{
display:block;
opacity:1;
}

.texto-reclamo{
text-align:center;
max-width:750px;
margin:auto;
margin-bottom:25px;
font-size:14px;
}

.grid-contacto,
.grid-caso,
.grid-reclamo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; 
}

.campo-full{
grid-column:span 2;
}

#bloqueReclamoProducto textarea{
height:120px;
}

/* mejorar comportamiento general */
*{
box-sizing:border-box;
}

input, select, textarea{
width:100%;
}


/* -------------------- */
/* TABLET */
/* -------------------- */

@media (max-width:1024px){

.grid-contacto{
column-gap:30px;
row-gap:20px;
}

.grid-caso{
column-gap:30px;
row-gap:20px;
}

.grid-reclamo{
gap:20px;
}

}


/* -------------------- */
/* CELULAR */
/* -------------------- */

@media (max-width:768px){



.grid-contacto{
grid-template-columns:1fr;
}

.grid-caso{
grid-template-columns:1fr;
}

.grid-reclamo{
grid-template-columns:1fr;
}

.campo-full{
grid-column:span 1;
}

h3{
font-size:18px;
}

textarea{
height:130px;
}

.file-label{
flex-direction:column;
gap:10px;
}

.error{
right:5px;
top:-6px;
}

}


/* -------------------- */
/* CELULARES PEQUEÑOS */
/* -------------------- */

@media (max-width:480px){

body{
padding:10px;
}


input, select, textarea{
padding:10px;
font-size:13px;
}

.submit button{
width:100%;
}

.file-box{
padding:15px;
}

.alerta-exito{
width:90%;
text-align:center;
}

.alerta-exito.error{
  background: #e53935;
}

}
.alerta-error{
  background: #e53935;
}
.alerta-archivo{
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -60%);
  
  background: #e53935;
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;

  opacity: 0;
  transition: all 0.4s ease;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
}

.alerta-archivo.mostrar{
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* -------------------- */
/* PANTALLA DE CARGA */
/* -------------------- */

.pantalla-carga{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.9);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:10000;

  opacity:0;
  visibility:hidden;

  transition:0.3s;
}

.pantalla-carga.mostrar{
  opacity:1;
  visibility:visible;
}

.loader-box{
  text-align:center;
  font-size:18px;
  color:#333;
}

.spinner{
  width:60px;
  height:60px;
  border:6px solid #ddd;
  border-top:6px solid #e50914;
  border-radius:50%;

  animation:girar 1s linear infinite;

  margin:auto;
  margin-bottom:15px;
}

@keyframes girar{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}
