:root {
    --wine: #a4113a;
    --wine-dark: #5a001d;
    --wine-soft: #f7e9ee;

    --ink: #241016;
    --muted: #7d6c72;

    --paper: #fffdfc;
    --border: #eadde2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #fffdfc,
            #f7e9ee
        );

    color: var(--ink);

    font-family: "Montserrat", Arial, sans-serif;
}

.page {
    width: 100%;
}

.login-box {
    width: min(450px, 100%);

    margin: auto;

    padding: 40px;

    background: white;

    border-top: 6px solid var(--wine);

    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(54,17,31,.18);
}

.brand {
    display: flex;

    justify-content: center;

    margin-bottom: 25px;
}

.brand img {
    display: block;

    width: 260px;

    height: auto;
}

.title {
    text-align: center;

    margin-bottom: 32px;
}

.title span {
    display: block;

    margin-bottom: 10px;

    color: var(--wine);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.title h1 {
    font-size: 32px;

    font-weight: 900;
}

.title p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;
}

.input-group input {
    width: 100%;

    height: 50px;

    padding: 0 14px;

    border: 1px solid var(--border);

    border-radius: 10px;

    outline: none;

    font-size: 13px;
}

.input-group input:focus {
    border-color: var(--wine);

    box-shadow:
        0 0 0 4px rgba(164,17,58,.10);
}

button {
    width: 100%;

    height: 51px;

    border: 0;

    border-radius: 10px;

    background: var(--wine);

    color: white;

    font-size: 13px;

    font-weight: 900;

    cursor: pointer;
}

button:hover {
    background: var(--wine-dark);
}

.footer-login {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.footer-login p {
    color: var(--muted);

    font-size: 11px;

    font-weight: 700;
}

.footer-login span {
    display: block;

    margin-top: 5px;

    color: var(--wine);

    font-size: 12px;

    font-weight: 900;
}

@media(max-width:500px) {

    body {
        padding: 15px;
    }

    .login-box {
        padding: 30px 22px;
    }

    .brand img {
        width: 220px;
    }

    .title h1 {
        font-size: 28px;
    }
}