/* ==========================
   BOTÃO WAVE SOFTWARE
   ========================== */
.wavebutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ff5722;
    color: #fff;
    font-size: 0.75rem;     /* igual ao btn-sm */
    font-weight: 600;
    padding: 0.25rem 0.45rem; /* mesmo padding dos botões pequenos */
    border-radius: 4px;     /* arredondado igual */
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
    height: 27px;           /* fixa altura igual aos outros */
    min-width: 32px;        /* mantém proporção */
    padding-top: 7px;
}

.wavebutton i {
    font-size: 0.8rem;
    line-height: 1;
}

.wso-tab {
  cursor: pointer;
}
/* Remove caret padrão do Argon/Bootstrap */
.nav-link.has-caret::after {
    display: none !important;
}

/* Estilo da seta custom */
.nav-link .caret {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: auto;
    transform: rotate(-45deg); /* seta fechada */
    transition: transform 0.2s ease;
}

/* Gira somente a seta do link aberto */
.nav-link[aria-expanded="true"] .caret {
    transform: rotate(45deg); /* seta aberta */
}

.nav-link .nav-text {
    display: inline-block;
    max-width: 160px;  /* ajusta conforme largura do sidebar */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}


/* Hover */
.wavebutton:hover {
    background: #e64a19;
    color: #fff;
    transform: translateY(-1px);
}

/* Active */
.wavebutton:active {
    background: #d84315;
    transform: scale(0.95);
}

/* Focus */
.wavebutton:focus {
    outline: 2px solid rgba(255, 87, 34, 0.4);
    outline-offset: 2px;
}


/* =======================
   BOTÕES WAVE SOFTWARE
   ======================= */
.waveapp-btn-software {
    display: inline-block;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .01em;
    min-width: 120px;
    padding: 10px 22px;
    box-shadow: 0 2px 8px rgba(24,128,232,0.04);
    transition: background 0.14s, color 0.14s, box-shadow 0.13s;
    border: none;
    margin-right: 10px;
    text-align: center;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
}
.waveapp-btn-software:last-child { margin-right: 0; }

