:root {
    --main-color: #2B9348;
    --sec-color: #2B9348;
    --terc-color: #80B918;
    --quart-color: #E9C46A;
}

/* FIM GERAIS*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

body,
html,
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* FIM GERAIS*/


/*HEADER*/
.cabecalho {
    background: var(--main-color);
    color: #fff;
    padding: 0.3rem 1.5rem;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 67px;
}

.cabecalho i {
    font-size: 25px;
}

.menu-lateral-direito {
    position: relative;
}

.menu-lateral-direito .button-open {
    background-color: transparent;
    color: #fff;
    font-weight: 700;
    font-size: larger;
    transition: 0.2s;
}

.menu-lateral-direito .button-open:hover {
    opacity: 70%;
}

.button-close {
    color: red;
}

.menu-lateral {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 0px;
    background-color: #2B9348;
    box-sizing: border-box;
    z-index: 1001;
    transition: .3s;
}

.menu-lateral.abrir-menu {
    width: 350px;

}

.menu-lateral.abrir-menu~.overlay {
    display: block;

}

.menu-lateral ul {
    margin-top: 50px;
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: right;
    /* Alinha os itens do menu à direita */
}

.menu-lateral a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-right: 20px;
}

.menu-lateral a:hover {
    opacity: 60%;
}

.menu-lateral li {
    margin: 0;
    padding: 15px 0;
}

.menu-lateral li:hover {
    width: 100%;
    background-color: var(--terc-color);
    color: black !important;
}

.menu-lateral .button-close {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}

.menu-lateral .button-close:hover {
    opacity: 0.7;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .cabecalho {
        height: 60px;
    }

    .menu-lateral.abrir-menu {
        width: 70%;

    }
}

@media (max-width: 500px) {
    .img-logo {
        width: 45px;
    }
}

/*FIM HEADER*/

/* HOME */
.container-home,
#content {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    /*mobile*/
}

.title-home {
    background-color: #616161;
    display: flex;
    justify-content: center;
    padding: 3px 0;
    font-weight: 700;
    font-weight: 600;
    color: #fff;
    box-shadow:
        rgba(255, 255, 255, 0.303) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, 0.629) 0px 18px 36px -18px inset;
}

.main-content-home {
    flex: 1;
    overflow-y: auto;
    padding: 0px;
    overflow-x: hidden;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 300px));
    /* grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); */
    gap: 20px;
    padding: 10px;
}

.barra-inferior {
    background: var(--main-color);
    color: #fff;
    padding: 1rem;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    bottom: 0;
    z-index: 1000;
}

.barra-inferior:hover {
    background-color: #185d2c;
    transition: all 0.3s;
}

