
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --background: #080808;
    --surface: #282828;
    --border: #454545;
    --gold: #ffd600;
    --gold-hover: #e7c300;
    --text: #ffffff;
    --muted: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
}

.registro-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.registro-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;
    margin: 0 auto 20px;

    background: #151515;
    border: 1px solid #383838;
    border-radius: 18px;

    font-size: 52px;
    font-weight: 800;
    letter-spacing: -4px;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

.registro-header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.registro-header p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

form {
    margin-top: 32px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #bdbdbd;
    font-size: 13px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 15px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;

    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;

    transition: border-color .2s;
}

.form-group input:focus {
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: #898989;
}

.btn-registro {
    width: 100%;
    height: 48px;
    margin-top: 12px;

    background: var(--gold);
    color: #080808;

    border: none;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: background .2s;
}

.btn-registro:hover {
    background: var(--gold-hover);
}

.login-link {
    margin-top: 32px;
}

.login-link p {
    font-size: 13px;
    color: var(--muted);
}

.login-link a {
    display: inline-block;
    margin-top: 10px;

    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.alerta {
    margin-top: 22px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.alerta.error {
    background: #421c1c;
    border: 1px solid #7b3333;
    color: #ff9c9c;
}

.alerta.success {
    background: #163622;
    border: 1px solid #2d7545;
    color: #98edb4;
}

@media (max-width: 480px) {
    .registro-container {
        padding: 24px;
    }

    .registro-header h1 {
        font-size: 27px;
    }
}

@media (max-height: 750px) {
    .registro-container {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .logo {
        width: 64px;
        height: 64px;
        font-size: 42px;
        margin-bottom: 12px;
    }

    form {
        margin-top: 22px;
    }

    .form-group {
        margin-bottom: 14px;
    }
}