.waveapp-btn-success {
    background: #19c995;
    color: #fff;
}
.waveapp-btn-success:hover,
.waveapp-btn-success:focus { background: #10a072; color: #fff; }

.waveapp-btn-warning {
    background: #ff9800;
    color: #fff;
}
.waveapp-btn-warning:hover,
.waveapp-btn-warning:focus { background: #ec8500; color: #fff; }

.waveapp-btn-danger {
    background: #e23e3e;
    color: #fff;
}
.waveapp-btn-danger:hover,
.waveapp-btn-danger:focus { background: #be2121; color: #fff; }

.action-btn-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0.7rem;
}
.btn-closeds {
  box-sizing: content-box;
  width: 1.25em;
  height: 1.25em;
  padding: 0.25em;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath stroke='%23fff' stroke-width='2' d='M2 2 L14 14 M14 2 L2 14'/%3E%3C/svg%3E")
    center/1.25em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-closeds:hover {
  opacity: 1;
  transform: scale(1.1);
}

.btn-closeds:focus {
  outline: none;
  box-shadow: none;
}



/* MOBILE — botões em coluna, 100% largura */
@media (max-width: 700px) {
    .action-btn-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 16px 0 0 0;
    }
    .waveapp-btn-software {
        width: 100% !important;
        min-width: 0;
        margin: 0 0 12px 0 !important;
        font-size: 1.15rem;
        padding: 18px 0;
        border-radius: 9px;
        box-shadow: 0 4px 20px rgba(24,128,232,0.09);
    }
    .waveapp-btn-software:last-child { margin-bottom: 0 !important; }
}

/* =======================
   EVENTOS / LISTAS
   ======================= */
.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 14px;
}
.event-time {
    width: 50px;
    font-size: 12px;
    color: #6c757d;
    flex-shrink: 0;
    text-align: right;
}
.event-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.event-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}
.event-message { font-weight: 600; color: #212529; font-size: 14px; }
.event-detail { font-size: 12px; color: #6c757d; }

/* =======================
   CHARTS
   ======================= */
.chart-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    height: 299px;
    margin: auto;
    text-align: left;
    line-height: normal;
    z-index: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
    outline: none;
    font-family: "Open Sans", sans-serif;
}
.chartjs-render-monitor { font-family: 'Inter', sans-serif; }
.chart-legend { font-size: 13px; color: #374151; }
.chart-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

/* =======================
   TABELAS
   ======================= */
.table-wso {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15.2px;
}
.table-wso thead tr { background: #f2f6fd; }
.table-wso thead th {
    color: #2083c9;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
    padding: 15px 18px;
    border: none;
    background: #f2f6fd;
}
.table-wso tbody tr { transition: background 0.13s; }
.table-wso tbody tr:nth-child(even) { background: #f8fafc; }
.table-wso tbody tr:nth-child(odd) { background: #f4f8fc; }
.table-wso tbody tr:hover { background: #e5f2fe; }
.table-wso td {
    padding: 16px 18px;
    border: none;
    vertical-align: middle;
    color: #252b36;
    font-weight: 500;
}

/* MOBILE TABLE */
@media (max-width: 950px) {
    .table-wso thead { display: none; }
    .table-wso tbody tr {
        display: flex;
        flex-direction: column;
        background: #f9fbff;
        margin-bottom: 16px;
        box-shadow: 0 1px 8px #29e6c511;
        border-radius: 18px;
        padding: 8px 0;
    }
    .table-wso td {
        border: none !important;
        padding: 10px 20px;
        font-size: 16px;
        background: none !important;
    }
    .usercell { justify-content: flex-start; }
}

/* =======================
   USER CELLS
   ======================= */
.usercell { display: flex; align-items: center; gap: 12px; }
.avatar-wso {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #cce5fd;
    box-shadow: 0 1px 6px #b6e2fa2b;
    background: #e8f6ff;
}
.user-wso-name {
    font-weight: 700;
    color: #228be6;
    font-size: 0.9rem;
    letter-spacing: .01em;
}
.location-badge {
    display: inline-block;
    background: #e8f6ff;
    color: #228be6;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 2px 10px;
    min-width: 86px;
    text-align: center;
}
.hostname-wso { font-weight: 600; color: #252b36; font-size: 1rem; }
.os-wso { color: #717e96; font-size: 0.9rem; }
.login-wso { color: #2083c9; font-weight: 600; font-size: 1rem; letter-spacing: .01em; }

/* =======================
   CARDS
   ======================= */
.card-wso {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}
.card-wso .card-body { padding: 24px; }
.card-header-wso {
    background: #f9fafb;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================
   CARD WSO (fundo transparente)
   ============================ */
.card-wso {
   /* background: transparent !important;
    border: none;
    border-radius: 0.75rem;   /* cantos arredondados */
    box-shadow: 0 2px 6px rgba(0,0,0,.08); /* sombra leve */
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header custom */
.card-header-wso {
    background: transparent !important;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(229,231,235,0.5); /* linha discreta */
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Body custom */
.card-body-wso {
    background: transparent !important;
    padding: 1rem 1.25rem;
    flex: 1 1 auto;
}

/* Corrigir fundo branco dos itens */
.card-wso .list-group,
.card-wso .list-group-item {
    background: transparent !important;
    border: none;
}


/* =======================
   CONTAINERS
   ======================= */
.container-wso-fluid {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}
.container-wso-fluid .card { margin: 0 10px; border-radius: 10px; overflow: hidden; }
.container-wso-fluid .card-body { padding: 0 20px; }

/* =======================
   MODAL PREMIUM
   ======================= */
.ws-modal-content {
    border-radius: 22px !important;
    border: none;
    background: #fff;
}
.ws-modal-header {
    background: #f5f8fa;
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid #e4eaf1;
}
.ws-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22223b;
}
.ws-nav-tabs .nav-link {
    font-weight: 600;
    color: #4d4d4d;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 14px 18px 9px 18px;
    font-size: 1rem;
}
.ws-nav-tabs .nav-link.active {
    border-color: #027aff;
    color: #027aff;
    background: #f5f8fa;
    border-radius: 12px 12px 0 0;
}

/* =======================
   LISTAS / CARDS DE OPÇÃO
   ======================= */
.monitor-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    background: #fff;
    transition: box-shadow .2s;
}
.monitor-option-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.monitor-option-card i { color: #6b7280; font-size: 1rem; }
.monitor-option-card span { font-weight: 600; font-size: 0.95rem; color: #374151; }

.list-group-item {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
}
.list-group-item .d-flex.gap-4 { gap: 1.5rem !important; }
.list-group-item i {
    min-width: 24px;
    text-align: center;
}


/* =======================
   SWITCH ESTILO WSO
   ======================= */
.monitor-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    vertical-align: middle;
}
.monitor-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: all .25s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px; width: 22px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all .25s;
}
.monitor-switch input:checked + .slider {
    background-color: #ff8c2a; /* laranja premium */
    
}
.monitor-switch input:checked + .slider:before {
    transform: translateX(26px);
}

/* Label container */
.monitor-label {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

/* Texto "Não" (default desligado) */
.monitor-label::after {
    content: "Não";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Texto "Sim" (apenas quando ligado) */
.monitor-switch input:checked ~ .monitor-label::after {
    content: "Sim";
    left: 0px;
    right: auto;
}


/* Abas estilo underline */

#wsoTabs .nav-link {
    border: none !important;
    background: transparent !important;
    color: #2c3e50; /* cor padrão */
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    position: relative;
}

#wsoTabs .nav-link.active {
    color: #15cf50; /* amarelo/laranja para ativo */
}

#wsoTabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background-color: #15cf50;
    border-radius: 2px;
}

#wsoTabs .nav-link:hover {
    color: #e67e22; /* hover laranja */
}


/* Espaçamento extra entre o toggle e o texto */
.monitor-switch {
    margin-right: 12px; /* ajuste o valor conforme desejar */
}

/* Avatar pequeno da tabela */
.employee-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.employee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Espaço entre avatar e nome */
.employee-name-cell {
    display: flex;
    align-items: center;
    gap: 12px; /* controla o espaço */
}

.switch-handle {
    position:absolute;
    top:4px;
    left:4px;
    width:18px;
    height:18px;
    background:#fff;
    border-radius:10px;
    box-shadow:1px 1px 5px rgba(0,0,0,.2);
    background-image:-webkit-linear-gradient(top,#fff 40%,#f0f0f0);
    background-image:-moz-linear-gradient(top,#fff 40%,#f0f0f0);
    background-image:-o-linear-gradient(top,#fff 40%,#f0f0f0);
    background-image:linear-gradient(to bottom,#fff 40%,#f0f0f0);
    -webkit-transition:left .15s ease-out;
    -moz-transition:left .15s ease-out;
    -o-transition:left .15s ease-out;
    transition:left .15s ease-out
}


.switch-handle:before{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    margin:-6px 0 0 -6px;
    width:12px;
    height:12px;
    background:#f9f9f9;
    border-radius:6px;
    box-shadow:inset 0 1px rgba(0,0,0,.02);
    background-image:-webkit-linear-gradient(top,#eee,#fff);
    background-image:-moz-linear-gradient(top,#eee,#fff);
    background-image:-o-linear-gradient(top,#eee,#fff);
    background-image:linear-gradient(to bottom,#eee,#fff)
}
.switch-input:checked~.switch-handle{
    left:34px;
    box-shadow:-1px 1px 5px rgba(0,0,0,.2)
}
.switch-green>.switch-input:checked~.switch-label{
    background:#4fb845
}
.switch-orange>.switch-input:checked~.switch-label{
    background:#1faff6
}

.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 56px !important;        /* largura fixa */
    height: 20px !important;       /* altura fixa */
    padding: 3px;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: inset 0 -1px #fff, inset 0 1px 1px rgba(0,0,0,.05);
    cursor: pointer;
    background-image: -webkit-linear-gradient(top,#eee,#fff 25px);
    background-image: -moz-linear-gradient(top,#eee,#fff 25px);
    background-image: -o-linear-gradient(top,#eee,#fff 25px);
    background-image: linear-gradient(to bottom,#eee,#fff 25px);
    flex-shrink: 0; /* evita encolher em layouts responsivos */
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    text-transform: uppercase;
    background: #eceeef;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.12), inset 0 0 2px rgba(0,0,0,.15);
    -webkit-transition: .15s ease-out;
    -moz-transition: .15s ease-out;
    -o-transition: .15s ease-out;
    transition: .15s ease-out;
    -webkit-transition-property: opacity, background;
    -moz-transition-property: opacity, background;
    -o-transition-property: opacity, background;
    transition-property: opacity, background;
}

.switch-label:after,
.switch-label:before {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}

.switch-label:before {
    content: attr(data-off);
    right: 9px;
    color: #aaa;
    text-shadow: 0 1px rgba(255,255,255,.5);
}

.switch-label:after {
    content: attr(data-on);
    left: 9px;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,.2);
    opacity: 0;
}

.switch-input:checked ~ .switch-label {
    background: #47a8d8;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.15), inset 0 0 3px rgba(0,0,0,.2);
}

.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}

.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}



/* Avatar container */
.avatar-waveserver {
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #666;
    font-size: 2rem;
    border-radius: 50%;
    border: 3px solid #ccc;
    overflow: hidden;
}

/* Imagem circular */
.avatar-waveserver .avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Botão da câmera */
.camera-btn {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.camera-btn i {
    font-size: 16px;
    color: #555;
}

.camera-btn:hover {
    background: #f0f0f0;
}


.monitor-wrapper {
    display: flex;
    align-items: center; /* centraliza tudo verticalmente */
    gap: 8px;
}
.wsosmall {
    display: flex;
    align-items: center;
    height: 24px;       /* mesma altura aproximada do switch */
    line-height: 24px;  /* força centralização vertical */
    font-size: 0.75rem;
    padding-top: 7px;
}



@media screen and (max-width:400px){
    .highchart-container.pie .highchart{
        margin-left:auto;
        margin-right:auto;
        float:none
    }
    .highchart-container.pie .sidebar{
        float:none;
        width:100%;
        display:none
    }
}
.highchart-container.chart .switches button button.btn[disabled]{
    opacity:1!important
}


/*Abas*/
.wso-tab {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all .2s ease-in-out;
    text-decoration: none;
}


/* ===============================f
   MAIN CONTENT BASE
   =============================== */




/* Quando o sidebar está escondido */
.sidebar-collapsed ~ .main-content {
    margin-left: 0 !important;
}

/* Quando sidebar está colapsado */
#sidenav-main.sidebar-collapsed ~ .main-content {
    margin-left: 80px !important;
}

/* ===============================
   HEADER (LEFT GROUP)
   =============================== */
.wso-header-left {
    display: flex;
    align-items: center;  /* centraliza verticalmente */
    gap: 10px;            /* espaço entre ícone e texto */
}

.wso-header-left #sidebarToggle {
    border: none;    
    border-radius: 6px;
    line-height: 1;
    font-size: 22px;
}
.wso-header-left #sidebarToggle:hover {
    color: #040732; /* verde no hover */
}
.wso-header-left .dashboard-link {
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
}

/* ===============================
   SIDEBAR
   =============================== */


/* Sidebar colapsado (só ícones) */
#sidenav-main.sidebar-collapsed {
    width: 80px !important;
}

/* Esconde textos no colapsado */
#sidenav-main.sidebar-collapsed .nav-link span,
#sidenav-main.sidebar-collapsed .nav-item .nav-text {
    display: none;
}

/* Auto expand hover (abre sidebar e mostra textos, sem mexer main) */
#sidenav-main.sidebar-collapsed:hover {
    width: 270px !important;
}

#sidenav-main.sidebar-collapsed:hover .nav-link span,
#sidenav-main.sidebar-collapsed:hover .nav-item .nav-text {
    display: inline;
}

/* ===============================
   LOGOS
   =============================== */
#sidenav-main .logo-full {
    max-width: 170px;
    height: auto;
    display: block;
    margin-left: 4px;   /* alinha à esquerda */
    margin-right: auto;
}

#sidenav-main .logo-mini {
    width: 40px;
    height: auto;
    display: none;
    margin: 0 auto;
}

/* Troca logos no colapsado */
#sidenav-main.sidebar-collapsed .logo-full {
    display: none;
}
#sidenav-main.sidebar-collapsed .logo-mini {
    display: block;
}

/* >>> Novo: ao passar o mouse, mostra logo full <<< */
#sidenav-main.sidebar-collapsed:hover .logo-full {
    display: block;
}
#sidenav-main.sidebar-collapsed:hover .logo-mini {
    display: none;
}



/* ============================
   NAVBAR EXPANDIDA (Tipo WSO)
   ============================ */
.wso-tabs {
    display: flex;
    align-items: center;
    border-bottom: none !important;
    padding: 12px 20px 12px 0; /* top, right, bottom, left */
    gap: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    justify-content: flex-start; /* garante alinhamento à esquerda */
}


.wso-tab {
    color: #555;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.wso-tab:hover {
    background: #f8f9fa;
    color: #0d6efd;
}

.wso-tab.active {
    background: #fff;
    color: #0d6efd;
    font-weight: 700;
    border-bottom: 2px solid #0d6efd;
}

.wso-tab:hover {
    background: #f8f9fa;
    color: #fff;
}



/* ===============================
   NAVBAR PRINCIPAL
   =============================== */



/* Ícone dentro das abas */
.subheader-nav .wso-tab i {
    margin-right: 10px; /* padrão */
    font-size: 15px;    /* opcional: aumenta ou reduz o ícone */
}


/* Sub-header expandido estilo  */

.subheader-nav {
    background: url('/images/navbar-wso.jpg') no-repeat center center;
    background-size: cover;
    background-position: center -40px;  /* desce 40px */
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.subheader-nav .wso-tabs {
    margin: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
}

/* Links de abas */
.subheader-nav .wso-tab {
    color: #ffffff;
    font-size: 12px;
    padding: 10px 7px;   /* aumenta altura */
    text-decoration: none;
    border-radius: 4px 4px 0 0;     /* tira arredondado */
       transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

/* Hover */
.subheader-nav .wso-tab:hover {
    color: #00ff2d; /* texto verde neon */
    background: transparent; /* 🔥 sem retângulo branco */
    border-bottom: 0px solid #00ff2d; /* underline verde neon */
}

/* Aba ativa */
.subheader-nav .wso-tab.active {
    color: #777;
    font-weight: 700;
    background: #f8f9fe; /* 🔥 só ativo tem fundo branco */
   /* border-bottom: 3px solid #00ff2d;*/
   border: none;
}


.subheader-nav {
    margin-bottom: 0 !important;  /* encosta o tab no card */
    padding-bottom: 0 !important;
    
}

.card,
.card-wso {
    margin-top: 0 !important;     /* remove espaçamento de cima */
}

.container,
.container-wso-fluid {
    padding-top: 0 !important;
}

.table td i {
    margin-right: 8px !important;
}

/* Coluna esquerda com borda à direita */
.col-lg-6.border-end {
    border-right: 1px solid #dee2e6 !important; /* cinza claro Bootstrap */
    padding-right: 20px; /* espaço interno */
}

/* Coluna direita para alinhar melhor */
.col-lg-6:last-child {
    padding-left: 20px;
}

#sidenav-main {
    background: #0b1526;
}

/* Quando o sidebar está visível */
/* Só aplica no desktop (a partir de 992px) */
@media (min-width: 992px) {
    .main-content {
        margin-top: 0 !important;      
        padding-top: 60px;   /* mesma altura da faixa de imagem */
        margin-left: 250px;  /* largura da sidebar */
        transition: margin-left 0.3s ease;
        overflow-x: hidden;  /* evita scroll horizontal */
        position: relative;  /* garante contexto pro ::before ou header-background */
    }
     .main-content-has-bg {
        margin-top: 0 !important;      
        padding-top: 60px;   /* mesma altura da faixa de imagem */
        margin-left: 250px;  /* largura da sidebar */
        transition: margin-left 0.3s ease;
        overflow-x: hidden;  /* evita scroll horizontal */
        position: relative;  /* garante contexto pro ::before ou header-background */
    }
#navbar-main {
   background: url('/images/navbar.jpg') no-repeat center center;
    background-size: cover;          
    /*background-position: center -60px;*/ 
    min-height: 70px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
/* Cor padrão e hover */
.text-wave {
    color: #f4f9ff;              /* azul padrão Bootstrap */
    transition: color 0.3s ease; /* transição suave */
}

.text-wave:hover {
    color: #31ff00; /* verde Bootstrap */
    cursor: pointer;
}


#sidenav-main {
    width: 270px;
    transition: width 0.3s ease;
    overflow-x: hidden;    /* só esconde horizontal */
    overflow-y: auto;      /* 👈 habilita scroll interno */
    white-space: nowrap;
    position: fixed;       /* 👈 fixa na esquerda */
    top: 0;
    left: 0;
    height: 100%;          /* ocupa altura inteira da tela */
    z-index: 1050;
}


  .divider-end {
    position: relative;
  }
  .divider-end::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px; /* compensa o gutter do Bootstrap */
    width: 2px;
    height: 100%;
    background-color: #dee2e6; /* cinza claro bootstrap */
  }
}

/* Esconder o toggle em telas menores (mobile) */
@media (max-width: 950px) {
    #sidebarToggle {
        display: none !important;
    }
    
    /* Cor padrão e hover */
.text-wave {
    color: #000;              /* azul padrão Bootstrap */
    transition: color 0.3s ease; /* transição suave */
}

.text-wave:hover {
    color: #31ff00; /* verde Bootstrap */
    cursor: pointer;
}


}

/* ==============================
   TABELAS WSO (Enterprise Style)
   ============================== */

.table-wso {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.table-wso thead th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 12px 16px;
    border-bottom: 2px solid #e5e7eb;
    letter-spacing: .02em;
}

.table-wso tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    color: #4b5563;
}

.table-wso tbody tr:hover {
    background: #f9f9ff; /* leve highlight */
}

.table-wso tbody tr:last-child td {
    border-bottom: none;
}

/* Colunas alinhadas */
.table-wso th, 
.table-wso td {
    white-space: nowrap;
}

.table-wso td.text-center,
.table-wso th.text-center {
    text-align: center;
}

/* Badge custom */
.table-wso .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: .02em;
}

