body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #2f273b;
}
/*body {*/
/*  border: 5px solid red !important;*/
/*}*/

/* contenedor principal */
.box {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
}
/*logo*/
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;

  animation: fadeLogo 1s ease;
}
.logo-controlp {
  max-width: 240px;
  width: 100%;
  height: auto;

  transition: transform 0.3s ease;
}
.logo-controlp {
  filter: drop-shadow(0 0 10px rgba(184,170,183,0.35));
}
/* hover suave */
.logo-controlp:hover {
  transform: scale(1.03);
}
/* animación entrada */
@keyframes fadeLogo {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* título */
h2 {
  text-align: center;
  color: #fff;
}
/* inputs */
input {
  width: 90%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  background: #5c5175;
  color: #fff;
  font-weight: bold;
}
.cons {
    display: flex;
    justify-content: center;
}
.bloque-footer {
  width: 100%;
justify-items: center;
  /*display: flex;*/
  /*flex-direction: column; */
  /*gap: 10px;*/
}
.bloque-footer .btn-wsp {
  width: 100%;
}
/* ===== TICKET ===== */
.ticket {
  margin-top: 25px;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(230,215,224), rgb(184,170,183));
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* header */
.ticket-header {
  background: #5c5175;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
}

.codigo {
  font-weight: bold;
}

/* body */
.ticket-body {
  padding: 20px;
  color: #2f273b;
}

.estado-final {
  margin-top: 10px;
  font-weight: bold;
  color: #5c5175;
}

/* ===== PROGRESO ===== */
.progreso {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  position: relative;
}

/* línea */
.progreso::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 3px;
  background: #ccc;
}

/* paso */
.paso {
  text-align: center;
  width: 20%;
  position: relative;
  z-index: 2;
}

/* círculo */
.circulo {
  width: 20px;
  height: 20px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: #ccc;
}

/* activo */
.paso.activo .circulo {
  background: #5c5175;
}

.paso span {
  font-size: 12px;
  color: #333;
}

.paso.activo span {
  font-weight: bold;
  color: #5c5175;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {

  .progreso {
    flex-direction: column;
    align-items: flex-start;
  }

  .progreso::before {
    display: none;
  }

  .paso {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
  }

  .circulo {
    margin-right: 10px;
  }

  .paso span {
    font-size: 14px;
  }
}

.alerta-error {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background: #ffe4e6;
  border-left: 5px solid #dc2626;
  color: #7f1d1d;
  animation: fadeIn 0.4s ease;
}

.alerta-error strong {
  display: block;
  margin-bottom: 5px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/*//reset button*/
.btn-reset {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #5c5175;
  background: transparent;
  color: #5c5175;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-reset:hover {
  background: #5c5175;
  color: #fff;
}
/* ===== BOTÓN WHATSAPP PRO ===== */
/* BOTÓN WHATSAPP OFICIAL */
.btn-wsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background-color: #25D366 !important;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-wsp:hover {
  background-color: #1DA851 !important;
  transform: translateY(-1px);
}

.icono-wsp {
  width: 18px;
  height: 18px;
}


