/* Estilos generales */
.body_registro {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;*/
}

.registro-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 20px;
}

.registro-container h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size:22px;
}

/* Mensajes */
.mensaje-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #c62828;
}

.mensaje-exito {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #2e7d32;
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #4285f4;
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Nickname status */
.nickname-container {
    position: relative;
}

#nickname-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.nick-existe {
    color: #c62828;
    background-color: #ffebee;
}

.nick-disponible {
    color: #2e7d32;
    background-color: #e8f5e9;
}

/* Botón */
.boton-azul {
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.boton-azul:hover {
    background-color: #3367d6;
}

.boton-azul:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .registro-container {
        padding: 20px;
        margin: 10px;
    }
}





.regresar-container {
    margin-bottom: 20px;
}

.btn-regresar {
    display: inline-flex;
    align-items: center;
    color: #4285f4;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.btn-regresar i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-regresar:hover {
    color: #3367d6;
}
