/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
 
body {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
 
/* Header */
.logo {
    text-align: center;
    margin-bottom: 40px;
}
 
.logo h1 { font-size: 40px; }
.logo a  { text-decoration: none; }
.logo p  { margin-top: 10px; font-size: 18px; color: #ccc; }
.blanco  { color: white; }
.rojo    { color: red; }
 
/* Formulario */
.texto {
    width: 350px;
    background: rgba(20, 20, 30, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
 
.texto h2 { margin-bottom: 10px; }
.texto p  { font-size: 14px; margin-bottom: 20px; color: #bbb; }
 
/* Inputs */
.texto input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: #1e1e28;
    color: white;
}
 
/* Preview foto de perfil */
.foto-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
 
.foto-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid red;
    background: #1e1e28;
    cursor: pointer;
}
 
.foto-label {
    cursor: pointer;
    font-size: 13px;
    color: #bbb;
    text-align: center;
}
 
.foto-label:hover { color: white; }
 
/* Botones y enlaces */
.botonRojo {
    width: 100%;
    padding: 12px;
    background: red;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
 
.botonRojo:hover { background: darkred; }
 
.enlace-login {
    display: block;
    margin-top: 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}
 
.enlace-login:hover { color: white; }
 
/* Pie de pagina */
footer {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 30px;
    color: #aaa;
    font-size: 14px;
}
 
footer span:hover { color: red; cursor: pointer; }
 
/* Mensaje */
.error { color: red; margin-bottom: 10px; font-size: 14px; }