body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    color: #222;
}

.registro {
    width: 100%;
    max-width: 470px;
    margin: 15px;
}

.registro-marca {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.registro-marca img {
    width: 175px;
    height: auto;
    display: block;
}

.registro-card {
    padding: 28px 34px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, .10);
}

.registro-card h1 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    text-align: center;
}

.registro-card p {
    font-size: 14px;
    line-height: 1.5;
}

.registro-intro {
    margin: 0 0 20px;
    color: #555;
    text-align: center;
}

.registro-error {
    margin-bottom: 16px;
    padding: 11px 13px;
    border-radius: 8px;
    background: #f3f3f3;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

form input {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-size: 14px;
}

form input:focus {
    outline: none;
    border-color: #777;
}

form button,
.boton-principal {
    width: 100%;
    min-height: 42px;
    margin-top: 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

form button:hover,
.boton-principal:hover {
    background: #444;
}

.registro-nota {
    margin: 16px 0 0;
    color: #666;
    font-size: 12px !important;
    text-align: center;
}

.volver-login {
    display: block;
    margin-top: 18px;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
}

.volver-login:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .registro {
        margin: 12px;
    }

    .registro-card {
        padding: 24px 22px;
    }

    .registro-marca img {
        width: 160px;
    }
}