body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    width: 800px;
    height: 400px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.container .imagen {
    flex: 1;
    background: url("../imagenes/fondo.png") no-repeat center center;
    background-size: cover;
}

.container .formulario {
    flex: 1;
    background: #e3ded8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.formulario h2 {
    text-align: center;
    color: #5c2dd5;
    margin-bottom: 30px;
}

.formulario label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.input-contenedor {
    position: relative;
    width: 100%;
    margin: 20px;
}

.input-contenedor input {
    width: 100%;
    padding: 10px;
    height: 25px;
    border: none;
    border-bottom: 2px solid gray;  
    outline: none;
}

.input-contenedor input:focus {
    border-bottom: 2px solid purple;  
}

.formulario button {
    background: #a68efc;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 12px 40px;   
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.formulario button:hover {
    background: #5c2dd5;
}

.formulario form {
    display: flex;
    flex-direction: column;
    align-items: center;  
}

.error {
    color: red;
    text-align: center;
    margin-top: 10px;
}
