* {
	box-sizing: border-box;
}

body{
  margin: 0;
  font-family: sans-serif;

  /* IMAGEN DE FONDO EN TODA LA PÁGINA */
  background-image: url('./fondo.jpg'); /* si estilos.css y fondo.jpg están en la MISMA carpeta */
  /* Si fondo.jpg está al lado de index.php pero estilos.css está en /css/, usa: url('../fondo.jpg') */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 12px;  
}

.formulario{
  width: 95%;
  max-width: 600px;
  background: rgba(0,0,0,0.35); /* semitransparente para que se lea sobre la foto */
  /* también puedes usar: background: #00000066; */
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(2px);  /* opcional */
}

.form__title{
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	margin-top: 0;
}

.form__label {
	width: 100%;
	display: block;
	margin-bottom: 2px;
	font-size: 0.8em;
    padding: 1px;
}

.form__input {
	width: 100%;
	display: block;
	margin-bottom: 0px;
	font-size: 0.8em;
    padding: 6px;
}


.text-danger{
    padding: 0px;
    margin: 15px 0;
}

.container--50{
	width: 49%;
}

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

.container--100_2{
	width: 100%;
    padding: 0px;
    margin: 0px 0;
}

.container__file{
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: 5px 0;
}

.form__file{
	display: none;
}

.form__file-btn{
	background: crimson;
	padding: 5px;
	display: block;
	width: 20%;
	text-align: center;
	cursor: pointer;
}
.file__txt{
	width: 78%;
	padding: 5px;
	font-size: 1.0em;
}
.progressBar{
	width: 100%;
	height: 20px;
}
.form__submit{
	width: 100%;
	margin-top: 5px;
	background: crimson;
	color: white;
	padding: 5px;
	font-size: 1.0em;
	border: none;
	cursor: pointer;
}

.formulario {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.formulario__contenido {
    width: 55%;   /* el formulario un poco más angosto */
}

.formulario__imagen {
    width: 45%;   /* la parte de la imagen más ancha */
    display: flex;
    justify-content: center;   /* centra horizontalmente */
    align-items: center;       /* centra verticalmente */
}

.formulario__imagen img {
    width: 80%;   /* aumenta el tamaño de la imagen */
    height: auto;
    border: 2px solid #fff;
    border-radius: 5px;
}

/* Fila para barra + porcentaje */
.progress-row{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;   /* no permitir salto de línea */
  gap: 8px;
  width: 100%;
}

/* Barra con ancho FIJO del 80% de la fila (no cambia mientras sube) */
.progress-row #progressBar{
  flex: 0 0 80%;
  width: 80% !important;   /* asegura el 80% aunque exista otra regla global */
  max-width: 80%;
  min-width: 0;
  height: 20px;
  display: block;
  box-sizing: border-box;
}

/* Texto a la derecha, en la MISMA línea */
.progress-row #progressText{
  flex: 0 0 20%;
  width: 20%;
  text-align: right;
  white-space: nowrap;     /* evita que baje a otra línea */
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* (Opcional) si tienes esta regla global, no la quites,
   el bloque de arriba ya la sobreescribe dentro de .progress-row */
.progressBar{
  width: 100%;
  height: 20px;
}

.btn--full{
  width: 100% !important;
  display: block;
}