/* ======= RESET Y CENTRADO GENERAL ======= */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #4b3f3f;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 90%;
  color: #333;
  border-radius: 15px;
  border: 1px solid #eee;
  max-width: 370px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffffdd;
  box-shadow: 0 8px 25px #4b3f3f7a;
}

.title {
  font-size: 28px;
  font-weight: 600;
  color: #4b3f3f;
  display: flex;
  align-items: center;
  padding-left: 28px;
  position: relative;
  margin-bottom: 5px;
}

.title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4b3f3f;
}

.title::after {
  width: 18px;
  height: 18px;
  animation: pulse 1s linear infinite;
}

.message {
  font-size: 14px;
  line-height: 20px;
  color: #666;
  margin: 0 0 10px 0;
}

.flex {
  display: flex;
  width: 100%;
  gap: 30px;
}

label {
  position: relative;
  width: 100%;
}


.input {
  width: 100%;
  background-color: #f3f6f8;
  color: #333;
  border: 1px solid #ccc;
  padding: 16px 10px 6px 10px;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  
}

.input:focus {
  border-color: #4b3f3f;
  background-color: #fff;
  box-shadow: 0 0 4px #4b3f3f;
}

label span {
  position: absolute;
  left: 10px;
  top: 14px;
  color: #888;
  font-size: 0.9em;
  pointer-events: none;
  transition: 0.3s ease;
}

.input:focus + span,
.input:valid + span {
  top: 3px;
  font-size: 0.7em;
 
  color: #4b3f3f;
  font-weight: 600;
}

/* ======= BOTÓN ======= */
.cta {
  display: flex;
  padding: 9px 29px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  background: #4b3f3f;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
  border: none;
  cursor: pointer;
   border-radius: 10px;
}

.cta:focus {
  outline: none;
}

.cta:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #f6f1ee;;
}

.cta .second {
  transition: 0.5s;
  margin-right: 0px;
}

.cta:hover .second {
  transition: 0.5s;
  margin-right: 45px;
}

.span {
  transform: skewX(15deg);
}

.second {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
}

.one {
  transition: 0.4s;
  transform: translateX(-60%);
}

.two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.cta:hover .three {
  animation: color_anim 1s infinite 0.2s;
}

.cta:hover .one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.cta:hover .two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}

@keyframes color_anim {
  0% {
    fill: white;
  }

  50% {
    fill: #4b3f3f;
  }

  100% {
    fill: white;
  }
}


/* ======= ENLACE SIGNIN ======= */
.signin {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #555;
}

.signin a {
  color:#4b3f3f;
  text-decoration: none;
  font-weight: 500;
}

.signin a:hover {
  text-decoration: underline;
}

/* ======= FOOTER ======= */
footer {
  margin-top: 40px;
  width: 100%;
  background-color: #f3f0ed;
  text-align: center;
  padding: 20px 10px;
  color: #4b3f3f;
  font-size: 14px;
  border-top: 1px solid #ddd;
}


