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

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.85)
        ),
        url("https://static.wikia.nocookie.net/wowpedia/images/f/f1/Journey_Trailer_-_Borean_Tundra.jpg/revision/latest?cb=20220923173803")
        center / cover no-repeat fixed;

    min-height: 100vh;
    color: #ffffff;
}

.page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.register-card {
    width: 100%;
    max-width: 460px;

    padding: 40px;

    background: rgba(15, 15, 18, 0.5); /* Opacidade reduzida para 50% */

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.65);

    border-radius: 6px;
}

.logo {
    text-align: center;
}

.logo span {
    display: block;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: 5px;

    color: #e8e8e8;
}

.logo small {
    display: block;

    margin-top: 8px;

    font-size: 11px;

    letter-spacing: 4px;

    color: #9b9b9b;
}

.divider {
    width: 80px;
    height: 2px;

    margin: 25px auto;
    background: #c58b32;
}

h1 {
    text-align: center;

    font-size: 25px;

    margin-bottom: 8px;
}

.subtitle {
    text-align: center;

    color: #8f8f8f;

    font-size: 14px;

    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    color: #cfcfcf;
}

.input-group input {
    width: 100%;

    padding: 14px; /* Ajuste para ficar proporcional ao botão */

    background: #0b0b0d;

    border: 1px solid #303035;

    border-radius: 4px;

    color: white;

    font-size: 14px;

    outline: none;

    transition: 0.2s;
}

.input-group input::placeholder {
    color: #66666b;
}

/* Corrige o fundo aplicado pelo Chrome no autofill */
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;

    -webkit-box-shadow:
        0 0 0 1000px #0b0b0d inset;

    box-shadow:
        0 0 0 1000px #0b0b0d inset;

    caret-color: #ffffff;

    transition:
        background-color 5000s ease-in-out 0s;
}

.input-group input:focus {
    border-color: #c58b32;

    box-shadow:
        0 0 0 2px rgba(197, 139, 50, 0.12);
}

button {
    width: 100%;

    margin-top: 12px;

    padding: 14px; /* Igual ao input */

    border: none;

    border-radius: 4px;

    background: #c58b32;

    color: #111;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #e0a84d;

    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

.message {
    min-height: 20px;

    margin-top: 18px;

    text-align: center;

    font-size: 13px;
}

.success {
    color: #6edb8b;
}

.error {
    color: #e56b6b;
}

.footer {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    font-size: 18px;

    color: white;
}

@media (max-width: 500px) {

    .page {
        padding: 15px;
    }

    .register-card {
        padding: 30px 22px;
    }

    .logo span {
        font-size: 27px;
        letter-spacing: 3px;
    }
}
