:root {
    --fs-primary: #02e326;
    --fs-secondary: #303030;
    --fs-light: #606060;
    --fs-info-light: #d9eeff;
    --fs-info: #1890ff;
    --fs-danger-light: #ffe8e8;
    --fs-danger: #ff4d4f;
    --fs-warning-light: #fff3e0;
    --fs-warning: #ffa940;
    --fs-purple-light: #f4e8ff;
    --fs-purple: #a052e0;
    --fs-dark: #202020;
    --light-emphasis: #D9D9D9;
}

/* MENSAGENS */
.message-error {
    color: red;
}
.message-success {
    color: rgb(6, 177, 72);
}

/* CORES FONTES */
.f-green {
    color: #085508;
}
.f-red {
    color: #ff0404;
}
.f-light-gray {
    color: #c9c9c9;
}

/* FONTES */
.f-bold{
    font-weight: bold;
}

/* CURSORES */
.c-pointer {
    cursor: pointer;
}
.c-not-allowed {
    cursor: not-allowed;
}
.c-wait {
    cursor: wait;
}
.c-help {
    cursor: help;
}

/* MENUS */
.inactive-menu {
    color: rgb(219, 198, 173);
}

/* LARGURAS FIXAS */
.wp-80  { width: 80px !important; }
.wp-100 { width: 100px !important; }
.wp-120 { width: 120px !important; }
.wp-150 { width: 150px !important; }
.wp-200 { width: 200px !important; }
.wp-250 { width: 250px !important; }
.wp-300 { width: 300px !important; }

/* ALTURAS FIXAS */
.hp-50 { height: 50px !important;}
.hp-60 { height: 60px !important;}
.hp-70 { height: 70px !important;}
.hp-80 { height: 80px !important;}
.hp-100 { height: 100px !important;}
.hp-150 { height: 150px !important;}

/* Detalhes das páginas. */
.icon-page-help {
    color: rgb(245, 113, 5);
    font-size: 2em;
    cursor: pointer;
}

.title-page {
    font-size: 1.5em;
    font-weight: bold;
}

.base-background-color {
    background-color: rgb(249, 249, 252);
}

.page-background-color {
    background-color: #cecdcd;
}

.menupage-background-color {
    background-color: #b9b9b9;
}

.back-white {
    background-color: rgb(255, 255, 255);
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 1s ease 0.1s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
    background-color: #00ff00;
    color: #111;
    font-size: 100%;
    position: absolute;
    padding: 1px 5px 2px 5px;
    bottom: -1.6em;
    left: 100%;
    white-space: nowrap;
    box-shadow: 1px 1px 3px #222222;
    opacity: 0;
    border: 1px solid #111111;
    z-index: 99999;
    visibility: hidden;
}
[data-title] {
    position: relative;
}

/* TEMA FULL SELLER */

/* BACKGROUND */
.bg-fs-primary {
    background-color: var(--fs-primary) !important;
}
.bg-fs-secondary {
    background-color: var(--fs-secondary) !important;
}
.bg-fs-light {
    background-color: var(--fs-light) !important;
}
.bg-fs-info-light {
    background-color: var(--fs-info-light) !important;
}
.bg-fs-info {
    background-color: var(--fs-info) !important;
}
.bg-fs-danger-light {
    background-color: var(--fs-danger-light) !important;
}
.bg-fs-danger {
    background-color: var(--fs-danger) !important;
}
.bg-fs-warning-light {
    background-color: var(--fs-warning-light) !important;
}
.bg-fs-warning {
    background-color: var(--fs-warning) !important;
}
.bg-fs-purple-light {
    background-color: var(--fs-purple-light) !important;
}
.bg-fs-purple {
    background-color: var(--fs-purple) !important;
}
.bg-light-emphasis {
    background-color: var(--light-emphasis) !important;
}

