﻿
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?yhhgx0');
    src: url('../fonts/icomoon.eot?yhhgx0#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?yhhgx0') format('truetype'), url('../fonts/icomoon.woff?yhhgx0') format('woff'), url('../fonts/icomoon.svg?yhhgx0#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-visibility_off:before {
    content: "\e900";
}

.icon-remove_red_eye:before {
    content: "\e901";
}

/*--fim de fontes--*/

/* ---------------------------------------------------------------------------------------------
   Magni design system (00. Magni Design System/colors_and_type.css): the tokens these pages use
   --------------------------------------------------------------------------------------------- */
@font-face {
    font-family: "JT Marnie";
    src: url("../fonts/JTMarnie-Regular.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "JT Marnie";
    src: url("../fonts/JTMarnie-Bold.woff2") format("woff2");
    font-weight: 700; font-style: normal; font-display: swap;
}
/* Egon Sans is for the wordmark only, never for UI text */
@font-face {
    font-family: "Egon Sans";
    src: url("../fonts/EgonSans-Bold.otf") format("opentype");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Egon Sans";
    src: url("../fonts/EgonSans-Italic.otf") format("opentype");
    font-weight: 400; font-style: italic; font-display: swap;
}

:root {
    --magni-red: #EA2628;
    --magni-red-600: #CC2122;   /* red text: brand red on white fails WCAG AA */
    --magni-red-700: #A61A1B;
    --magni-blue: #000099;
    --magni-green: #8ED136;
    --magni-green-700: #5E9421; /* positive action */
    --magni-green-800: #4F7E1B;
    --magni-green-900: #426815;
    --magni-green-100: #C8DEAA;
    --magni-green-50: #F4F9EC;

    --gray-50: #F4F5F7;
    --gray-100: #ECEDF0;
    --gray-200: #DDDFE3;
    --gray-300: #C2C5CB;
    --gray-400: #9499A2;
    --gray-500: #6D6E71;        /* wordmark grey */
    --gray-700: #3D3F43;
    --gray-900: #14161A;

    --color-fg: var(--gray-900);
    --color-fg-2: var(--gray-700);
    --color-fg-3: var(--gray-500);
    --color-border: var(--gray-200);
    --color-border-strong: var(--gray-300);

    --font-sans: "JT Marnie", "Noto Serif", Georgia, serif;
    --font-logo: "Egon Sans", sans-serif;

    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(20, 22, 26, 0.08), 0 1px 2px rgba(20, 22, 26, 0.04);
    --shadow-focus: 0 0 0 3px rgba(232, 40, 41, 0.25);
    --transition: 200ms cubic-bezier(0.2, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------------------------- */

.fullpage-background {
    background: url(/bg_magni_platfom.jpg) no-repeat center fixed;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    background-color: #ECE9E2;
    font-family: var(--font-sans);
    color: var(--color-fg);
}

/* Cards: white, radius lg, hairline border, resting shadow */
.body-container {
    margin-top: 60px;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

    .body-container:has([class^="login-wrapper"]) {
        width: 462px;
        max-width: calc(100vw - 32px);
    }

/* Phones: the card keeps a 16px gutter and a lighter padding */
@media (max-width: 575.98px) {
    .body-container {
        margin-top: 24px;
        padding: 32px 24px;
    }
}

.login-wrapper {
    padding: 0px;
}

    .login-wrapper h4 {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-fg);
    }

    .login-wrapper p {
        color: var(--color-fg-2);
    }

.logged-out-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--magni-green-700);
    background: var(--magni-green-50);
    border-radius: 50%;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0; }

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray; }
  .grants-page .card .card-title {
    font-size: 120%;
    font-weight: bold; }
    .grants-page .card .card-title img {
      width: 100px;
      height: 100px; }
  .grants-page .card label {
    font-weight: bold; }


.centralizer {
    display: block;
    margin: auto;
}

/* Wordmark lockup (design system "product naming"): magn + loupe as the i + product in italic grey */
.logo {
    display: flex;
    justify-content: center;
    margin: 8px 0 36px;
}

.wm {
    display: inline-flex;
    align-items: baseline;
    font-size: 36px;
    line-height: 1;
    white-space: nowrap;
}

.wm-magn {
    font-family: var(--font-logo);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--magni-red);
}

.wm-glass {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.812em;
    height: 1.388em;
    align-self: baseline;
    background-color: var(--magni-red);
    -webkit-mask: url("../magni-symbol.svg") center / contain no-repeat;
            mask: url("../magni-symbol.svg") center / contain no-repeat;
    transform: translate(-0.227em, 0.136em);
}

    /* Plain "magni": take back the space the shift leaves, so the lockup centres */
    .wm-glass:last-child {
        margin-right: -0.227em;
    }

.wm-suffix {
    font-family: var(--font-logo);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.005em;
    color: var(--gray-500);
    margin-left: -0.227em;
    -webkit-text-stroke: 0.4px #ffffff;
}

/* Form fields (UI kit): 8px radius, strong grey border, red focus ring */
label {
    font-size: 13px;
    color: var(--color-fg-2);
    margin-bottom: 6px;
}

.form-line {
    margin-bottom: 16px;
}

.body-container .form-control {
    height: auto;
    padding: 11px 14px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-fg);
    background-color: #ffffff;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .body-container .form-control:focus {
        border-color: var(--magni-red);
        box-shadow: var(--shadow-focus);
        color: var(--color-fg);
    }

    .body-container .form-control::placeholder {
        color: var(--gray-400);
    }

