.style-action{
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 7px;
    padding-right: 7px
}

.button-voltar{
    height: 23px;
    padding-top: 0px;
    margin-right: 15px
}

/* Altura única do header R3 — sidebar e conteúdo usam a mesma referência */
:root {
    --r3-header-height: 56px;
    --r3-brand-blue: #077BFF;
}

.r3tech-top-header .nav-link[data-widget="pushmenu"],
.r3tech-top-header .btn-outline-light.btn-sm,
.r3tech-top-header .r3tech-logout-link {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.r3tech-top-header .btn-outline-light.btn-sm:hover {
    background-color: #ffffff !important;
    color: #2F3B8C !important;
    border-color: #ffffff !important;
}

.r3tech-top-header #osUnifiedNotifToggle {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.35rem 0.4rem;
    margin-right: 0;
}

.r3tech-top-header #osUnifiedNotifToggle::after {
    display: none;
}

.r3tech-top-header #osUnifiedNotifToggle:hover,
.r3tech-top-header #osUnifiedNotifToggle:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

.r3tech-top-header .r3tech-logout-link:hover {
    background-color: #ffffff; /* Fundo branco no hover */
    color: #2F3B8C !important;
    border-radius: 5px;
}

/* Ajuste para o botão do menu lateral */
.r3tech-top-header .nav-link[data-widget="pushmenu"]:hover {
    background-color: #ffffff; /* Fundo branco no hover */
    color: #2F3B8C !important; /* Cor do ícone mais escura para contraste */
    border-radius: 5px;
}

/* Sobrescreve espaço extra abaixo do header fixo */
.layout-navbar-fixed .content-wrapper,
.layout-navbar-fixed .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.layout-navbar-fixed {
    padding-top: var(--r3-header-height) !important;
}

.r3tech-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1035;
    min-height: var(--r3-header-height);
    height: var(--r3-header-height);
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--r3-brand-blue);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.r3tech-top-header.revenda-portal-header {
    background: linear-gradient(
        90deg,
        var(--r3-revenda-cor-primaria, #007BFF) 0%,
        var(--r3-revenda-cor-secundaria, #1A8CFF) 100%
    ) !important;
}

.r3tech-top-header .nav-link[data-widget="pushmenu"] {
    padding: 0.4rem 0.55rem;
    margin-right: 10px !important;
}

.r3tech-top-header .nav-link[data-widget="pushmenu"] .fa-bars {
    font-size: 1.25rem !important;
}

.r3tech-brand-link {
    min-height: auto;
    font-size: 1.25rem !important;
}

.r3tech-center-title {
    font-size: 20px !important;
    line-height: 1.2;
}

.r3tech-header-logo {
    max-height: 30px !important;
}

.actions-column {
    padding-right: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-menu.dropdown-menu-right .dropdown-item {
    text-align: center;
}

/* Garante rolagem para dropdowns longos (exceto painel de notificações do sino) */
.dropdown-menu:not(.os-unified-notif-panel) {
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* Aumenta a altura do container da tabela de orçamentos para evitar corte do dropdown */
.card-body.table-responsive {
    min-height: 400px;
    height: 60vh;
}