/* =========================================================
   IOOL — ÁREA DO USUÁRIO
   CSS GLOBAL
   ========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: #f5f7fb;
    color: #11182a;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.55;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        1120px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER GLOBAL DO USUÁRIO
========================================================= */

.user-topbar {
    position: relative;

    z-index: 1000;

    width: 100%;

    background: #0b1020;

    color: #fff;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.user-topbar-inner {
    position: relative;

    width: min(
        1200px,
        calc(100% - 32px)
    );

    min-height: 78px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   MARCA
========================================================= */

.user-brand {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex: 0 0 auto;

    color: #fff;

    text-decoration: none;

    font-size: 24px;

    line-height: 1;

    font-weight: 900;

    white-space: nowrap;
}

.user-brand:hover,
.user-brand:focus,
.user-brand:active {
    color: #fff;

    text-decoration: none;
}

.user-brand-mark {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #7354f6,
            #50cbd8
        );

    color: #fff;

    font-size: 20px;

    line-height: 1;

    font-weight: 900;
}

.user-brand-name {
    color: #fff;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   MENU DESKTOP
========================================================= */

.user-menu {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-left: auto;
}

.user-menu a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding: 0 15px;

    border:
        1px solid #2d3852;

    border-radius: 11px;

    background: transparent;

    color: #c7cede;

    font-size: 14px;

    font-weight: 800;

    line-height: 1;

    text-decoration: none;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.user-menu a:hover,
.user-menu a:focus,
.user-menu a.active {
    color: #fff;

    background:
        rgba(115, 84, 246, .10);

    border-color: #3a4660;

    outline: none;
}

.user-menu .user-logout {
    color: #fff;
}


/* =========================================================
   BOTÃO MOBILE
========================================================= */

.user-menu-toggle {
    display: none;

    width: 42px;

    height: 42px;

    flex: 0 0 42px;

    align-items: center;

    justify-content: center;

    margin-left: auto;

    padding: 0;

    border: 0;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #7354f6,
            #50cbd8
        );

    color: #fff;

    font-family: inherit;

    font-size: 21px;

    line-height: 1;

    cursor: pointer;
}

.user-menu-toggle:focus {
    outline: none;

    box-shadow:
        0 0 0 4px
        rgba(115, 84, 246, .15);
}


/* =========================================================
   ÁREA DO USUÁRIO
========================================================= */

.user-page {
    padding-top: 46px;

    padding-bottom: 70px;
}


/* =========================================================
   CABEÇALHO DA PÁGINA
========================================================= */

.user-header {
    margin-bottom: 30px;
}

.user-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #7354f6;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 850;

    letter-spacing: 1px;
}

.user-header h1 {
    margin: 0;

    color: #11182a;

    font-size: 36px;

    line-height: 1.12;

    font-weight: 850;

    letter-spacing: -.9px;
}

.user-header p {
    max-width: 720px;

    margin: 9px 0 0;

    color: #6b7890;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.user-card {
    width: 100%;

    padding: 28px;

    border:
        1px solid #dfe5ee;

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 12px 30px
        rgba(20, 30, 60, .05);
}

.user-card-content {
    max-width: 720px;
}

.user-card h2 {
    margin: 0;

    color: #11182a;

    font-size: 22px;

    line-height: 1.25;

    font-weight: 850;

    letter-spacing: -.3px;
}