.barra-inferior .number,
.barra-inferior .count {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.barra-inferior .value {
    width: 200px;
    padding: 5px;
    background-color: #575757;
    border-radius: 5px;
}

.barra-inferior .qtd {
    background-color: red;
    border-radius: 50%;
    padding: 4px;
    margin-left: 3px;
    width: 24px;
    height: 24px;
    position: relative;
    bottom: 13px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.barra-inferior i {
    font-size: 25px;
}

@media (max-width: 768px) {
    .cards {
        padding: 10px;
        grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    }

    .ticket {
        font-size: small;
    }

    .ticket .value {
        background-color: #575757;
        padding: 5px 10px;
        margin: 10px;
    }

    .container-home {
        font-size: small;
    }

    .barra-inferior {
        font-size: small;
        gap: 5px;
        position: sticky;
        width: 100vw;
    }

    .barra-inferior .value {
        width: 70px;
        padding: 5px;
        background-color: #575757;
    }
}

/* FIM HOME */

/* CARD */
:root {
    --card-width: 300px;
    --card-heigh: 130px;
}

section {
    margin-left: 10px;
    border-radius: 7px;
    box-shadow:
        rgba(0, 0, 0, 0.4) 0px 2px 4px,
        rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
        rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    margin: 0 auto;
    width: var(--card-width);
}

section:hover {
    transform: scale(1.02);
    transition: all 0.5s;
}

.card {
    background-color: rgb(255, 255, 255);
    position: relative;
    width: var(--card-width);
    border-radius: 7px 0;
    display: flex;
    height: var(--card-heigh);
    font-size: small;
}

.selected {
    filter: brightness(0.4);
}

.content img {
    width: 40px;
}

.x-center {
    font-weight: bold;
    font-size: large;
    margin: 0 15px;
}

.content {
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: space-around;
    margin-top: 20px;
}

.top-box,
.bottom-box {
    display: flex;
    flex-direction: column;

    align-items: center;
    color: rgba(0, 0, 0, 0.705);
    font-weight: 600;
    gap: 10px;
    max-width: 150px;
    text-align: center;
}

.selected-button {
    padding: 0;
    display: flex;
    margin: 0 auto;
    text-align: center;
    line-height: 45px;
    background-color: rgb(124, 126, 124);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: 45px;
    width: 100%;
    font-weight: 700;
    font-size: small;

    border-radius: 0 0 7px 7px;
    margin-top: 0;
}

.add-button {
    padding: 10px 20px;
    background-color: var(--sec-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    height: 45px;
    width: 100%;
    font-weight: 700;
    font-size: small;

    border-radius: 0 0 7px 7px;
    margin-top: 0;
}

.add-button:hover {
    background-color: #2B9348;
}

.f {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
    color: white;
    font-weight: 700;
    margin: 3px 6px;
}

.z {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 20px;
    color: white;
    font-weight: 700;
    margin: 3px 3px;
}

.data {
    opacity: 90%;
    position: absolute;
    top: 4px;
    right: 6px;
    font-weight: 700;
    font-size: small;
}

.campeonato {
    opacity: 90%;
    position: absolute;
    top: 18px;
    right: 6px;
    font-weight: 700;
    font-size: small;
}

@media (max-width: 768px) {
    :root {
        --card-width: 100%;
    }

    .card {
        width: 100%;
    }

    .content {
        gap: 25px;
    }
}

.triangulo-direito {
    width: 0;
    height: 0;
    border-right: 60px solid var(--quart-color);
    /* Largura do triângulo e cor */
    border-top: 60px solid transparent;
    /* Altura*/
    position: absolute;
    bottom: 0;
    right: 0;
}

.triangulo-esquerdo {
    width: 0;
    height: 0;
    border-bottom: 65px solid var(--terc-color);
    border-right: 65px solid transparent;
    position: absolute;
    rotate: 90deg;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .triangulo-direito {
        border-right: 60px solid var(--quart-color);
        border-top: 60px solid transparent;
    }

    .triangulo-esquerdo {
        border-bottom: 60px solid var(--sec-color);
        border-right: 60px solid transparent;
    }
}

/* FIM CARD */

/*CONTEUDO ALTERNATIVO - BILHETE*/
.bilhete {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 10px auto;
    max-width: 700px;
    border: 1px solid #cecece;

}

.bilhete strong {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-bottom: 1px solid #cecece;
    font-size: 1.1em;
}

.container-bilhete {
    border-bottom: 1px solid #cecece;
    border-radius: 5px 5px 0 0;
    padding: 10px;
    /* max-height: 300px; */
    /* max-height: 62dvh; */
    overflow-y: auto;
}

.text-red {
    color: red;
}

.text-var(--sec-color) {
    color: rgb(4, 168, 4);
}

.item-bilhete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #cecece;
    font-weight: 600;
}

.item-bilhete span {
    font-weight: 600;
    font-size: 0.75em;
    color: #737373;
}

.item-bilhete:last-child {
    border-bottom: none;
}

.remover {
    cursor: pointer;
    color: red;
    font-size: large;
    transition:
        color 0.3s,
        transform 0.3s;
}

.remover:hover {
    transform: scale(1.2);
}

.bilhete-value {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    padding: 0 20px;
}

.bilhete-value input[type="text"] {
    width: calc(70%);
    padding: 5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.bilhete-value input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

.bilhete p {
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
    padding: 0 20px;
}

.bilhete p span {
    font-weight: bold;
    color: #333;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    font-weight: 600;
    transition:
        background-color 0.3s,
        transform 0.3s;
}

.btn-success {
    background-color: var(--sec-color);
    color: #fff;
}

.btn-primary {
    background-color: rgb(0, 0, 0);
    color: #fff;
}

.btn button:hover {
    background-color: #2B9348;
    transform: scaleY(1.03);
}

.inputs-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 768px) {
    .bilhete {
        margin: 10px;
    }
}

.fa-stack[data-count]:after {
    position: absolute;
    top: 2px;
    left: 38px;
    content: attr(data-count);
    padding: .6em;
    border-radius: 999px;
    line-height: .75em;
    color: white;
    background: rgb(139, 135, 135);
    text-align: center;
    min-width: 2em;
    font-weight: bold;
    z-index: 100;
}

.fa-stack2[data-count]:after {
    position: absolute;
    bottom: 2px;
    right: 38px;
    content: attr(data-count);
    padding: .6em;
    border-radius: 999px;
    line-height: .75em;
    color: white;
    background: rgb(139, 135, 135);
    text-align: center;
    min-width: 2em;
    font-weight: bold;
    z-index: 100;
}

.status-p-text {
    color: #ff8c00 !important;
    font-weight: bold;
}

.status-w-text {
    color: #32b93b !important;
    font-weight: bold;
}

.status-l-text {
    color: #f10004 !important;
    font-weight: bold;
}

.status-c-text {
    color: #000000 !important;
    font-weight: bold;
}

.status-wp-text {
    color: #ff8c00 !important;
    font-weight: bold;
}

.status-pp-text {
    color: #32b93b !important;
    font-weight: bold;
}

.status-cp-text {
    color: #f10004 !important;
    font-weight: bold;
}

.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* CSS */
.button-38 {
    font-size: small;
    background-color: #FFFFFF;
    border: 0;
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* font-size: .875rem; */
    font-weight: 600;
    line-height: 1.25rem;
    padding: .75rem 1rem;
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 4px;
    margin-bottom: 4px;
}

.button-38:hover {
    background-color: var(--main-color);
    color: white;
}

.button-38:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.button-38:focus-visible {
    box-shadow: none;
}

.button-38.btn-selected {
    background-color: var(--main-color);
    color: white;
}