/* FONT */
@font-face{font-family:'UOLText';src:url("./assets/fonts/uol-text-lighter.woff2?v5") format("woff2"),url("./assets/fonts/uol-text-lighter.woff?v5") format("woff"),url("./assets/fonts/uol-text-lighter.ttf?v5") format("truetype");font-display:swap;font-weight:100;font-style:normal}@font-face{font-family:'UOLText';src:url("./assets/fonts/uol-text-light.woff2?v5") format("woff2"),url("./assets/fonts/uol-text-light.woff?v5") format("woff"),url("./assets/fonts/uol-text-light.ttf?v5") format("truetype");font-display:swap;font-weight:300;font-style:normal}@font-face{font-family:'UOLText';src:url("./assets/fonts/uol-text-regular.woff2?v5") format("woff2"),url("./assets/fonts/uol-text-regular.woff?v5") format("woff"),url("./assets/fonts/uol-text-regular.ttf?v5") format("truetype");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:'UOLText';src:url("./assets/fonts/uol-text-bold.woff2?v5") format("woff2"),url("./assets/fonts/uol-text-bold.woff?v5") format("woff"),url("./assets/fonts/uol-text-bold.ttf?v5") format("truetype");font-display:swap;font-style:normal;font-weight:900}

/* ROOT VALUES */
:root {
    --gray-50: #f5f5f5;
    --gray-100: #d9d9d9;

    --green-300: #42A64B;

    --yellow-300: #FFE113;

    --font-sans: 'UOLText', sans-serif;

    --max-width: 1248px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    font-family: var(--font-sans);
}

.antialised {
    -webkit-font-smoothing: antialised;
}

.bg-white {
    background-color: white;
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.border-b {
    border-bottom: 1px solid;
}

.border-gray-100 {
    border-color: var(--gray-100);
}

.cursor-default {
    cursor: default;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.font-2 {
    font-size: 1.5rem;
}

.h-screen {
    height: 100vh;
}

.justify-center {
    justify-content: center;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-10 {
    margin-top: 3.125rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 3.125rem;
}

.mt-8 {
    margin-top: 8.125rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.uppercase {
    text-transform: uppercase;
}

.w-100 {
    width: 100%;
}

.max-w-100 {
    max-width: var(--max-width);
}

.px-125 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.text-lg {
    font-size: 18px;
}

header {
    max-width: 100vw;
}

html,
body {
    max-width: 100vw; width: 100%;
}

#app-escale {
    cursor: default;
    display: flex;
    user-select: none;
    width: 100%;
    padding-bottom: 70px;
}

.app-escale-step-1,
.app-escale-step-2 {
    background-color: var(--gray-50);
    display: block;
    width: 100%;
    padding: 1.125rem;
}

.app-escale-step-1 aside {
    width: 100%;
    display: block;
}

.app-escale-step-2 {
    display: block;
    padding-top: 200px;
    overflow: hidden;
}

.app-escale-step-2 .ranking {
    margin-top: 57px;
}

.app-escale-nav {
    background-color: var(--gray-50);
    display: flex;
    width: 100%;
    position: fixed; top: 118px; left: 0;
    z-index: 104;
}

.app-escale-nav a {
    border-bottom: 1px solid #d9d9d9;
    cursor: pointer;
    text-transform: uppercase;
    padding: 1.125rem;
    width: 50%;
    text-align: center;
}

.app-escale-nav a.active {
    border-bottom: 3px solid var(--green-300);
    font-weight: bold;
}

.btn-reset-lineup {
    background-color: var(--green-300);
    border: 0;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    padding: 1.125rem;
    text-transform: uppercase;
    width: 100%;
}

.schemas {
    display: flex;
    width: 100%;
    overflow: auto;
    padding-bottom: 15px;
}

.schemas .schema-link {
    align-items: center;
    cursor: pointer;
    display: flex;
    color: black;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    margin-right: 12px;
}

.schemas .schema-link:last-child {
    margin-right: 0;
}

.schemas .schema-link .schema {
    background-color: white;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 200px;
    position: relative;
    fill: var(--green-300);
}

.schema svg {
    position: absolute;
    width: 90%;
}

.schema__formation {
    position: absolute; top: 5%;
    width: 80%;
}

.schema__title {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 8px;
}

.schemas .active .schema {
    background-color: var(--green-300);
    fill: white;
} 

.schemas .active .schema__title {
    color: var(--green-300);
}

.formation {
    width: 480px;
    z-index: 101;
}

.formation svg {
    fill: var(--green-300);
    width: 100%;
}

.players,
.best-players {
    display: flex;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 768px) {
    .players,
    .best-players {
        max-width: 335px;
    }

    .players {
        margin-right: 62px;
    }
}

.best-player-header {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 1.125rem;
}

.best-player-header strong {
    margin-left: 1rem;
}

.position-title {
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-top: calc(42px - 1rem);
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 94px;
    padding: 1rem 0;
}

.position-title:first-child {
    margin-top: 0px;
}

.position-add,
.position-add:visited,
.position-add:hover {
    color: var(--green-300);
    cursor: pointer;
    text-decoration: underline;
}

#goleiro .position-add {
    display: none;
}

.player-link {
    align-items: center;
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    position: relative;
}

.ranking-player-link {
    width: 100%;
    margin-left: 0;
}

.ranking-player-link h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 7px;
}

.ranking-player-link .player-ranking-number {
    color: #979797;
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    margin-right: 16px;
}

.player-ranking-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    margin-top: 25px;
    margin-bottom: 16px;
}

