body {
background-color: #003896;
padding-bottom: 30px;
}
.container {
  max-width: 600px;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding: 14px;
    margin: 12px;
    border-radius: 16px;
  }
}
.minicont {
  max-width: 400px;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .minicont {
    padding: 14px;
    margin: 12px;
    border-radius: 16px;
  }
}
.form-step {
display: none;
}
.form-step.active {
display: block;
}
.progress {
height: 30px;
margin-bottom: 20px;
}
.progress-bar {
transition: width 0.5s ease;
font-size: 1rem;
font-weight: bold;
background-color: #003896;
}
.form-container {
background: #fff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
padding: 30px;
margin-top: 30px;
}
.btn {
margin-top: 20px;
width: 100% !important;
}
canvas {
border: 1px solid #ccc;
background-color: #fff;
}
.icopol {
width: 120px;
max-width: 120px;
height: 120px;
}
.upload-container {
max-width: 700px;
margin: 50px auto;
padding: 30px;
background-color: white;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.preview {
display: flex;
gap: 20px;
justify-content: center;
margin-top: 20px;
}
.preview img {
max-width: 45%;
height: auto;
border-radius: 10px;
border: 2px dashed #ced4da;
padding: 5px;
}
.btn-elegant {
  background: linear-gradient(135deg, #F48134, #E37023) !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
  color: white !important;
  font-weight: 600;
}

.btn-elegant:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.45) !important;
}

.btn-elegant::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.7s;
}

.btn-elegant:hover::after {
  left: 100%;
}
.copiar {
  cursor: pointer;
  font-size: 1.2em;
  align-items: right;
}
/* Contenedor del input file */
.file-upload-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Ocultar el input nativo visualmente, pero mantenerlo accesible */
.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

/* Etiqueta personalizada que actúa como botón */
.file-upload-label {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 2px dashed #ced4da;
  border-radius: 8px;
  color: #495057;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.file-upload-label:hover {
  background-color: #e9ecef;
  border-color: #86b7fe;
}

/* Estilo cuando hay error de validación */
.was-validated .file-input:invalid + .file-upload-label,
.file-input.is-invalid + .file-upload-label {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}

/* Mensaje de error personalizado */
.file-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.bi-lg {
  color: #12499a;
  font-size: 1.3rem;
  margin: 5px; 
}