* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(
            circle at top,
            rgba(31, 255, 15, 0.10) 0,
            #050805 46%
        );
    color: #f8fafc;
    font-family:
        Inter,
        Arial,
        sans-serif;
}

.login {
    width: 100%;
    max-width: 410px;
    padding: 36px;
    background: rgba(
        24,
        27,
        33,
        0.96
    );
    border: 1px solid #292e38;
    border-radius: 18px;
    box-shadow:
        0 24px 80px
        rgba(0, 0, 0, 0.35);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.logo {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    color: #0f1115;
    font-weight: 800;
    font-size: 18px;
}

.brand-text {
    font-size: 16px;
    font-weight: 700;
}

h1 {
    margin: 0 0 8px;
    font-size: 26px;
}

.subtitulo {
    margin: 0 0 28px;
    color: #8f98a8;
    line-height: 1.5;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 19px;
    border: 1px solid #303641;
    border-radius: 9px;
    outline: none;
    background: #101318;
    color: #ffffff;
    font-size: 14px;
    transition: 0.2s;
}

input:focus {
    border-color: #6b7280;
    background: #12161c;
}

button {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 9px;
    background: #ffffff;
    color: #111318;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.rodape {
    margin-top: 25px;
    color: #5f6877;
    text-align: center;
    font-size: 12px;
}

/* Marca oficial MacroLook */
.brand-login {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 30px;
}
.brand-logo-login {
    display: block;
    width: min(250px, 82%);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}
/* V5.2 — marca mais presente no login */
.brand-login{margin:-28px -38px 28px;width:calc(100% + 76px);height:126px;overflow:hidden;border-radius:16px 16px 0 0;background:#030504}.brand-logo-login{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center!important}

/* V5.10.6 — link de cadastro padronizado */
.rodape a{color:#ffffff;font-weight:700;}
.rodape a:hover{color:#e5e7eb;}
/* V5.12.1 — links e ações sempre comunicam clique */
a[href],button{cursor:pointer}
a[href]:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #29f56f;outline-offset:3px}
button:disabled,[aria-disabled="true"]{cursor:not-allowed;opacity:.55;transform:none}


/* 038.3: ajustes de telas estreitas */
@media (max-width: 480px) {
    body { padding: 14px; }
    .login { padding: 26px 20px; border-radius: 14px; }
}