.player-ranking-title:first-child {
    margin-top: 42px;
}

.ranking-progress {
    display: flex;
    align-items: center;
}

.ranking-progress small {
    color: black;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    margin-left: 5px;
}

.ranking-progress-bar {
    background-color: #EBEBEB;
    content: '';
    display: block;
    width: 120px;
    height: 8px;
    border-radius: 4px;
}

.ranking-progress-percent {
    background-color: var(--green-300);
    border-radius: 4px;
    display: block;
    height: 8px;
}

.ranking-player-star {
    align-items: center;
    display: flex;
    font-size: 10px;
    line-height: 10px;
    position: absolute; top: 13px; right: 10px;
}

.ranking-player-star img {
    width: 16px;
    margin-right: 4px;
}

.player-link-remove {
    color: white;
    font-size: 30px;
    position: absolute; top: 16px; right: 16px;
    display: none;
}

.player-link[disabled] {
    cursor: no-drop;
    opacity: .9;
}

.player-link.active {
    background-color: var(--green-300);
    color: white;
}

.player-link.active .player-link-remove {
    display: block;
}

.player-improvised-link {
    transform: translateX(-100%);
}

.player-avatar {
    align-items: center;
    background-color: #e9e9e9;
    display: flex;
    justify-content: center;
    width: 80px; height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.player-avatar img {
    width: 70px; 
    border-radius: 50%;
}

.player-improvised {
    color: var(--yellow-300);
    font-size: 12px;
    font-weight: 700;
    line-height: 10px;
    margin-bottom: 6px;
}

.modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    bottom: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */

}

.modal::before {
    content: '';
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    position: absolute; top: 0; left: 0;
    opacity: 0;
    transition: opacity .2s;
}

.modal-active {
    overflow: hidden;
}

.modal-active .modal {
    display: block;
}

.modal-content {
    background: #F8F8F8;
    box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.07), 0px 3px 14px 2px rgba(0, 0, 0, 0.06), 0px 5px 5px -3px rgba(0, 0, 0, 0.1);
    display: block;
    border-radius: 8px 8px 0 0;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #888;
    width: 100%; height: calc(100vh - 150px);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
}

.modal-active .modal::before {
    opacity: 1;
}

.modal-players {
    padding: 20px;
    width: 100%;
    height: calc(100vh - 250px);
    overflow: auto;
}

.modal-players .position-title {
    background-color: transparent;
    font-size: 18px;
    font-weight: 700;
    color: var(--green-300);
    position: relative;
    padding: 0;
    padding-bottom: 1.125rem;
    top: 0;
}

.modal-players .player-link {
    margin-left: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .modal-content {
        width: 60%;
    }
}

