@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Space+Grotesk:wght@300..700&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap&family=Urbanist:ital,wght@0,100..900;1,100..900&family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&family=Varela+Round&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
}

:root {
    --siteborda: #ffffff1a;
    --backgroundConteudo: #161515;
    --backgroundSlidebarTopbar: #1a1919;
    --hr_color: #ffffff1e;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: var(--backgroundConteudo);
    color: #ffffff;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid var(--siteborda);
    background-color: var(--backgroundSlidebarTopbar);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.topbar .logo img {
    width: 28px;
}

.topbar input {
    flex: 1;
    margin: 0 20px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #ccc;
    outline: none;
}

.topbar .lang {
    color: #007aff;
    font-weight: 500;
}

.container {
    display: flex;
    height: 89.5vh;
}

.sidebar {
    overflow-y: auto;
    height: calc(100vh - 60px);
    position: sticky;
    width: 250px; /* largura mais razoável e fixa */
    min-width: 250px; /* impede encolher */
    max-width: 250px; /* impede esticar */
    top: 61px;
    padding: 20px;
    border-right: 1px solid var(--siteborda);
    background-color: var(--backgroundSlidebarTopbar);
}

/* Ocultar botão menu em desktop */
.menu-toggle {
    display: none;
}

.sidebar ul {
    list-style: none;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #c2e0ff;
  transition: background-color 0.3s;
  width: 100%;
  margin-bottom: 12px;
}

.sidebar-item:hover {
  background-color: #e6f0ff08;
  cursor: pointer;
}

.sidebar-item .item-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-item .item-sub {
  font-size: 14px;
  color: #bbb;
  margin-top: 6px;
  padding-left: 28px;
}

.sidebar-item .item-sub a {
  text-decoration: none;
  color: #aaa;
}

.sidebar-item.active {
  background-color: #e6f0ff1f;
  font-weight: 600;
  cursor: default;
}

.sidebar .active ul {
    margin-left: 20px;
    margin-top: 8px;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.content {
    flex-grow: 1;
    padding: 30px;
    overflow: auto;
}

.gradient-header {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    padding: 25px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.gradient-header img {
    width: 50px;
    margin-right: 20px;
    border-radius: 10px;
}

.gradient-header h1 {
    font-size: 24px;
    flex-grow: 1;
}

.ot-header {
    background: linear-gradient(45deg, #2f2f2f, #1a1a1a);
    padding: 25px;
    border-radius: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.ot-header img {
    width: 50px;
    margin-right: 20px;
    border-radius: 10px;
}

.ot-header h1 {
    font-size: 24px;
    flex-grow: 1;
}

#copyLink {
    background-color: #fff;
    border: none;
    color: #007aff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
}

/*.content section {
    margin-top: 20px;
}*/

.content ul {
    margin-top: 10px;
    list-style: disc;
    padding-left: 20px;
}

.content a {
    color: #3e9bff;
    text-decoration: none;
    transition: 0.2s;
}
.content a:hover {
    color: #007aff;
    text-decoration: underline;
}

.rule-title.int {
    color: #ffffffc6;
    font-weight: 500;
}

.rules {
    margin-top: 10px;
}

.rules .r-title {
    color: #ffffffdc;
    font-size: 18.5px;
}

.rules .r-title.mg {
    margin-top: 10px;
}

.rules .r-desc {
    color: #ffffff7f;
    font-size: 13.5px;
    text-align: justify;
}

.rules .r-desc .r-nb {
    color: rgb(194, 194, 194);
}

.rules .r-icon.ok {
    color: #65ffa8;
    background-color: #24ff6223;
    padding: 4px;
    border-radius: 5px;
}
.rules .r-icon.notok {
    color: #ff6565;
    background-color: #ff242423;
    padding: 4px;
    border-radius: 5px;
}
.rules .r-icon.link {
    color: #3e9bff;
    background-color: #08336245;
    padding: 4px;
    border-radius: 5px;
}

.rules .r-sp {
    margin-top: 12px;
}

.r-sct {
    margin-top: 25px;
}

/* SCROLLBAR */
/* width */
::-webkit-scrollbar {
    width: 3px;
    height: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(43, 43, 43);
    border-radius: 30px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(68, 68, 68);
}

/* COLLAPSE MENU */
:root {
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space: 24px;
    --space-md: 32px;
    --space-lg: 48px;
    --space-xlg: 64px;

    --screen-sm: 768px;

    --gray: #555;
    --gray-dark: #333;
    --gray-darker: #111;
    --gray-light: #f1f1f1;
    --gray-lighter: #fafafa;
    --blue: #187888;
    --yellow: #e6af05;
    --white: #fff;
    --black: #000;
    --color_hr: gray;
    --color_border_hr: #1a1a1a;

    --brand-primary: var(--blue);
    --background: var(--white);
    --text-color: var(--gray-darker);
}

.collapses {
    /*border: 1px rgba(255, 255, 255, 0.116) solid;*/
    border-radius: 10px;
    max-width: 100%;
    background-color: #3b3a3a1f;
    transition: background-color 0.25s;
    will-change: background-color;
    color: white;
    font-size: 19px;

    &:first-child {
        margin-top: var(--space);
    }

    &:not(:last-child) {
        margin-bottom: var(--space-sm);
    }

    &:hover {
        background-color: #3b3a3a36;

        .title:after {
            content: "";
        }
    }

    &[open] {
        background-color: #3b3a3a44;
    }
}

.title {
    cursor: pointer;
    font-weight: 400;
    padding: var(--space-sm);
    position: relative;

    &:after {
        content: "";
        position: absolute;
        right: var(--space-sm);
        transform: translatey(-50%);
        top: 50%;
    }
}

.description {
    border-top: var(--gray-light) solid 1px;
    font-size: 12px;
    line-height: 20px;
    padding: var(--space-sm);
}

details {
    summary {
        list-style: none;
    }
}

details[open] {
    .icondp {
        transform: rotate(180deg);
    }

    summary {
        list-style: none;
    }
}

.icondp {
    transition: transform 0.3s ease;
    font-size: 18px;
}

/* HR (LINHA) COM CORES */
/* Red border */
hr.new1 {
    border-top: 1px solid var(--hr_color);
    border-color: var(--hr_color);
    border-bottom: var(--hr_color);
}

/* Dashed red border */
hr.new2 {
    border-top: 1px dashed var(--hr_color);
    border-color: var(--hr_color);
    border-bottom: var(--hr_color);
}

/* Dotted red border */
hr.new3 {
    border-top: 1px dotted var(--hr_color);
    border-color: var(--hr_color);
    border-bottom: var(--hr_color);
}

/* Thick red border */
hr.new4 {
    border: 1px solid var(--hr_color);
    border-color: var(--hr_color);
    border-bottom: var(--hr_color);
}

/* Large rounded green border */
hr.new5 {
    border: 10px solid var(--hr_color);
    border-color: var(--hr_color);
    border-bottom: var(--hr_color);
    border-radius: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -100%;
        top: 62px;
        height: calc(100vh - 60px);
        background-color: var(--backgroundSlidebarTopbar);
        padding: 20px;
        border-right: 1px solid var(--siteborda);
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 999;
        width: 250px;
    }

    .sidebar.open {
        left: 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 26px;
        margin-left: 10px;
        cursor: pointer;
    }

    .topbar input {
        display: none;
    }

    .container {
        flex-direction: column;
    }
}