/* Botões dentro da tabela */
.table-wso .btn {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

/* Status */
.badge-status-pending {
    background: #e879f9;
    color: #fff;
}

.badge-status-resolved {
    background: #10b981;
    color: #fff;
}

.badge-status-ignored {
    background: #9ca3af;
    color: #fff;
}

/* Severidade */
.badge-severity-high {
    background: #dc2626;
    color: #fff;
}

.badge-severity-medium {
    background: #f59e0b;
    color: #fff;
}

.badge-severity-low {
    background: #06b6d4;
    color: #fff;
}

/* Centralização de cards grandes */
.card-centered {
    max-width: 1200px;   /* largura máxima */
    margin-left: auto;
    margin-right: auto;
}
.container-alerts {
  max-width: 1200px;   /* largura máxima */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;     /* remove deslocamento lateral */
  padding-right: 0;
}

/* ==============================
   LIVE SCREENS (Grid + Modal)
   ============================== */
.live-thumb {
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.live-thumb:hover {
    transform: scale(1.02);
}

.device-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: all .2s ease;
}
.device-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.modal-live {
    max-width: 1100px;
}

.live-iframe {
    width: 100%;
    height: 70vh;
    border-radius: .5rem;
    border: none;
}
/* Espaçamento entre botões de auditoria */
.audit-actions .btn {
    margin-right: 6px;   /* espaço entre botões */
}

.audit-actions .btn:last-child {
    margin-right: 0;     /* remove espaço do último */
}

/* separação maior antes dos botões críticos */
.audit-actions .btn-critical {
    margin-left: 12px;   /* respiro maior */
}


/* ===== AUDIT BUTTONS ===== */
.audit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* espaço uniforme entre todos os botões */
}