.user-card p {
    margin: 9px 0 0;

    color: #6b7890;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 800px) {

    .user-topbar-inner {
        width: calc(100% - 28px);

        min-height: 68px;

        gap: 14px;
    }

    .user-brand {
        font-size: 20px;
    }

    .user-brand-mark {
        width: 32px;

        height: 32px;

        flex-basis: 32px;
    }

    .user-menu-toggle {
        display: inline-flex;
    }

    .user-menu {
        display: none;

        position: absolute;

        top: 68px;

        left: 14px;

        right: 14px;

        z-index: 1100;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 8px;

        border:
            1px solid #1d2742;

        border-radius: 14px;

        background: #0b1020;

        box-shadow:
            0 20px 45px
            rgba(0, 0, 0, .30);
    }

    .user-menu.show {
        display: flex;
    }

    .user-menu a {
        width: 100%;

        min-height: 50px;

        justify-content: flex-start;

        padding: 0 15px;

        border: 0;

        border-radius: 9px;

        color: #c7cede;
    }

    .user-menu a:hover,
    .user-menu a:focus,
    .user-menu a.active {
        color: #fff;

        background:
            rgba(115, 84, 246, .12);
    }

    .user-menu .user-logout {
        margin-top: 4px;
    }


    /* =====================================================
       CONTAINER
    ====================================================== */

    .container {
        width: calc(100% - 28px);
    }


    /* =====================================================
       PÁGINA
    ====================================================== */

    .user-page {
        padding-top: 30px;

        padding-bottom: 48px;
    }

    .user-header {
        margin-bottom: 24px;
    }

    .user-eyebrow {
        font-size: 10px;
    }

    .user-header h1 {
        font-size: 30px;

        letter-spacing: -.6px;
    }

    .user-header p {
        margin-top: 8px;

        font-size: 14px;

        line-height: 1.55;
    }

    .user-card {
        padding: 22px;

        border-radius: 17px;
    }

    .user-card h2 {
        font-size: 20px;
    }

    .user-card p {
        font-size: 13px;
    }

}


/* =========================================================
   PEQUENOS CELULARES
========================================================= */

@media (max-width: 480px) {

    .user-topbar-inner {
        width: calc(100% - 20px);
    }

    .user-brand {
        gap: 8px;

        font-size: 19px;
    }

    .user-brand-mark {
        width: 31px;

        height: 31px;

        flex-basis: 31px;
    }

    .user-menu-toggle {
        width: 40px;

        height: 40px;

        flex-basis: 40px;

        font-size: 20px;
    }

    .user-menu {
        top: 66px;

        left: 10px;

        right: 10px;
    }

    .container {
        width: calc(100% - 20px);
    }

    .user-page {
        padding-top: 26px;
    }

    .user-header h1 {
        font-size: 28px;
    }

    .user-header p {
        font-size: 13px;
    }

    .user-card {
        padding: 19px;
    }

}

/* =========================================================
   FOOTER IOOL
   MESMO PADRÃO DO FRONT-END
========================================================= */

.user-footer {
    background: #0b1020 !important;
    color: #8290a7;
    padding: 45px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}


/* =========================================================
   MARCA DO FOOTER
========================================================= */

.user-footer .brand {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;

    color: #fff;
    text-decoration: none;
}

.user-footer .brand:hover,
.user-footer .brand:focus,
.user-footer .brand:active {
    color: #fff;
    text-decoration: none;
}

.user-footer .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    border-radius: 9px;

    background: linear-gradient(
        135deg,
        #7c5cff,
        #32d7c5
    );

    color: #fff;

    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.user-footer .brand > span:last-child {
    display: inline;

    color: #fff;

    font-size: 22px;
    font-weight: 900;
    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   GRID
========================================================= */

.user-footer .footer-grid {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap: 20px;

    align-items: end;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.user-footer .footer-grid p {
    margin: 12px 0 0;

    color: #8e9bb3;

    font-size: 13px;
}


/* =========================================================
   LINKS
========================================================= */

.user-footer .footer-links {
    display: flex;

    gap: 20px;

    color: #a6b1c4;

    font-size: 13px;
}

.user-footer .footer-links a {
    color: inherit;

    text-decoration: none;
}

.user-footer .footer-links a:hover {
    color: #fff;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.user-footer .copyright {
    grid-column: 1 / -1;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, .08);

    color: #707e98;

    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .user-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .user-footer .footer-links {
        flex-wrap: wrap;
    }

    .user-footer .copyright {
        grid-column: auto;
    }

}