/* TEXT COLOR */
.text-fs-primary {
    color: var(--fs-primary) !important;
}
.text-fs-secondary {
    color: var(--fs-secondary) !important;
}
.text-fs-light {
    color: var(--fs-light) !important;
}
.text-fs-info-light {
    color: var(--fs-info-light) !important;
}
.text-fs-info {
    color: var(--fs-info) !important;
}
.text-fs-danger-light {
    color: var(--fs-danger-light) !important;
}
.text-fs-danger {
    color: var(--fs-danger) !important;
}
.text-fs-warning-light {
    color: var(--fs-warning-light) !important;
}
.text-fs-warning {
    color: var(--fs-warning) !important;
}
.text-fs-purple-light {
    color: var(--fs-purple-light) !important;
}
.text-fs-purple {
    color: var(--fs-purple) !important;
}
.text-light-emphasis {
    color: var(--light-emphasis) !important;
}

/* ===========================
   Buttons
=========================== */
.btn-fs-primary {
    background-color: var(--fs-primary) !important;
    border-color: var(--fs-primary) !important;
}

.btn-fs-secondary {
    background-color: var(--fs-secondary) !important;
    border-color: var(--fs-secondary) !important;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background-color: var(--fs-secondary);
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 200;
    position: fixed; /* ✅ fixa a sidebar */
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar.hidden {
    transform: translateX(-100%);
    opacity: 0;
}

/* === CONTENT AREA === */
#content-wrapper {
    transition: margin-left 0.3s ease;
    margin-left: 260px; /* espaço padrão da sidebar */
    width: calc(100% - 260px);
    min-height: 100vh;
}

#main-wrapper.sidebar-hidden #content-wrapper {
    margin-left: 0;
    width: 100%;
}
/* Chrome, Edge e Safari */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--fs-dark); /* cinza discreto */
    border-radius: 4px;
    transition: background-color 0.3s;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #666; /* um pouco mais visível no hover */
}

#main-wrapper.show-sidebar nav.simplebar-scrollable-x .sidebar-item-label {
    display: none;
}

#main-wrapper.show-sidebar nav.simplebar-scrollable-x .sidebar-section-title {
    opacity: 0;
}

/* MAIN HEADER */
.main-header {
    background-color: var(--fs-light);
    color: white;
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    width: 100%;
}

.header-icon {
    font-size: 2rem !important;
    cursor: pointer;
}

/* LANGUAGE DROPDOWN */
/* Dropdown de idiomas */
.dropdown-menu {
    background-color: #2a2a2a;
    color: #fff;
    font-size: 0.9rem;
}

.table-responsive .dropdown-menu {
    z-index: 999;
}

.table-responsive .btn.bg-transparent:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.dropdown-item {
    color: #ddd;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--fs-secondary);
    color: #fff;
}

.dropdown-item.active {
    background-color: var(--fs-primary) !important;
    color: #fff;
}

.dropdown button,
.dropdown button:focus,
.dropdown button:focus-visible,
.dropdown button:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* FORM */

.fs-form-field {
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
}

.fs-form-label {
    line-height: 1;
    font-size: 0.9rem;
    white-space: nowrap;
}

.topbar {
    background: none !important;
    background-color: var(--fs-light) !important;
}

.select-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 2.5rem; /* ajusta conforme o tamanho da seta/OS */
}


.btn-fs-purple {
    background-color: var(--fs-purple) !important;
    border-color: var(--fs-purple) !important;
}

.btn-fs-purple:hover {
    background-color: #8a3de0 !important;
    border-color: #8a3de0 !important;
}

input::placeholder {
    color: var(--fs-light) !important;
}

#printProgress .progress {
    height: 15px;
    border-radius: 1px;
    background-color: #e9ecef;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.15);
}

#printProgress .progress-bar {
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    background-image: linear-gradient(90deg, #022861, #5fff02);
}


.table-xs td,
.table-xs th {
  padding: 0.2rem; /* Adjust value as needed for extra small spacing */
}

.alert-danger-strong {
    background-color: #dc3545; /* vermelho Bootstrap */
    color: #fff;
    border-color: #dc3545;
}

.alert-warning-strong {
    background-color: #f7f303; /* vermelho Bootstrap */
    color: #141414;
    border-color: #aca906;
}