/* separação maior antes do grupo crítico */
.audit-actions .btn-critical {
    margin-left: 16px !important;
}

/* =========================================
   Modal grande (ajuste visual sem barra visível)
   ========================================= */
.modal-xl {
    max-width: 90vw; /* aproveita mais espaço horizontal */
}

.modal-xl .modal-content {
    max-height: 90vh; /* cabe na tela */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* remove barras externas */
    border-radius: 0.75rem;
}

.modal-xl .modal-header,
.modal-xl .modal-footer {
    flex-shrink: 0; /* fixos no topo/rodapé */
    position: sticky;
    z-index: 10;
}

.modal-xl .modal-header {
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.modal-xl .modal-footer {
    bottom: 0;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

.modal-xl .modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: none; /* esconde scrollbar Firefox */
}

/* Esconde scroll (Chrome, Edge, Safari) */
.modal-xl .modal-body::-webkit-scrollbar {
    display: none;
}
.bg-gradient-success {
    background: linear-gradient(90deg, #00b37e, #00d69e);
}

.bg-gradient-danger {
    background: linear-gradient(90deg, #dc3545, #f36b6b);
}

.wso-toast-container {
    position: fixed;
    top: 95px !important; /* abaixo do header */
    right: 30px !important;
    z-index: 1080;
}

.toast {
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
}

.toast.show {
    animation: fadeInUp 0.6s ease-out;
}
.toast.hide {
    animation: fadeOutDown 0.6s ease-in forwards;
}

@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeOutDown {
    from {opacity: 1; transform: translateY(0);}
    to {opacity: 0; transform: translateY(-10px);}
}

/* ======================================================
   AJUSTE VISUAL PREMIUM — BOTÕES GRANDES WSO
   ====================================================== */

/* Reforço do estilo enterprise para botões principais */
.waveapp-btn-success,
.waveapp-btn-danger,
.waveapp-btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    min-width: 150px;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0.02em;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

/* Ícone dentro */
.waveapp-btn-success i,
.waveapp-btn-danger i,
.waveapp-btn-warning i {
    margin-right: 6px;
    font-size: 0.95rem;
}

/* Verde - Salvar / Nova Política */
.waveapp-btn-success {
    background: linear-gradient(135deg, #15c39a, #0fa377);
    color: #fff !important;
}
.waveapp-btn-success:hover {
    background: linear-gradient(135deg, #0fa377, #0b8b64);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,195,154,0.3);
}

/* Vermelho - Cancelar / Excluir */
.waveapp-btn-danger {
    background: linear-gradient(135deg, #f64b4b, #d93434);
    color: #fff !important;
}
.waveapp-btn-danger:hover {
    background: linear-gradient(135deg, #d93434, #b81e1e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246,75,75,0.35);
}

/* Laranja - Ações secundárias */
.waveapp-btn-warning {
    background: linear-gradient(135deg, #ffb300, #f59300);
    color: #fff !important;
}
.waveapp-btn-warning:hover {
    background: linear-gradient(135deg, #f59300, #e68200);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,179,0,0.3);
}

/* ==========================================================
   WSO REPORTS — ISOLAMENTO VISUAL PREMIUM (sem conflito)
   ========================================================== */

.wso-report .card {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.wso-report .card-header,
.wso-report .card-body {
    background: #fff;
}

.wso-report .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* Gráficos */
.wso-report canvas {
    border-radius: 12px;
}

/* Progress bars */
.wso-report .progress {
    height: 22px;
    border-radius: 12px;
    background: #f0f2f6;
    overflow: hidden;
}
.wso-report .progress-bar {
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(0,0,0,0.2);
}

/* Tabela isolada */
.wso-report .table {
    font-size: 0.88rem;
    border-collapse: separate;
    border-spacing: 0;
}
.wso-report .table thead th {
    background: #f9fafb;
    color: #4b5563;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}
.wso-report .table tbody tr:hover {
    background: #f8faff;
}
.wso-report .table td {
    padding: 0.8rem 1rem;
}

/* Botões de exportação isolados */
.wso-report .btn-outline-primary,
.wso-report .btn-outline-danger {
    border-width: 1.5px;
    font-weight: 600;
}
.wso-report .btn-outline-primary:hover {
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    color: #fff;
}
.wso-report .btn-outline-danger:hover {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    color: #fff;
}

/* Header premium */
.wso-report .page-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
}
.wso-report .text-muted {
    color: #64748b !important;
}

/* Cards KPI */
.wso-report .kpi-card {
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}
.wso-report .kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
/* 🔧 Corrige visibilidade do botão "Novo Usuário" no topo */
.btn-gradient {
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: #fff !important;
    border: none;
    transition: all 0.2s ease-in-out;
    opacity: 1 !important;
}

.btn-gradient:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px);
}

/* Remove estilos globais que deixam botões "brancos" invisíveis */
button.btn-gradient[disabled],
a.btn-gradient.disabled {
    opacity: 0.6 !important;
    filter: none !important;
    pointer-events: none;
}

/* ===========================================
   WSO — Configurações estilo WSO Corporate
   =========================================== */
.wso-config-panel {
    background-color: #f2f4f8;
}

/* Pills */
.config-pill {
    background-color: #fff;
    color: #2a2d38;
    border: 1px solid #dee2e7;
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}
.config-pill:hover {
    color: #0d6efd;
    border-color: #b8c3e3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Cards */
.config-card {
    background-color: #ffffff;
    border: 1px solid #e4e7ed;
    transition: all 0.25s ease;
}
.config-card:hover {
    border-color: #bfc8e6;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

/* Ícones de seção */
.config-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eef1fa;
    color: #4e54c8;
    font-size: 1.2rem;
}

/* Botões internos */
.config-card .btn-light {
    background-color: #f7f8fc;
    border-color: #e2e5ef;
}
.config-card .btn-light:hover {
    background-color: #eef1fb;
    border-color: #b9c2f3;
}

/* Títulos e tipografia */
.wso-config-panel h5 {
    letter-spacing: -0.2px;
}
.wso-config-panel .text-muted {
    color: #6c758a !important;
}

.wso-4,
.wso-4 {
  margin-bottom: 1.5rem !important;
  padding-top: 2px;
}


/* ===============================
   💎 WSO Premium Subscription Cards (WaveApp Style)
   =============================== */

.card.rounded-4 {
  border-radius: 1rem !important;
}

.hover-shadow {
  transition: all 0.25s ease-in-out;
}

.hover-shadow:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.card-header.bg-gradient {
  background: linear-gradient(90deg, #0047ab 0%, #006eff 100%) !important;
  border-bottom: none;
}

.btn-gradient-primary {
  background: linear-gradient(90deg, #0053d6 0%, #007bff 100%);
  color: #fff !important;
  border: none;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 83, 214, 0.25);
}

.btn-gradient-primary:hover {
  background: linear-gradient(90deg, #0062ff 0%, #0047ab 100%);
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 83, 214, 0.3);
}

.btn-outline-primary.active {
  background-color: #0047ab !important;
  color: #fff !important;
  border-color: #0047ab !important;
}

.text-primary {
  color: #0053d6 !important;
}

.card-body ul li i {
  font-size: 1rem;
}

.card-body ul li {
  line-height: 1.6;
}

.card .display-6 {
  font-size: 2rem;
  font-weight: 700;
}

small.text-muted {
  font-size: 0.875rem;
}

.shadow-sm {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.06) !important;
}

.rounded-4 img {
  filter: grayscale(0.1);
  transition: all 0.2s ease;
}

.rounded-4 img:hover {
  filter: grayscale(0);
  transform: scale(1.03);
}

.transition-all {
  transition: all 0.25s ease;
}

.card-body {
  background-color: #fff;
}

/* Ajuste para header fixo + container fluido */
.container-fluid.pb-5 {
  padding-bottom: 3rem !important;
}

.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.alert strong {
    font-size: 15px;
}
.progress {
    height: 6px;
    background-color: rgba(0,0,0,0.1);
}
.progress-bar {
    transition: width 0.6s ease;
}






/* =======================================================
   🎨 Drawer de Teste Grátis (Estilo Premium WSO)
   ======================================================= */

#trialDrawer {
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(0.4,0,0.2,1), opacity .3s ease;
}

.offcanvas.show {
  visibility: visible !important;
  transform: translateX(0) !important;
}

.offcanvas-backdrop.show {
  background-color: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(3px);
}




/* ============================================================
   🔹 FAQ - Seta estilo WSO, canto direito fixo e fluido
   ============================================================ */
#trialFAQ {
  margin-top: 1rem;
}

#trialFAQ .accordion-item {
  border: none;
  border-top: 1px solid #e2e3e5;
}

/* Cabeçalho FAQ */
#trialFAQ .accordion-button {
  position: relative;
  background: transparent !important;
  color: #212529;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 2.8rem 1.25rem 0.75rem;
  border: none;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  display: block !important; /* impede o flex do Bootstrap */
  width: 100%;
  text-align: left;
}

#trialFAQ .accordion-button:hover {
  background: #f9fafb;
}

/* Ícone estilo Teramind (seta > no canto direito) */
#trialFAQ .accordion-button .faq-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-0deg);
  color: #000;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  transition: all 0.3s ease;
  opacity: 0.8;
  pointer-events: none;
}

/* Estado expandido (gira e fica 100% visível) */
#trialFAQ .accordion-button:not(.collapsed) .faq-icon {
  transform: translateY(-50%) rotate(90deg);
  opacity: 1;
}

/* Corpo do acordeão */
#trialFAQ .accordion-body {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  padding: 0 0 1.25rem 0.75rem;
  transition: all 0.25s ease-in-out;
}

/* Links */
#trialFAQ a {
  color: #f78d24;
  font-weight: 600;
  text-decoration: underline;
}
#trialFAQ a:hover {
  color: #9ca1a9;
  text-decoration: none;
}