.modal-header {
    align-items: center;
    display: flex;
    font-size: 14px;
    padding: 20px;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-header .close {
    cursor: pointer;
    font-size: 28px;
}

.btn-confirm-players,
.btn-share-players,
.btn-see-more-ranking-players,
.btn-confirm-modal-players {
    background-color: black;
    border: 0;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-family: 'UOLtext';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    position: fixed;
    bottom: -100%;
    left: 18px;
    z-index: 101;
    width: calc(100% - 36px);
    height: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.btn-see-more-ranking-players {
    background-color: white;
    border-radius: 4px;
    color: #979797;
    display: flex;
    position: relative;
    width: 100%;
    padding: 0;
    left: 0;
    margin-top: 4px;
}

.btn-confirm-modal-players {
    cursor: pointer;
    width: 90%;
    opacity: 0;
    position: fixed; bottom: 15px; left: 49%;
    transform: translateX(-48%);
}

.btn-share-players,
.btn-reset-players {
    position: initial;
    top: 0;
    left: 0;
    width: 100%;
}

.btn-see-more-ranking-players svg,
.btn-share-players svg {
    margin-left: 14px;
}

.btn-confirm-players,
.btn-share-players {
    background-color: #FFE113;
    color: black;
    position: relative;
    left: 0;
    width: 100%;
    margin-top: 18px;
}

.lineup-players,
.ranking-players {
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 480px;
}

.lineup-players-title,
.ranking-players-title {
    background-color: var(--gray-50);
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    padding-bottom: 15px;
    text-align: center;
}

.lineup-players-field,
.ranking-players-field {
    width: 100%;
}

.formation-players {
    background-color: #f5f5f5;
    background-image: url('./assets/images/fields/field2.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%; height: 480px;
    overflow: hidden;
}

.ranking-players .formation-players {
    background-image: url('./assets/images/fields/gold.svg');
}

.formation-players > div {
    position: absolute; top: 6%; left: 50%;
    width: 87%; height: 90%;
    max-width: 335px;
    transform: translateX(-51%);
}

.desk-formation {
    background-color: #f5f5f5;
    background-image: url('./assets/images/fields/field.svg');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    width: 480px;
    height: 335px;
    overflow: hidden;
    position: relative;
}

.desk-formation > div {
    position: absolute;
    top: 2.5%;
    left: 50%;
    width: 95%;
    height: 95%;
    transform: translateX(-51%);
}

.formation-player {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 50px;
    width: 50px;
    overflow: visible;
}

.formation-player strong {
    display: inline-block;
    font-size: 9px;
    line-height: 9px;
    width: 100px;
    text-align: center;
    text-align: center;
    position: absolute; bottom: -13px;
}

.formation-player-avatar {
    background-color: white;
    border-radius: 100%;
    display: block;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.formation-player-img {
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
    width: 100%; height: 100%;
}

.formation-player-destak::after {
    content: '';
    background-image: url('./assets/images/best-player.svg');
    background-repeat: no-repeat;
    width: 22px; height: 21px;
    position: absolute; top: -50%;
}

.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}

.sticky-94 {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 107px;
}

.sticky-120 {
    position: -webkit-sticky;
    position: sticky;
    top: 119px;
}

.z-10 {
    z-index: 10;
}

.z-11 {
    z-index: 11;
}

.z-12 {
    z-index: 12;
}

.z-13 {
    z-index: 13;
}

.z-14 {
    z-index: 14;
}

.z-15 {
    z-index: 15;
}

.z-16 {
    z-index: 16;
}

.z-17 {
    z-index: 17;
}

.z-102 {
    z-index: 102;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.fixed {
    position: fixed; top: 0; left: 0;
}

.lineup-formation {
    background: radial-gradient(66.4% 242.6% at 50% 46.02%, rgba(66, 166, 75, 0.04) 0%, rgba(66, 166, 75, 0.09) 49.48%, rgba(255, 206, 0, 0.1) 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.125rem;
    gap: 1.125rem;
    margin-bottom: 20px;
}

.ranking-formation {
    background: radial-gradient(66.4% 242.6% at 50% 46.02%, rgba(255, 206, 0, 0.04) 0%, rgba(255, 206, 0, 0.09) 49.48%, rgba(66, 166, 75, 0.1) 100%);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.125rem;
    gap: 1.125rem;
    margin-bottom: 20px;
    overflow: hidden;
}

.ranking-formation-item,
.lineup-formation-item,
.ranking-percent-item,
.lineup-percent-item {
    align-items: center;
    display: flex;
}

.lineup-formation-item div,
.ranking-formation-item div,
.lineup-percent-item div,
.ranking-percent-item div {
    display: flex;
    flex-direction: column;
}

.lineup-formation strong,
.ranking-formation strong {
    font-size: 24px;
    margin-left: 10px;
}

.lineup-formation small,
.ranking-formation small {
    font-size: 12px;
    margin-left: 10px;
}

.lineup-formation .lineup-percent-item {
    margin-top: 16px;
}

.lineup-percent-item .lineup-img {
    border: 4px solid #EAEAEA;
    background-color: white;
    display: block;
    border-radius: 100%;
    width: 50px; height: 50px;
    overflow: hidden;
}

.lineup-percent-item .lineup-destak {
    position: relative;
}

.lineup-percent-item .lineup-destak svg {
    position: absolute;
    left: 13px;
    top: -22px;
}

.lineup-percent-item .lineup-img div {
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
    width: 100%;
    height: 100%;
}

.selected-players-footer {
    font-family: 'UOLtext';
    font-style: normal;
    width: 100%;
    display: none;
    flex-direction: column;
    padding-bottom: 40px;
}

.selected-players-footer strong {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    margin-top: 5px;
}

.selected-players-footer p {
    color: #5F5F5F;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    margin-top: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.selected-players-footer p span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 17px;
}

.selected-players-footer p span:last-child {
    margin-left: 6px;
}

.footer-tools {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100px;
    padding: 0 1.125rem;
    position: fixed;
    bottom: 0;
    transform: translateY(100%);
    z-index: 103;
}

.footer-tools div {
    width: 100%;
}

.result .footer-tools {
    height: 147px;
}

.footer-tools button {
    display: flex;
    height: 50px;
    margin: 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 103;
    opacity: 1;
    cursor: pointer;
}

.footer-tools .btn-reset-lineup {
    background-color: white;
    color: black;
}

.footer-tools .share-icons {
    display: flex;
    justify-content: center;
    margin-top: 21px;
    gap: 46px;
}

.footer-tools .share-icons a {
    display: inline-flex;
    transition: opacity .3s;
    opacity: 1;
}

.footer-tools .share-icons a:hover {
    opacity: 0.7;
}

.lineup-export {
    background-color: var(--gray-50);
}

@media (min-width: 768px) {
    .app-escale-nav {
        display: none;
    }

    .app-escale-step-1 {
        display: block;
        width: 980px;
        margin-left: auto;
        margin-right: auto;
    }

    .app-escale-step-2 {
        display: flex;
        justify-content: space-between;
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 119px;
        transform: initial;
        overflow: initial;
        padding: initial;
    }

    .result .app-escale-step-2 {
        margin-top: 296px;
    }

    .app-escale-step-2 .lineup,
    .app-escale-step-2 .ranking {
        display: block;
        width: 335px;
        overflow: hidden;
        margin: 0;
    }

    .app-escale-step-2 .lineup {
        position: relative; top: 0;
        float: left;
    }

    .app-escale-step-2 .ranking {
        float: right;
    }

    .lineup-players-title,
    .ranking-players-title {
        text-align: center;
    }

    .app-escale-step-2 .player-link {
        width: 100%; max-width: 100%;
        height: 94px;
        overflow: hidden;
    }

    .app-escale-step-2 .lineup-players,
    .app-escale-step-2 .ranking-players {
        margin-bottom: 0;
    }

    .app-escale-step-2 .ranking-formation,
    .app-escale-step-2 .lineup-formation {
        margin-top: 20px;
        margin-bottom: 20px;   
    }

    .app-escale-step-2 #ranking-lineup {
        width: 335px;
    }

    .app-escale-step-2 .ranking-lineup div:first-child strong {
        margin-top: 0;
        padding-top: 0;
        position: initial;
        top: 0;
    }

    .app-escale-step-2 .player-ranking-title {
        text-align:center;
    }

    .btn-reset-lineup,
    .btn-share-players {
        cursor: pointer;
        position: relative; bottom: 0;
    }

    .desk-formation{
        display: block;
        width: 480px;
        position: sticky; top: 123px; left: 0px;
        transform: translateX(50px);
    }

    .app-escale-step-1 aside {
        float: left;
        width: 335px;
    }

    .footer-tools {
        display: flex;
        bottom: initial;
        position: fixed; top: 107px;
        height: 70px!important;
        transform: initial;
    }

    .footer-tools div {
        width: 1140px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        position: relative;
    }

    .result .footer-tools div {
        justify-content: initial;
    }

    .footer-tools button {
        display: flex;
        width: 335px!important;
    }

    .footer-tools div .btn-share-players {
        margin-right: 78px;
    }

    .footer-tools .btn-reset-lineup {
        background-color: transparent;
        border: 2px solid #FFE113;
        color: #FFE113;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-tools .share-icons {
        display: flex;
        align-items: center;
        justify-content: end;
        margin: initial;
        width: 180px; height: 50px;
        gap: 27px;
        position: absolute; right: 0; top: 0;
    }

    .lineup-export {
        background-color: var(--gray-50);
        position: sticky; top: 107px;
    }
}

.mobile,
.desktop {
    height: 100vh;
}


.mobile .hide-mobile {
    display: none;
}

.desktop .hide-desktop {
    display: none;
}

.hide {
    display: none!important;
}