* {
	font-family: Nunito Sans;
}
/* -------------------------- Dark mode --------------------------*/

:root {
    --bg-color: #ffffff;
    --text-color: #212529;
    --card-bg: #ffffff;
}

body.dark-mode {
    --bg-color: #4C4C4C;
    --text-color: #C6C6C6;
    --card-bg: #1B1B1B;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card {
    background-color: var(--card-bg);
}

body.dark-mode .navbar {
    background-color: #1B1B1B !important;
    margin-top: 0%;
    border: 1px solid #232323 !important;
}

body.dark-mode .content{
    background-color: #121212;
}

body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6
{
    color: #ffffff !important;
}

body.dark-mode  .sidebar-content {
    background-color: #1B1B1B !important;
}

body.dark-mode  a {
    color: #e0e0e0 !important;
}

body.dark-mode .accordion-item{
    background-color: #232323;
}

body.dark-mode .accordion-button{
    background-color: #232323;
    color: #e0e0e0;
    border: 1px solid #5D5D5D;
}

body.dark-mode footer.footer {
    background-color: #1B1B1B;
    color: #e0e0e0;
    border: 1px solid #232323 !important;
}

body.dark-mode footer.footer .text-muted,
body.dark-mode footer.footer a.text-muted {
    color: #e0e0e0 !important;
}

body.dark-mode footer.footer a:hover {
    color: #ffffff !important;
}
/* --------------------------  --------------------------*/

#themeToggle i {
    color: #00a335;
}

#themeToggle:focus,
#themeToggle:active,
#themeToggle:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

/* -------------------------- Seletor de idioma --------------------------*/

.lang-switch {
    display: flex;
    width: 150px;
    margin: 8px auto 0;
}

.lang-switch .btn {
    flex: 1;
    padding: 4px 0;
    font-weight: 700;
    box-shadow: none !important;
}

.lang-switch .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.lang-switch .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

.lang-switch .btn.active {
    background-color: #00a335;
    border-color: #00a335;
    color: #ffffff;
}

.lang-switch .btn:not(.active) {
    color: #4f4f4f;
}

body.dark-mode .lang-switch .btn:not(.active) {
    color: #C6C6C6;
}

#apple-icon {
    margin-top: -10px;
    width: 38px;
    height: 38px;
}


hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#android-icon {
    margin-top: -14px;
    margin-right: 10px;
    width: 28px;
    height: 28px;    
}

.icons {
    width: 16px;
    height: 16px;
    margin-top: -5px;
    color: var(--text-color);
}

.play-pause {
    width: 24px;
    height: 24px;
    margin: 0;
}

.sidebar-content {
    background: #ffffff;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

.sidebar-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar-content .simplebar-content-wrapper {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none;
}

.sidebar-content .simplebar-content-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar-content .simplebar-track,
.sidebar-content .simplebar-scrollbar {
    display: none !important;
}

.sidebar-content .simplebar-content {
    min-height: 100%;
    height: auto;
}

.sidebar {
    background: #ffffff;
}

.sidebar-dropdown {
    color: black;
}

section {
    scroll-margin-top: 75px;
}

button {
    scroll-margin-top: 75px;
}

.accordion-button {
    scroll-margin-top: 75px;
}

.img-logo {
    width: 85%;
    float: right; 
    position: absolute;
    bottom: 0; 
    right: 0;
}

.term-btn {
    background-color: #31586C !important;
    color: white !important;
    border-radius: 5px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 50px !important;
    margin-right: 50px !important;
}

a.sidebar-link, a.sidebar-item {
    background-color: rgba(0,0,0,0);
    color: #3e5055;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 15px;
    margin-right: 15px;
    font-size: 1.1em !important;
}

a.sidebar-link.actived:hover {
    background: #00863F;
    color: #ffffff;
}

a.sidebar-link:hover, a.sidebar-item:hover {
    background-color: #00A335;
    color: white;
}

.accordion-button:not(.collapsed) {
    color: #00863F;
}

.accordion-button:not(.collapsed):after {
    filter: invert(33%) sepia(76%) saturate(990%) hue-rotate(113deg) brightness(93%) contrast(103%);
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 2px dashed #ddd;
    margin: 40px 0;
}

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

@media (min-width:1280px) {
    #manualContent .img-logo {
        width: 300px;
        float: right; 
        position: absolute; 
        bottom: 0; 
        right: 0;
    }
}

/* o seletor do dark mode (body.dark-mode a) tem especificidade maior que .redirect,
   por isso o link verde precisa ser repetido para o tema escuro */
.redirect,
body.dark-mode a.redirect
{
    color: #00a035 !important;
}

.badge-beta {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #ffc107;
    color: #212529;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.note-box {
    margin: 16px 0;
    padding: 12px 14px;
    border-left: 4px solid #00a859;
    background: rgba(0, 168, 89, 0.08);
    width: 70%;
}

@media (max-width: 768px) {
    .note-box {
        width: 100%;
    }
}

th {
    background-color: #00a035;
    color: #fff;
    text-align: center;
  }

 table, td, th {
    border: 1px solid lightgray;
    border-collapse: collapse;
  }

 td, th {
    padding: 8px 12px;
  }

 /* sem largura mínima a tabela encolhe em vez de rolar no .table-responsive */
 .table-responsive table {
    min-width: 620px;
  }