/* ============================================================
   🔹 Card flutuante — proporção e estilo idêntico ao WSO
   ============================================================ */
.trial-card {
  position: relative;
  z-index: 10;
  width: 640px;                     /* 🔹 largura idêntica */
  max-width: 90%;                   /* responsivo */
  margin: -50px auto 20px auto;     /* centralizado e flutuando */
  border-radius: 8px;              /* 🔹 bordas mais arredondadas */
  background: #fff;
  padding: 48px 40px;               /* espaçamento interno maior */
box-shadow: 0 0 6px 2px rgba(0, 0, 0, .2);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.trial-card:hover {
  transform: translateY(-2px);
box-shadow: 0 0 6px 2px rgba(0, 0, 0, .2);
}

/* Texto */
.trial-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.4rem;
  text-align: center;
}

/* Input */
.trial-card input.form-control {
  border: 1px solid #ddd;
  height: 54px;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 50px;
  box-shadow: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.trial-card input.form-control:focus {
  border-color: #f78d24;
 box-shadow: 0 0 6px 2px rgba(0, 0, 0, .2);
}

/* Botão */
.trial-card .btn-warning {
  background-color: #f78d24;
  border: none;
  color: #fff;
  height: 50px;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  transition: background 0.25s ease, transform 0.25s ease;
}
.trial-card .btn-warning:hover {
  background-color: #e67a10;
  transform: translateY(-2px);
}

/* Mensagem de segurança */
.trial-card .text-muted {
  font-size: 0.85rem;
  margin-top: 0.8rem;
  text-align: center;
  color: #6c757d !important;
}
.trial-card .text-muted i {
  color: #999;
}

/* Responsivo */
@media (max-width: 768px) {
  .trial-card {
    width: 100%;
    border-radius: 16px;
    padding: 36px 24px;
    margin-top: -50px;
  }
}


/* ============================================================
   🔹 Header Trial - Centralização e espaçamento WSO refinado
   ============================================================ */
.trial-hero-content {
  margin-top: 2px; /* 🔹 sobe o bloco, equilibrando com o logo */
  text-align: center;
}

.trial-hero-content .modal-title {
  font-size: 28px;
  line-height: 38px !important;
  color: #fff;
  font-weight: 333;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  margin-bottom: 14px;
}

.trial-hero-content p {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
  color: #fff;
  margin-bottom: 0;
}

/* ============================================================
   🔹 WSO Carousel - fixo e nivelado (não sobe nem desce)
   ============================================================ */
.wso-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wso-carousel .carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Itens sobrepostos (fade sem deslocar altura) */
.wso-carousel .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wso-carousel .carousel-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Setas */
.wso-carousel-prev,
.wso-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s ease;
  z-index: 10;
}

