*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
}

a {
    text-decoration: none;
}

.icon-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1em;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.pointer {
    cursor: pointer;
}

.app-shell {
    height: 94%;
}

#ads {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    min-height: 600px;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(180deg, #157347 0%, #198754 40%, #0f5132 100%);
}

.arkmed-ad {
    width: 100%;
    max-width: none;
    min-height: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    background-image: url("./arkmed-sidebar-bg.png");
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
}

.arkmed-ad__overlay {
    min-height: 100%;
    width: 100%;
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(
            180deg,
            rgba(10, 94, 104, 0.9) 0%,
            rgba(12, 83, 119, 0.78) 36%,
            rgba(15, 23, 42, 0.88) 100%
        );
    color: #ffffff;
}

.arkmed-ad__badge {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ecfeff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.arkmed-ad__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 20px;
    letter-spacing: 0.01em;
}

.arkmed-ad__logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(218, 253, 255, 0.94));
    color: #0f6d79;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.25);
}

.arkmed-ad h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.arkmed-ad p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.5;
}

.arkmed-ad ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.arkmed-ad li {
    margin: 10px 0;
    font-size: 13px;
    line-height: 1.32;
    color: rgba(255, 255, 255, 0.96);
}

.arkmed-ad li::before {
    content: "✓";
    margin-right: 8px;
    font-weight: 900;
    color: #ccfbf1;
}

.arkmed-ad__cta {
    display: block;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #dffcff 100%);
    color: #0f5f6e;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.arkmed-ad__cta:hover {
    filter: brightness(0.97);
}

.arkmed-ad small {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10.5px;
    line-height: 1.35;
    text-align: center;
}

#main {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 300px);
    height: 100vh;
}

.receita-box {
    width: 45%;
    overflow-y: auto;
    scrollbar-width: none;
}

.receita-box::-webkit-scrollbar,
#dashboard-container::-webkit-scrollbar {
    display: none;
}

.opacity-3 {
    opacity: 0.3;
}

.fs-07 {
    font-size: 0.7rem;
}

.fs-08 {
    font-size: 0.8rem;
}

.fs-12 {
    font-size: 1.2rem;
}

.fs-15 {
    font-size: 1.5rem;
}

.hover-bg:hover {
    background-color: #e1e6ea;
}

.hover-linha:hover {
    text-decoration: underline;
}

#comandos {
    width: 8%;
    background-color: white;
}

#esquerda {
    background-color: #198754;
    color: white;
}

.esquerda-subtle {
    background-color: #051b11 !important;
}

#direita {
    background-color: #ffffe0;
}

input,
select {
    border: none;
    border-radius: 4px;
}

select {
    padding: 2px 0 2px 2px;
}

#toast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
}

#carrossel-de-avisos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    display: none;
}

.aviso-box,
.aviso-box-inner {
    width: 50vw;
    height: 100vh;
    margin: auto;
}

.aviso-dialog {
    max-height: 75vh;
    overflow-y: auto;
}

#linkedin-logo {
    height: 2.5rem;
}

.texto-com-contorno {
    color: #fff;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

@media (max-width: 991px) {
    body {
        overflow: auto;
    }

    #ads,
    #main {
        position: static;
        width: 100%;
        height: auto;
    }

    #ads {
        min-height: auto;
        padding: 1rem;
    }

    .arkmed-ad,
    .arkmed-ad__overlay {
        min-height: auto;
    }

    .arkmed-ad {
        max-width: 100%;
        border-radius: 22px;
        border-left: 1px solid rgba(255, 255, 255, 0.18);
    }

    .arkmed-ad__overlay {
        padding: 22px 18px;
    }

    .arkmed-ad h2 {
        font-size: 24px;
    }

    .app-shell {
        display: block !important;
        height: auto;
        padding-bottom: 1rem;
    }

    .receita-box,
    #comandos {
        width: 100%;
        height: auto !important;
        margin-bottom: 1rem;
    }

    #comandos {
        flex-direction: row !important;
        justify-content: space-around;
    }

    .aviso-box,
    .aviso-box-inner {
        width: 92vw;
    }
}
