* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #edf3ff;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(27, 105, 190, .19), transparent 48%),
        linear-gradient(145deg, #070d18 0%, #0b1424 55%, #080e19 100%);
}

.card {
    width: 100%;
    max-width: 430px;
    padding: 42px 36px 34px;
    border: 1px solid rgba(125, 160, 205, .17);
    border-radius: 22px;
    background: linear-gradient(160deg, #121e30, #0d1727);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.card h1 {
    margin: 0 0 9px;
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -1.2px;
    color: #fff;
}

.card h1::first-letter {
    color: #3298ff;
}

.card p {
    margin: 0 0 27px;
    text-align: center;
    color: #91a3bb;
    font-size: 14px;
    line-height: 1.6;
}

.card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.card input:not([type="hidden"]) {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #293b53;
    border-radius: 11px;
    outline: none;
    background: #0a1423;
    color: #f4f7fc;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}

.card input::placeholder {
    color: #71839b;
}

.card input:focus {
    border-color: #3298ff;
    box-shadow: 0 0 0 3px rgba(50, 152, 255, .13);
}

.card button,
.card input[type="submit"] {
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(100deg, #167ce0, #2699ff);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .7px;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(24, 125, 225, .22);
    transition: transform .2s, filter .2s;
}

.card button:hover,
.card input[type="submit"]:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.card a {
    color: #48a5ff;
    font-weight: 650;
    text-decoration: none;
}

.card a:hover {
    color: #70b8ff;
    text-decoration: underline;
}

.card p:last-child {
    margin-top: 23px;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .card {
        padding: 35px 23px 28px;
        border-radius: 18px;
    }

    .card h1 {
        font-size: 27px;
    }
}

/* Marca Voltz Trade */
.card h1.vt-brand {
    display: flex;
    justify-content: center;
    gap: 8px;
    letter-spacing: -1.2px;
}

.card h1.vt-brand span:first-child {
    color: #3298ff;
}

.card h1.vt-brand span:last-child {
    color: #39d98a;
}

/* Identidade da marca nas telas de autenticação */
.card h1.vt-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: -1.2px;
}

.card h1.vt-brand span:first-child {
    color: #3298ff !important;
}

.card h1.vt-brand span:last-child {
    color: #39d98a !important;
}

.card h1.vt-brand {
    position: relative;
    padding-top: 42px;
}

.card h1.vt-brand::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url("/voltz-simbolo-branco.png") center / contain no-repeat;
    opacity: .9;
}
