body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.contenedor-portada {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

.form-grupo {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}
        .radio-grupo {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .radio-grupo label {
            margin-bottom: 0;
            font-weight: normal;
        }

        input[type="radio"] {
            margin-right: 5px;
        }

button[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.mensaje {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.mensaje.exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.oculto {
    display: none;
}

.ya-tienes-cuenta {
    margin-top: 20px;
    font-size: 0.9em;
}

.ya-tienes-cuenta a {
    color: #007bff;
    text-decoration: none;
}

.ya-tienes-cuenta a:hover {
    text-decoration: underline;
}