.wso-carousel-prev:hover,
.wso-carousel-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.wso-carousel-prev { left: 10px; }
.wso-carousel-next { right: 10px; }

.wso-carousel-arrow {
  font-size: 2rem;
  color: #999;
  user-select: none;
}

/* Texto e estrelas */
.wso-carousel p {
  max-width: 80%;
  margin: 0 auto;
  color: #555;
}

.wso-carousel .text-warning i {
  color: #f78d24 !important;
}

/* Mantém todos os textos com largura e altura equilibradas */
.wso-carousel .carousel-item {
  min-height: 130px;
}

.wso-carousel p.fw-medium {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: center;
  max-width: 420px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wso-carousel p.fw-semibold {
  font-size: 0.95rem;
  color: #333;
  margin-top: 6px;
}

.wso-carousel p.fw-semibold span {
  color: #6c757d;
}
.partners-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.partner-logo {
  height: 38px;
  filter: grayscale(15%) brightness(1.05);
  transition: all 0.25s ease;
}

.partner-logo:hover {
  filter: none;
  transform: translateY(-2px);
}

.partners-section .d-flex {
  gap: 48px; /* 🔹 Aumenta a distância entre os logos */
}



/* ============================================================
   🔹 Hero com curva inferior inclinada (estilo WSO)
   ============================================================ */
.trial-hero {
  position: relative;
  overflow: hidden;
}

/* 🔸 Curva inferior (shape decorativo) */
.trial-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  /* A mágica: forma curva via clip-path */


  /* Inclinação leve */
  transform: rotate(-1deg);
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.05);
  z-index: 5;
}
/* ============================================================
   🔹 Navbar WSO — Alinhamento central, direito e responsivo
   ============================================================ */