/* Positive action (green), one filled button per card */
.body-container .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: var(--magni-green-700);
    border: 0;
    border-radius: var(--radius-md);
    transition: background-color var(--transition), transform var(--transition);
}

    .body-container .btn-primary:hover {
        color: #ffffff;
        background: var(--magni-green-800);
    }

    .body-container .btn-primary:focus,
    .body-container .btn-primary:not(:disabled):not(.disabled):active:focus {
        box-shadow: var(--shadow-focus);
    }

    .body-container .btn-primary:not(:disabled):not(.disabled):active {
        background: var(--magni-green-900);
        transform: scale(0.98);
    }

/* Its alternative on the same card: outline of the same intent */
.body-container .btn-outline-secondary {
    height: 44px;
    font-size: 15px;
    font-weight: 700;
    color: var(--magni-green-700);
    background: #ffffff;
    border: 1px solid var(--magni-green-100);
    border-radius: var(--radius-md);
    transition: background-color var(--transition), border-color var(--transition);
}

    .body-container .btn-outline-secondary:hover,
    .body-container .btn-outline-secondary:not(:disabled):not(.disabled):active {
        color: var(--magni-green-700);
        background: var(--magni-green-50);
        border-color: var(--magni-green-700);
    }

    .body-container .btn-outline-secondary:focus,
    .body-container .btn-outline-secondary:not(:disabled):not(.disabled):active:focus {
        box-shadow: var(--shadow-focus);
    }

/* Links are red text, so the darker red */
.body-container a:not(.btn),
#recoverpassword {
    color: var(--magni-red-600);
}

    .body-container a:not(.btn):hover {
        color: var(--magni-red-700);
    }

.login-secondary-link {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

#recoverpassword {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 36px;
}

.body-container .alert {
    border-radius: var(--radius-md);
}

input[type=checkbox] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    accent-color: var(--magni-green-700);
}

    input[type=checkbox] + label {
        margin: 0 0 0 8px;
        font-size: 14px;
        vertical-align: middle;
    }

/* Show/hide password, inside the field on the right */
.password-container {
    position: relative;
}

    .password-container .form-control {
        padding-right: 44px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--gray-400);
    cursor: pointer;
    z-index: 2;
}

    .toggle-password:hover {
        color: var(--color-fg-2);
    }

/* Login hint / read-only username styles */
.username-readonly-container {
    position: relative;
    display: flex;
    align-items: center;
}

.body-container .username-readonly,
.body-container .username-readonly:focus {
    background-color: var(--gray-50);
    color: var(--color-fg-3);
    cursor: not-allowed;
    padding-right: 40px;
    border-color: var(--color-border);
    box-shadow: none;
}

.username-lock-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--color-fg-3);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    z-index: 2;
}


/* Login page with an aside card: the login box stays centred, the aside sits to its right */
.login-stage {
    display: grid;
    grid-template-columns: 1fr 462px 1fr;
    align-items: start;
}

    .login-stage > .body-container {
        grid-column: 2;
        margin-left: 0;
        margin-right: 0;
    }

    .login-stage > .product-updates {
        grid-column: 3;
        justify-self: start;
        width: 100%;
        max-width: 340px;
        margin: 60px 0 0 24px;
    }

/* Not enough room beside the login box: the aside goes under it, at the same width */
@media (max-width: 1199.98px) {
    .login-stage {
        grid-template-columns: minmax(0, 462px);
        justify-content: center;
        padding: 0 16px;
    }

        .login-stage > .body-container {
            width: auto;
            max-width: none;
        }

        .login-stage > .body-container,
        .login-stage > .product-updates {
            grid-column: 1;
        }

        .login-stage > .product-updates {
            max-width: none;
            margin: 16px 0 40px;
        }
}

/* Product updates beside the login form ("what's new"), from the marketing feed: a card like the login box */
.product-updates {
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Eyebrow: bold caps, red text */
.product-updates-heading {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--magni-red-600);
    margin: 0 0 4px;
}

.product-updates-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-update {
    display: flex;
    gap: 12px;
    padding: 14px 0;
}

    .product-update:last-child {
        padding-bottom: 0;
    }

    .product-update + .product-update {
        border-top: 1px solid var(--gray-100);
    }

.product-update-kind {
    flex: 0 0 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background-color: var(--gray-400);
}

.product-update-kind-feature { background-color: var(--magni-red); }
.product-update-kind-improvement { background-color: var(--magni-green); }
.product-update-kind-fix { background-color: var(--magni-blue); }

.product-update-body {
    min-width: 0;
}

.product-update-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-fg);
    margin: 0 0 4px;
}

.product-update-summary {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-fg-2);
    margin: 0 0 6px;
}

.product-update-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--magni-red-600);
}

    .product-update-link:hover {
        color: var(--magni-red-700);
    }

    .product-update-link svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Choose-a-company page (Account/Company) */
.company-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-option {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-sans);
    color: var(--color-fg);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .company-option:hover {
        border-color: var(--color-border-strong);
        box-shadow: var(--shadow-sm);
    }

    .company-option:focus-visible {
        outline: none;
        box-shadow: var(--shadow-focus);
    }

    .company-option.is-current {
        border-color: var(--magni-green-700);
        background: var(--magni-green-50);
    }

.company-name {
    font-weight: 700;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.company-taxid {
    font-size: 14px;
    color: var(--color-fg-3);
}

.company-current {
    font-size: 13px;
    font-weight: 700;
    color: var(--magni-green-800);
}
