@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
:root {
    --primary-color: #681e5b;
    --secondary-color: #ffffff;
    --background-color: #f9f9f9;
    --input-border: #dcdcdc;
  }


body {
    background: linear-gradient(to right, #a14fa1, #f2f2f2);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.context{
    background-color: #ffffff;
    width: 900px;
    height: 550px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
    display: flex;
    overflow: hidden;
}
.cont-imagen{
    width: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.cont-imagen img{
    width: 350px;
    height: auto;
}
.cont-form{
    width: 50%;   
}
.cont-info{
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #681e5b;
    padding: 0 30px;
    text-align: center;
    font-size: 18px;


}
.form{
    width: 100%;
    height: 70%;
    padding: 0 40px;

}
.input-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
  }

  .input-group label {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
  }

  .input-group input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
  }

  .input-group input:focus {
    border-color: var(--primary-color);
  }

  .input-group .icon {
    position: absolute;
    right: 10px;
    top: 38px;
    font-size: 20px;
    cursor: pointer;
    color: var(--input-border);
    transition: color 0.3s;
  }

  .input-group .icon:hover {
    color: var(--primary-color);
  }
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .btn-primary:hover {
    background-color: #4d1643;
  }

  .volver{
    padding: 20px 0;
  }
  .volver a{
    text-decoration: none;
    color: #4d1643;
    font-size: 14px;
  }
  .volver a:hover{
    text-decoration: underline;
  }
  
/* Para celulares (menos de 768px) */
@media (max-width: 768px) {
  .context{
    background-color: #ffffff;
    width: 100%;
    height: auto;
    margin: 0 20px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
    display: flex;
    flex-direction: column;

}
.cont-imagen{
  width: 100%;
  padding: 20px;

  
}
.form{
  width: 100%;
}
.cont-form{
  width: 100%;   
}
.cont-imagen img{
  width: 50px;
  height: auto;
}
}