.navbar-nav-wso {
  display: flex;
  align-items: center;         /* Centraliza verticalmente */
  justify-content: flex-end;   /* Empurra tudo pro lado direito */
  gap: 1rem;                   /* Espaçamento entre os elementos */
  margin-left: auto;           /* Garante posição à direita */
  height: 100%;                /* Ocupa altura total da barra */
}

/* 🔸 Mantém altura consistente com a barra principal */
.wso-header,
.wso-header-left,
.navbar-top,
.navbar-nav-wso {

}

/* 🔹 Corrige padding interno das barras que usam flex */
.wso-header.d-flex,
.navbar-top.d-flex {
  align-items: center !important;
}

/* ============================================================
   🔹 Alinhamento auxiliar (uso opcional)
   ============================================================ */
.align-items-right-wso {
  display: flex;
  align-items: center;         /* Centraliza verticalmente */
  justify-content: flex-end;   /* Alinha grupo à direita */
}

/* ============================================================
   🔹 Estilo interno dos elementos da navbar
   ============================================================ */
.navbar-nav-wso a,
.navbar-nav-wso button {
  display: inline-flex;
  align-items: center;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.navbar-nav-wso a:hover,
.navbar-nav-wso button:hover {
  color: #0fb773; /* Verde tecnológico padrão WSO */
}

/* ============================================================
   🔹 Avatar + texto (usuário logado)
   ============================================================ */
.navbar-nav-wso .user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav-wso .user-info img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

/* ============================================================
   🔹 Responsividade — centraliza itens em telas menores
   ============================================================ */
@media (max-width: 991px) {
  .navbar-nav-wso {
    justify-content: center !important;
    margin-left: 0;
    width: 100%;
    gap: 0.75rem;
  }
}


/* ============================================================
   🔹 Botão Padrão WSO (variante success / demo / premium)
   ============================================================ */
.btn-wso {
  background: linear-gradient(5deg, #8000ff 0%, #a212ca 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  cursor: pointer;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.25s ease-in-out;
}

/* ✅ Cor principal Wave Server One (verde tecnológico) */
.btn-success-wso {
  background: linear-gradient(9deg, #05ff75 0%, #0bb558 100%);
  color: #fff !important;
}

.btn-success-wso:hover {
  background: linear-gradient(135deg, #1be99b 0%, #12ca7f 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
}

.btn-success-wso:active {
  background: linear-gradient(135deg, #10a769 0%, #0c8e5b 100%);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 🔹 Tamanho pequeno (btn-sm-wso) */
.btn-sm-wso {
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

/* 🔹 Estado desabilitado */
.btn-wso:disabled,
.btn-wso.disabled {
  background: #b8e5cf !important;
  color: #fff !important;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

/* 🔹 Ícones dentro do botão */
.btn-wso i {
  font-size: 0.95rem;
  margin-right: 0.35rem;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.btn-wso:hover i {
  transform: translateX(2px);
}

/* ============================================================
   🔹 Botão Wave (gradiente roxo / destaque marketing)
   ============================================================ */
.btn-wave {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #5e72e4, #ca28bb);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  margin-bottom: 20px;
}

.btn-wave:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(121, 40, 202, 0.4);
}

/* ============================================================
   🔹 Botões Sociais (Google / Facebook / GitHub / SSO)
   ============================================================ */
.btn-social {
  width: 100%;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-social i {
  font-size: 20px;
  margin-right: 10px;
  filter: grayscale(1);
}

/* 🌐 Google */
.btn-social.google {
  background: #ffffff;
  color: #333;
  border: 1px solid #ccc;
}

.btn-social.google:hover {
  background: #f3f3f3;
}

/* 📘 Facebook */
.btn-social.facebook {
  background: #3b5998;
  color: #ffffff;
}

.btn-social.facebook:hover {
  background: #334d84;
}

/* 🐙 GitHub */
.btn-social.github {
  background: #24292e;
  color: #ffffff;
}

.btn-social.github:hover {
  background: #1b1f23;
}

/* 🔒 SSO (Single Sign-On corporativo) */
.btn-social.sso {
  background: #000000;
  color: #ffffff;
}

/* ============================================================
   🔹 Botão à Direita da Navbar (ajuste fino)
   ============================================================ */
.btn-rights {
  margin-left: auto !important;  /* Empurra o botão pro extremo direito */
  display: flex;
  align-items: center;           /* Centraliza verticalmente */
  justify-content: flex-end;     /* Garante alinhamento horizontal */
  height: 100%;
}

/* ============================================================
   🔹 Pop-up Fullscreen para Capturas de Tela
   ============================================================ */
.snapshot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.25s ease;
}

.snapshot-popup {
  position: relative;
  max-width: 95%;
  max-height: 90%;
}

.snapshot-full-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  animation: zoomIn 0.25s ease;
}

.btn-close-popup {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #fff;
  color: #333;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.btn-close-popup:hover {
  background: #0fb773;
  color: #fff;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ==========================================================================
   WSO PREMIUM UI — PRICING CARDS (Planos) 
   Última atualização: 2025-11-06
   Responsável: Wave (assistente)
   ========================================================================= */

.wso-pricing-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 32px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.04);
    transition: all .25s ease;
}
.wso-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 64px rgba(0,0,0,0.09);
}

/* Títulos */
.wso-pricing-title {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #374151;
}

.wso-pricing-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* Preços */
.wso-price-unit {
    font-size: 38px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}
.wso-price-total {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
}
.wso-price-unit small {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    margin-left: -4px;
}
/* Divisor */
.wso-divider {
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

/* Lista de Features */
.wso-pricing-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px;
}
.wso-pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}
.wso-pricing-list li::before {
    content: "✔";
    color: #2563eb;
    font-weight: 700;
}

/* Botões (harmonizados) */
.wso-pricing-btn {
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 600;
    text-align: center;
}



/* ==========================================================================
   WSO PREMIUM UI — BADGE DE DESTAQUE (Mais Popular, Recomendado, etc.)
   ========================================================================= */

/* Cor corporativa para elementos de destaque */
.bg-primary-wso {
    background: #6a25eb; /* Azul WSO */
    color: #ffffff;
}

/* Badge flutuante utilizada em cards de planos */
.badget-wso {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: .4px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    z-index: 3;
    white-space: nowrap;
}


.wso-price-total-line {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-top: 6px;
}


.wso-price-billing-note {
    font-size: 14px;
    color: #6b7280;
    margin-top: -4px;
}


.btn-price-wso {
    font-size: 0.875rem;
    position: relative;
    letter-spacing: 0.025em;
    text-transform: none;
    will-change: transform;
    transition: 0.15s;
}

.btn-primary-price-wso {
    background-color: #fe6f00;
    border-color: #fe6f00;
    color: #fff;
}

.wso-plan-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.55;
}
/* ==== TOGGLE PRICING WSO ==== */
.wso-toggle-wrapper {
    background: #ffffff;
    border: 1px solid #d6dae1;
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wso-toggle-btn {
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #4a4a4a;
    transition: all .25s ease-in-out;
}

.wso-toggle-btn.active {
    background: #4977ff;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(73,120,255,0.35);
}

.wso-economy-badge {
    background: #2d2d2d;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    position: absolute;
    top: -8px;
    right: -18px;
    pointer-events: none;
}
/* ==== WSO SLIDE TOGGLE ==== */
.wso-toggle-slide {
    position: relative;
    background: #ffffff;
    border-radius: 40px;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: 1px solid #d6d9e0;
    user-select: none;
    width: auto;
}

.wso-toggle-slide .wso-toggle-option {
    position: relative;
    padding: 10px 38px;
    border-radius: 40px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #4a4a4a;
    cursor: pointer;
    z-index: 2;
    transition: color .25s ease-in-out;
}

.wso-toggle-slide .wso-toggle-option.active {
    color: #ffffff;
}

.wso-toggle-slide .wso-toggle-track {
    position: absolute;
    height: 38px;
    width: 50%;
    border-radius: 40px;
    background: #4d73ff;
    top: 4px;
    left: 4px;
    transition: transform .30s ease-in-out;
    z-index: 1;
}

/* Slide para anual */
.wso-toggle-slide.yearly .wso-toggle-track {
    transform: translateX(100%);
}

/* Badge */
.wso-toggle-badge {
    background: #ff008b;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    position: absolute;
    top: -12px;
    right: -20px;
    line-height: normal;
    pointer-events: none;
}

/* ✅ Cursor Fix */
.wso-toggle-option:hover,
.wso-toggle-slide:hover {
    cursor: pointer;
}

#update-seats {
    border: 1px solid #d1d9e6;
    height: 42px;
    font-size: 16px;
    padding-right: 10px;
}

#update-seats:focus {
    border-color: #4b73ff;
    box-shadow: 0 0 0 3px rgba(75, 115, 255, .25);
}


/* ✅ Reativa as setas nos inputs type=number mesmo com Argon carregado */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: auto !important;
    margin: 0 !important;
}

input[type=number] {
    -moz-appearance: auto !important;
    appearance: auto !important;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.snapshot-block {
  width: 180px;
  transition: all .2s ease;
}

.snapshot-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.snapshot-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .25s ease;
}

.snapshot-thumb:hover {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.snapshot-meta {
  background: #fff;
  border-top: 1px solid #eee;
  border-radius: 0 0 .5rem .5rem;
}

.cursor-pointer { 
  cursor: pointer; 
}

#snapshotLightbox img[src=""] {
  display: none !important;
}

#snapshotLightbox .close-btn {
  display: none !important;
}

.snapshot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snapshot-popup {
  position: relative;
  max-width: 95%;
  max-height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.snapshot-full-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}

.btn-close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-close-popup:hover {
  background: rgba(255,255,255,0.4);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 32px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.4);
}

.nav-btn.prev { left: 25px; }
.nav-btn.next { right: 25px; }

.section-title {
    position: relative;
    padding-bottom: 6px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e88e5, #42a5f5);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 999px;
}

/* ================================================
   WSO — Botões Premium de Exportação (PDF/CSV)
   ================================================ */

.btn-wso-export {
    background: linear-gradient(90deg, #5719d2, #42a5f5);
    color: #fff !important;
    padding: 7px 22px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.25);
    transition: all .25s ease-in-out;
    border: none;
}

.btn-wso-export:hover {
    background: linear-gradient(90deg, #0d47a1, #1976d2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.35);
}

.btn-wso-export i {
    font-size: 1.1rem;
}
