/* ==========================================================
   WSO — EASY MODE
   Interface simplificada
========================================================== */

.wsone-department-settings {
    width: 100%;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    overflow: hidden;
}


/* ==========================================================
   TABS — MESMA LINGUAGEM DO WIZARD
========================================================== */

.wsone-config-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 0 26px;
    overflow-x: auto;
    border-bottom: 1px solid #e4e9f0;
    background: #fff;
}

.wsone-config-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 58px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #69778d;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.wsone-config-tab i {
    font-size: 15px;
}

.wsone-config-tab::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    left: 10px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

.wsone-config-tab:hover {
    color: #1673ea;
}

.wsone-config-tab.active {
    color: #1673ea;
}

.wsone-config-tab.active::after {
    background: #1673ea;
}


/* ==========================================================
   CABEÇALHO
========================================================== */

.wsone-config-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 30px 22px;
}

.wsone-config-eyebrow {
    margin-bottom: 4px;
    color: #1673ea;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.wsone-config-heading h2 {
    margin: 0 0 3px;
    color: #152036;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.3px;
}

.wsone-config-heading p {
    margin: 0;
    color: #758299;
    font-size: 14px;
}

.wsone-config-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #dce5ee;
    border-radius: 999px;
    color: #258a3c;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wsone-config-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #28a745;
}


/* ==========================================================
   PAINÉIS
========================================================== */

.wsone-config-pane {
    display: none;
    padding: 0 30px 30px;
}

.wsone-config-pane.active {
    display: block;
}

.wsone-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    margin-bottom: 16px;
    border-top: 1px solid #edf0f4;
}

.wsone-section-title h3 {
    margin: 0 0 3px;
    color: #172033;
    font-size: 17px;
    font-weight: 750;
}

.wsone-section-title p {
    margin: 0;
    color: #8290a3;
    font-size: 12px;
}


/* ==========================================================
   MONITORAMENTO
========================================================== */

.wsone-option-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wsone-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 15px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
}

.wsone-option-icon,
.wsone-rule-icon,
.wsone-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 9px;
    background: #eef5ff;
    color: #1673ea;
}

.wsone-option-card strong,
.wsone-option-card small {
    display: block;
}

.wsone-option-card strong {
    color: #172033;
    font-size: 13px;
}

.wsone-option-card small {
    margin-top: 2px;
    color: #8190a4;
    font-size: 11px;
    line-height: 1.35;
}

.wsone-info-strip {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    padding: 12px 15px;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    background: #f6faff;
    color: #55708f;
    font-size: 12px;
}

.wsone-info-strip i {
    color: #1673ea;
}


/* ==========================================================
   REGRAS E CONTROLES
========================================================== */

.wsone-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.wsone-rule-card {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.wsone-rule-card:hover {
    border-color: #9fc3f6;
    box-shadow: 0 5px 15px rgba(26, 87, 164, .07);
    transform: translateY(-1px);
}

.wsone-rule-copy {
    flex: 1;
    min-width: 0;
}

.wsone-rule-copy strong,
.wsone-rule-copy small {
    display: block;
}

.wsone-rule-copy strong {
    color: #172033;
    font-size: 14px;
}

.wsone-rule-copy small {
    margin-top: 2px;
    color: #8290a3;
    font-size: 12px;
}

.wsone-rule-card > .fa-chevron-right {
    color: #a4afbd;
    font-size: 12px;
}


/* ==========================================================
   VOLTAR / PLACEHOLDER
========================================================== */

.wsone-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 15px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: #55708f;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.wsone-back-button:hover {
    color: #1673ea;
}

.wsone-empty-module {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
}

.wsone-empty-module strong {
    color: #172033;
    font-size: 14px;
}

.wsone-empty-module p {
    margin: 3px 0 0;
    color: #8290a3;
    font-size: 12px;
}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 1199.98px) {
    .wsone-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    .wsone-config-tabs {
        padding: 0 10px;
    }

    .wsone-config-tab {
        padding: 0 12px;
    }

    .wsone-config-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .wsone-config-pane {
        padding: 0 20px 20px;
    }

    .wsone-option-grid,
    .wsone-rule-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   WSO EASY — MONITORAMENTO / SWITCHES
   Apenas interface. Nenhuma persistência nesta etapa.
========================================================== */

.wsone-option-card-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.wsone-option-copy {
    flex: 1;
    min-width: 0;
}

.wsone-option-copy strong,
.wsone-option-copy small {
    display: block;
}

.wsone-switch {
    position: relative;
    display: inline-flex;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
}

.wsone-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wsone-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #dbe3ec;
    transition: .2s ease;
}

.wsone-switch-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
    transition: .2s ease;
}

.wsone-switch input:checked + .wsone-switch-slider {
    background: #22c55e;
}

.wsone-switch input:checked + .wsone-switch-slider::before {
    transform: translateX(20px);
}

.wsone-option-card-control:has(.wsone-switch input:checked) {
    border-color: rgba(34, 197, 94, .35);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.wsone-monitor-readonly-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 15px;
    border: 1px solid #e7edf4;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
}

.wsone-monitor-readonly-note i {
    color: #3b82f6;
}


/* ==========================================================
   WSO EASY — PRODUTIVIDADE
========================================================== */

.wsone-productivity {
    width: 100%;
}

.wsone-productivity-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid #dbe8f6;
    border-radius: 12px;
    background: #f8fbff;
}

.wsone-productivity-intro-copy {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wsone-productivity-intro-icon,
.wsone-productivity-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #e8f3ff;
    color: #2187ed;
}

.wsone-productivity-intro-icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
}

.wsone-productivity-intro h3,
.wsone-productivity-section-head h3 {
    margin: 0;
    color: #082651;
    font-size: 15px;
    font-weight: 800;
}

.wsone-productivity-intro p,
.wsone-productivity-section-head p {
    margin: 4px 0 0;
    color: #6d83a4;
    font-size: 11px;
    line-height: 1.5;
}

.wsone-productivity-context {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    color: #2187ed;
    font-size: 10px;
    font-weight: 750;
}

.wsone-productivity-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.wsone-productivity-type {
    min-width: 0;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid #e0e8f2;
    border-radius: 10px;
    background: #fff;
}

.wsone-productivity-type > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
}

.wsone-productivity-type.is-productive > span {
    background: #e5f8ef;
    color: #15a46e;
}

.wsone-productivity-type.is-neutral > span {
    background: #edf2f8;
    color: #647a99;
}

.wsone-productivity-type.is-idle > span {
    background: #fff0ef;
    color: #e05858;
}

.wsone-productivity-type strong {
    display: block;
    margin-bottom: 3px;
    color: #082651;
    font-size: 12px;
    font-weight: 800;
}

.wsone-productivity-type small {
    display: block;
    color: #7185a3;
    font-size: 10px;
    line-height: 1.4;
}

.wsone-productivity-section {
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #e0e8f2;
    border-radius: 12px;
    background: #fff;
}

.wsone-productivity-section-head {
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e8eef5;
    background: #fbfcfe;
}

.wsone-productivity-section-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wsone-productivity-section-icon {
    width: 36px;
    height: 36px;
}

.wsone-productivity-add {
    height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #cfe1f5;
    border-radius: 8px;
    background: #fff;
    color: #2187ed;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.wsone-productivity-add:hover {
    background: #f2f8ff;
    border-color: #9fc9f3;
}

.wsone-productivity-loading,
.wsone-productivity-empty {
    min-height: 76px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6f84a3;
}

.wsone-productivity-empty > i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f2f6fb;
    color: #6f8db3;
}

.wsone-productivity-empty strong {
    display: block;
    margin-bottom: 3px;
    color: #18385f;
    font-size: 11px;
    font-weight: 800;
}

.wsone-productivity-empty small {
    display: block;
    color: #7a8eaa;
    font-size: 9px;
}

.wsone-productivity-row,
.wsone-productivity-new-row {
    min-height: 64px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #edf1f6;
}

.wsone-productivity-row:last-child {
    border-bottom: 0;
}

.wsone-productivity-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.wsone-productivity-item > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f2f6fb;
    color: #3d73b9;
}

.wsone-productivity-item strong {
    display: block;
    color: #0a2953;
    font-size: 11px;
    font-weight: 800;
}

.wsone-productivity-item small {
    display: block;
    margin-top: 2px;
    color: #778ba9;
    font-size: 9px;
}

.wsone-productivity-choice {
    flex: 0 0 auto;
    padding: 3px;
    display: flex;
    gap: 3px;
    border: 1px solid #dae4ef;
    border-radius: 8px;
    background: #f5f8fb;
}

.wsone-productivity-choice button {
    min-width: 82px;
    height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #7084a1;
    font: inherit;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

.wsone-productivity-choice button.is-productive.is-selected {
    background: #e4f7ed;
    color: #119965;
}

.wsone-productivity-choice button.is-neutral.is-selected {
    background: #e7edf5;
    color: #526b8e;
}

.wsone-productivity-choice button.is-idle.is-selected {
    background: #ffebea;
    color: #d44e4e;
}

.wsone-productivity-default {
    border-left: 1px solid #dce5ef !important;
    border-radius: 0 6px 6px 0 !important;
}

.wsone-productivity-new-row {
    display: grid;
    grid-template-columns: 34px minmax(160px, 1fr) auto 34px;
    padding: 8px 12px;
}

.wsone-productivity-new-row.is-saving {
    opacity: .6;
    pointer-events: none;
}

.wsone-productivity-new-row > i {
    color: #2187ed;
    text-align: center;
}

.wsone-productivity-new-input {
    width: 100%;
    height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0a2953;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

.wsone-productivity-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #a0a7b6;
    cursor: pointer;
}

.wsone-productivity-remove:hover {
    background: rgba(220, 53, 69, .08);
    color: #dc3545;
}

.wsone-productivity-summary {
    min-height: 50px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #dfe8f2;
    border-radius: 10px;
    background: #f8fafc;
    color: #6b809f;
    font-size: 10px;
}

.wsone-productivity-summary > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wsone-productivity-summary i,
.wsone-productivity-summary strong {
    color: #2187ed;
}

@media (max-width: 1050px) {
    .wsone-productivity-types {
        grid-template-columns: 1fr;
    }

    .wsone-productivity-intro,
    .wsone-productivity-section-head,
    .wsone-productivity-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .wsone-productivity-context {
        white-space: normal;
    }

    .wsone-productivity-choice {
        width: 100%;
    }

    .wsone-productivity-choice button {
        min-width: 0;
        flex: 1;
    }

    .wsone-productivity-new-row {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .wsone-productivity-new-row .wsone-productivity-choice {
        grid-column: 1 / -1;
    }
}


/* ==========================================================
   WSO EASY — PRODUTIVIDADE / SALVAR
========================================================== */

.wsone-productivity-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wsone-productivity-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.wsone-productivity-pending {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8a6d24;
    font-size: 10px;
    font-weight: 700;
}

.wsone-productivity-pending[hidden] {
    display: none !important;
}

.wsone-productivity-pending i {
    font-size: 6px;
    color: #f0ad4e;
}

.wsone-productivity-save {
    min-width: 150px;
    height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: #2187ed;
    color: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(33, 135, 237, .16);
    transition:
        opacity .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.wsone-productivity-save:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(33, 135, 237, .22);
}

.wsone-productivity-save:disabled {
    opacity: .45;
    cursor: default;
    box-shadow: none;
}

.wsone-productivity-save.is-success {
    background: #16a36a;
}

.wsone-productivity-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 700px) {
    .wsone-productivity-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wsone-productivity-save {
        width: 100%;
    }
}


/* ==========================================================
   WSO EASY — SITES PREMIUM
   Referência visual: configuração simples por departamento
========================================================== */

.wsone-sites-premium {
    width: 100%;
}

.wsone-sites-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 4px 0 24px;
}

.wsone-sites-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1673ea;
    font-size: 24px;
}

.wsone-sites-heading h2 {
    margin: 0 0 3px;
    color: #172033;
    font-size: 23px;
    font-weight: 700;
}

.wsone-sites-heading p {
    margin: 0;
    color: #6f7f95;
    font-size: 14px;
}

.wsone-sites-card {
    margin-bottom: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #fff;
}

.wsone-sites-add-card {
    padding: 20px;
    background: #fbfcfe;
}

.wsone-sites-card h3 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
}

.wsone-sites-add-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 1fr)
        minmax(210px, 280px)
        170px;
    gap: 12px;
    margin-top: 15px;
}

.wsone-sites-input-wrap {
    position: relative;
}

.wsone-sites-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    color: #8795a9;
    transform: translateY(-50%);
}

.wsone-sites-input {
    width: 100%;
    height: 46px;
    padding: 0 15px 0 43px;
    border: 1px solid #d6deea;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #172033;
    font-size: 14px;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.wsone-sites-input:focus {
    border-color: #2781ed;
    box-shadow:
        0 0 0 3px rgba(39, 129, 237, .10);
}

.wsone-sites-mode-wrap {
    position: relative;
}

.wsone-sites-mode-button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d6deea;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wsone-sites-mode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 17px;
}

.wsone-sites-mode-icon.is-block {
    color: #e53935;
}

.wsone-sites-mode-icon.is-allow {
    color: #25a244;
}

.wsone-sites-mode-chevron {
    margin-left: auto;
    color: #728096;
    font-size: 11px;
}

.wsone-sites-mode-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    width: 100%;
    min-width: 290px;
    padding: 6px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 12px 32px rgba(26, 50, 85, .14);
}

.wsone-sites-mode-menu button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.wsone-sites-mode-menu button:hover,
.wsone-sites-mode-menu button.is-selected {
    background: #f3f7fc;
}

.wsone-sites-mode-menu strong,
.wsone-sites-mode-menu small {
    display: block;
}

.wsone-sites-mode-menu strong {
    color: #172033;
    font-size: 13px;
}

.wsone-sites-mode-menu small {
    margin-top: 2px;
    color: #7c899b;
    font-size: 11px;
}

.wsone-sites-add-button,
.wsone-sites-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: #1673ea;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.wsone-sites-add-button {
    height: 46px;
    padding: 0 22px;
}

.wsone-sites-add-button:hover,
.wsone-sites-save:hover {
    background: #0d65d7;
    box-shadow:
        0 6px 16px rgba(22, 115, 234, .18);
}

.wsone-sites-helper {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #718096;
    font-size: 12px;
}

.wsone-sites-helper i {
    color: #52708f;
}

.wsone-sites-list-card {
    overflow: hidden;
}

.wsone-sites-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 17px;
    border-bottom: 1px solid #e5eaf1;
}

.wsone-sites-list-head h3 span {
    color: #64748b;
    font-weight: 500;
}

.wsone-sites-search {
    position: relative;
    width: 230px;
}

.wsone-sites-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #8795a9;
    transform: translateY(-50%);
}

.wsone-sites-search input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 36px;
    border: 1px solid #d7dfeb;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #172033;
    font-size: 12px;
}

.wsone-sites-search input:focus {
    border-color: #2781ed;
}

.wsone-sites-table-head,
.wsone-sites-table-row {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        180px
        120px
        90px;
    align-items: center;
}

.wsone-sites-table-head {
    min-height: 38px;
    padding: 0 17px;
    border-bottom: 1px solid #e5eaf1;
    background: #f8fafc;
    color: #5f6f84;
    font-size: 11px;
    font-weight: 700;
}

.wsone-sites-table-row {
    min-height: 54px;
    padding: 0 17px;
    border-bottom: 1px solid #edf0f4;
    color: #172033;
    font-size: 13px;
}

.wsone-sites-table-row:last-child {
    border-bottom: 0;
}

.wsone-sites-table-row:hover {
    background: #fbfcfe;
}

.wsone-sites-domain {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wsone-sites-domain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 50%;
    background: #eef5ff;
    color: #1673ea;
}

.wsone-sites-domain strong {
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsone-sites-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.wsone-sites-status.is-blocked {
    background: #fde8e7;
    color: #c72d2a;
}

.wsone-sites-status.is-allowed {
    background: #e4f7e8;
    color: #21833b;
}

.wsone-sites-type {
    color: #526176;
}

.wsone-sites-actions {
    display: flex;
    align-items: center;
}

.wsone-sites-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #f2d8d8;
    border-radius: 7px;
    background: #fff5f5;
    color: #d63737;
    cursor: pointer;
}

.wsone-sites-delete:hover {
    background: #feeaea;
}

.wsone-sites-state {
    padding: 42px 20px;
    color: #8290a3;
    text-align: center;
    font-size: 13px;
}

.wsone-sites-state > i {
    margin-right: 7px;
    color: #1673ea;
}

.wsone-sites-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 20px;
    padding: 13px 15px;
    border: 1px solid #bcd8fa;
    border-radius: 8px;
    background: #f3f8ff;
    color: #315d91;
    font-size: 12px;
}

.wsone-sites-info i {
    color: #1673ea;
    font-size: 16px;
}

.wsone-sites-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.wsone-sites-cancel {
    height: 42px;
    padding: 0 22px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #fff;
    color: #344258;
    font-weight: 600;
    cursor: pointer;
}

.wsone-sites-cancel:hover {
    background: #f7f9fc;
}

.wsone-sites-save {
    min-width: 165px;
    height: 42px;
    padding: 0 22px;
}

.wsone-sites-save:disabled {
    opacity: .65;
    cursor: not-allowed;
}


@media (max-width: 991px) {

    .wsone-sites-add-grid {
        grid-template-columns: 1fr;
    }

    .wsone-sites-table-head,
    .wsone-sites-table-row {
        grid-template-columns:
            minmax(180px, 1fr)
            120px
            70px;
    }

    .wsone-sites-table-head > div:nth-child(3),
    .wsone-sites-type {
        display: none;
    }
}


@media (max-width: 640px) {

    .wsone-sites-heading {
        align-items: flex-start;
    }

    .wsone-sites-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    .wsone-sites-search {
        width: 100%;
    }

    .wsone-sites-table-head {
        display: none;
    }

    .wsone-sites-table-row {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 14px;
    }

    .wsone-sites-table-row > div:nth-child(2) {
        display: none;
    }

    .wsone-sites-actions {
        justify-content: flex-end;
    }

    .wsone-sites-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .wsone-sites-cancel,
    .wsone-sites-save {
        width: 100%;
    }
}



/* ==========================================================
   WSO EASY — APLICATIVOS
========================================================== */

.wsone-apps-heading {
    display:flex;
    align-items:center;
    gap:15px;
    margin:4px 0 24px;
}

.wsone-apps-heading-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:12px;
    background:#eef5ff;
    color:#1673ea;
    font-size:22px;
}

.wsone-apps-heading h2 {
    margin:0 0 3px;
    color:#172033;
    font-size:23px;
    font-weight:700;
}

.wsone-apps-heading p {
    margin:0;
    color:#6f7f95;
    font-size:14px;
}

.wsone-apps-card {
    margin-bottom:20px;
    border:1px solid #dfe6ef;
    border-radius:12px;
    background:#fff;
}

.wsone-apps-add-card {
    padding:20px;
    background:#fbfcfe;
}

.wsone-apps-card h3 {
    margin:0;
    color:#172033;
    font-size:16px;
    font-weight:700;
}

.wsone-apps-add-grid {
    display:grid;
    grid-template-columns:minmax(300px,1fr) minmax(190px,240px) 170px;
    gap:12px;
    margin-top:15px;
}

.wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
    grid-template-columns:minmax(230px,1fr) minmax(220px,1fr) 190px 160px;
}

.wsone-apps-select,
.wsone-apps-input {
    width:100%;
    height:46px;
    padding:0 14px;
    border:1px solid #d6deea;
    border-radius:8px;
    outline:none;
    background:#fff;
    color:#172033;
    font-size:14px;
}

.wsone-apps-select:focus,
.wsone-apps-input:focus {
    border-color:#2781ed;
    box-shadow:0 0 0 3px rgba(39,129,237,.10);
}

.wsone-apps-add-button,
.wsone-apps-save {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:8px;
    background:#1673ea;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

.wsone-apps-helper {
    margin-top:10px;
    color:#718096;
    font-size:12px;
}

.wsone-apps-helper i {
    margin-right:6px;
    color:#52708f;
}

.wsone-apps-list-card {
    overflow:hidden;
}

.wsone-apps-list-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 17px;
    border-bottom:1px solid #e5eaf1;
}

.wsone-apps-search {
    position:relative;
    width:230px;
}

.wsone-apps-search i {
    position:absolute;
    top:50%;
    left:12px;
    color:#8795a9;
    transform:translateY(-50%);
}

.wsone-apps-search input {
    width:100%;
    height:36px;
    padding:0 12px 0 36px;
    border:1px solid #d7dfeb;
    border-radius:7px;
    outline:none;
}

.wsone-apps-table-head,
.wsone-apps-table-row {
    display:grid;
    grid-template-columns:minmax(260px,1fr) 180px 120px 90px;
    align-items:center;
}

.wsone-apps-table-head {
    min-height:38px;
    padding:0 17px;
    border-bottom:1px solid #e5eaf1;
    background:#f8fafc;
    color:#5f6f84;
    font-size:11px;
    font-weight:700;
}

.wsone-apps-table-row {
    min-height:54px;
    padding:0 17px;
    border-bottom:1px solid #edf0f4;
    color:#172033;
    font-size:13px;
}

.wsone-apps-name {
    display:flex;
    align-items:center;
    gap:12px;
}

.wsone-apps-name-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:31px;
    height:31px;
    border-radius:50%;
    background:#eef5ff;
    color:#1673ea;
}

.wsone-apps-status {
    display:inline-flex;
    justify-content:center;
    min-width:80px;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
}

.wsone-apps-status.is-blocked {
    background:#fde8e7;
    color:#c72d2a;
}

.wsone-apps-status.is-allowed {
    background:#e4f7e8;
    color:#21833b;
}

.wsone-apps-type {
    color:#526176;
}

.wsone-apps-delete {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border:1px solid #f2d8d8;
    border-radius:7px;
    background:#fff5f5;
    color:#d63737;
    cursor:pointer;
}

.wsone-apps-state {
    padding:42px 20px;
    color:#8290a3;
    text-align:center;
    font-size:13px;
}

.wsone-apps-info {
    display:flex;
    align-items:center;
    gap:12px;
    margin:2px 0 20px;
    padding:13px 15px;
    border:1px solid #bcd8fa;
    border-radius:8px;
    background:#f3f8ff;
    color:#315d91;
    font-size:12px;
}

.wsone-apps-footer {
    display:flex;
    justify-content:flex-end;
    gap:10px;
}

.wsone-apps-cancel {
    height:42px;
    padding:0 22px;
    border:1px solid #d8e0eb;
    border-radius:8px;
    background:#fff;
    color:#344258;
    font-weight:600;
}

.wsone-apps-save {
    min-width:165px;
    height:42px;
    padding:0 22px;
}

.wsone-apps-save:disabled {
    opacity:.65;
}

@media (max-width:991px) {
    .wsone-apps-add-grid,
    .wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
        grid-template-columns:1fr;
    }
}



/* ==========================================================
   WSO EASY APPS — SEM SELETOR DE MODO
========================================================== */

.wsone-apps-add-grid {
    grid-template-columns: minmax(360px, 1fr) 190px;
}

.wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(260px, 1fr)
        190px;
}

@media (max-width: 991px) {
    .wsone-apps-add-grid,
    .wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
        grid-template-columns: 1fr;
    }
}



/* WSO EASY APPS — select aplicativo + botão adicionar */
.wsone-apps-add-grid {
    grid-template-columns: minmax(360px, 1fr) 210px;
}

.wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) 210px;
}

@media (max-width: 991px) {
    .wsone-apps-add-grid,
    .wsone-apps-add-grid:has(.wsone-apps-input:not(.d-none)) {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   WSO EASY APPS — TEXTBOX + CATÁLOGO + ADICIONAR
========================================================== */

.wsone-apps-add-grid {
    grid-template-columns:
        minmax(300px, 1fr)
        minmax(280px, 1fr)
        190px;
}

@media (max-width: 991px) {
    .wsone-apps-add-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================
   WSO EASY — DISPOSITIVOS USB
========================================================== */

.wsone-usb-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 4px 0 24px;
}

.wsone-usb-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1673ea;
    font-size: 22px;
}

.wsone-usb-heading h2 {
    margin: 0 0 3px;
    color: #172033;
    font-size: 23px;
    font-weight: 700;
}

.wsone-usb-heading p {
    margin: 0;
    color: #6f7f95;
    font-size: 14px;
}

.wsone-usb-card {
    padding: 22px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #fff;
}

.wsone-usb-card-title h3 {
    margin: 0 0 4px;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
}

.wsone-usb-card-title p {
    margin: 0;
    color: #75849a;
    font-size: 13px;
}

.wsone-usb-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.wsone-usb-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 125px;
    padding: 20px;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: .18s ease;
}

.wsone-usb-option:hover {
    border-color: #a9ccef;
    box-shadow: 0 5px 16px rgba(34, 88, 145, .07);
}

.wsone-usb-option.is-selected {
    border-color: #1673ea;
    background: #f5f9ff;
    box-shadow: 0 0 0 2px rgba(22, 115, 234, .08);
}

.wsone-usb-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    font-size: 16px;
}

.wsone-usb-option-icon.is-allow {
    background: #e8f8ed;
    color: #26934a;
}

.wsone-usb-option-icon.is-readonly {
    background: #fff5dc;
    color: #b67b08;
}

.wsone-usb-option-icon.is-block {
    background: #fdeaea;
    color: #d43838;
}

.wsone-usb-option-copy {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.wsone-usb-option-copy strong {
    margin-bottom: 7px;
    color: #172033;
    font-size: 15px;
}

.wsone-usb-option-copy small {
    color: #728198;
    font-size: 12px;
    line-height: 1.55;
}

.wsone-usb-radio {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd6e3;
    border-radius: 50%;
    background: #fff;
}

.wsone-usb-option.is-selected .wsone-usb-radio {
    border: 5px solid #1673ea;
}

.wsone-usb-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #bdd9fa;
    border-radius: 9px;
    background: #f4f8ff;
    color: #315d91;
}

.wsone-usb-info > i {
    margin-top: 2px;
}

.wsone-usb-info div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wsone-usb-info strong {
    font-size: 12px;
}

.wsone-usb-info span {
    font-size: 12px;
}

.wsone-usb-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.wsone-usb-pending {
    margin-right: auto;
    color: #a36d00;
    font-size: 12px;
    font-weight: 600;
}

.wsone-usb-cancel,
.wsone-usb-save {
    height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 600;
}

.wsone-usb-cancel {
    border: 1px solid #d8e0eb;
    background: #fff;
    color: #344258;
}

.wsone-usb-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    border: 0;
    background: #1673ea;
    color: #fff;
}

.wsone-usb-save:disabled {
    opacity: .50;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    .wsone-usb-options {
        grid-template-columns: 1fr;
    }

    .wsone-usb-footer {
        flex-wrap: wrap;
    }

    .wsone-usb-pending {
        width: 100%;
    }
}



/* ==========================================================
   WSO EASY — REGRAS E CONTROLES
   3 recursos reais: Sites / Aplicativos / USB
========================================================== */

.wsone-rules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .wsone-rules-grid {
        grid-template-columns: 1fr;
    }
}















/* ==========================================================
   WSO EASY — REGRAS E CONTROLES
   RESPONSIVIDADE DO GRID REAL
========================================================== */

@media (max-width: 1100px) {
    .wsone-rule-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================
   WSO EASY — ÍCONE DISPOSITIVOS EXTERNOS
========================================================== */

.wsone-rule-icon .wsone-usb-svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #1673ea;
}



/* ==========================================================
   WSO EASY — USB — CURSOR DOS BOTÕES
========================================================== */

.wsone-usb-save:not(:disabled),
.wsone-usb-cancel {
    cursor: pointer !important;
}

.wsone-usb-save:disabled {
    cursor: not-allowed !important;
}



/* ==========================================================
   WSO EASY — ALERTAS DO DEPARTAMENTO
========================================================== */

.wsone-easy-alerts {
    width: 100%;
}

.wsone-easy-alerts-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.wsone-easy-alerts-intro-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef5ff;
    color: #1673ea;
    font-size: 18px;
}

.wsone-easy-alerts-intro h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

.wsone-easy-alerts-intro p {
    margin: 0;
    color: #6f7b8e;
    font-size: 14px;
    line-height: 1.55;
}

.wsone-easy-alerts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wsone-easy-alert-card {
    padding: 18px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.wsone-easy-alert-card.is-enabled {
    border-color: #bcd7fb;
    background: #fbfdff;
    box-shadow: 0 6px 18px rgba(22, 115, 234, .06);
}

.wsone-easy-alert-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wsone-easy-alert-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5fa;
    color: #1673ea;
    font-size: 16px;
}

.wsone-easy-alert-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wsone-easy-alert-copy strong {
    color: #1d2738;
    font-size: 14px;
    font-weight: 700;
}

.wsone-easy-alert-copy small {
    color: #7a8698;
    font-size: 12px;
    line-height: 1.45;
}

.wsone-easy-alert-message {
    margin-top: 15px;
}

.wsone-easy-alert-message label {
    display: block;
    margin-bottom: 6px;
    color: #596579;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wsone-easy-alert-message textarea {
    width: 100%;
    min-height: 68px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #263247;
    font: inherit;
    font-size: 13px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.wsone-easy-alert-message textarea:focus {
    border-color: #8dbcf7;
    box-shadow: 0 0 0 3px rgba(22, 115, 234, .08);
}

.wsone-easy-alerts-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e9edf3;
}

.wsone-easy-alerts-pending {
    color: #8a94a5;
    font-size: 13px;
}

.wsone-easy-alerts-pending.is-pending {
    color: #d98700;
    font-weight: 600;
}

.wsone-easy-alerts-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wsone-easy-alerts-cancel,
.wsone-easy-alerts-save {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: all .18s ease;
}

.wsone-easy-alerts-cancel {
    border: 1px solid #dce3ec;
    background: #fff;
    color: #596579;
}

.wsone-easy-alerts-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #1673ea;
    background: #1673ea;
    color: #fff;
}

.wsone-easy-alerts-cancel:not(:disabled),
.wsone-easy-alerts-save:not(:disabled) {
    cursor: pointer;
}

.wsone-easy-alerts-cancel:disabled,
.wsone-easy-alerts-save:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.wsone-easy-alerts-save:not(:disabled):hover {
    background: #0e65d5;
    border-color: #0e65d5;
}

.wsone-easy-alerts-cancel:not(:disabled):hover {
    background: #f7f9fc;
}

@media (max-width: 991.98px) {
    .wsone-easy-alerts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .wsone-easy-alerts-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .wsone-easy-alerts-actions {
        width: 100%;
    }

    .wsone-easy-alerts-cancel,
    .wsone-easy-alerts-save {
        flex: 1;
    }
}


/* ==========================================================
   WSO EASY — ALERTAS DO DEPARTAMENTO
========================================================== */

.wsone-easy-alerts {
    width: 100%;
}

.wsone-easy-alerts-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.wsone-easy-alerts-intro-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef5ff;
    color: #1673ea;
    font-size: 18px;
}

.wsone-easy-alerts-intro h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

.wsone-easy-alerts-intro p {
    margin: 0;
    color: #6f7b8e;
    font-size: 14px;
    line-height: 1.55;
}

.wsone-easy-alerts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wsone-easy-alert-card {
    padding: 18px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.wsone-easy-alert-card.is-enabled {
    border-color: #bcd7fb;
    background: #fbfdff;
    box-shadow: 0 6px 18px rgba(22, 115, 234, .06);
}

.wsone-easy-alert-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wsone-easy-alert-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5fa;
    color: #1673ea;
    font-size: 16px;
}

.wsone-easy-alert-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wsone-easy-alert-copy strong {
    color: #1d2738;
    font-size: 14px;
    font-weight: 700;
}

.wsone-easy-alert-copy small {
    color: #7a8698;
    font-size: 12px;
    line-height: 1.45;
}

.wsone-easy-alert-message {
    margin-top: 15px;
}

.wsone-easy-alert-message label {
    display: block;
    margin-bottom: 6px;
    color: #596579;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wsone-easy-alert-message textarea {
    width: 100%;
    min-height: 68px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #263247;
    font: inherit;
    font-size: 13px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.wsone-easy-alert-message textarea:focus {
    border-color: #8dbcf7;
    box-shadow: 0 0 0 3px rgba(22, 115, 234, .08);
}

.wsone-easy-alerts-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e9edf3;
}

.wsone-easy-alerts-pending {
    color: #8a94a5;
    font-size: 13px;
}

.wsone-easy-alerts-pending.is-pending {
    color: #d98700;
    font-weight: 600;
}

.wsone-easy-alerts-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wsone-easy-alerts-cancel,
.wsone-easy-alerts-save {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: all .18s ease;
}

.wsone-easy-alerts-cancel {
    border: 1px solid #dce3ec;
    background: #fff;
    color: #596579;
}

.wsone-easy-alerts-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #1673ea;
    background: #1673ea;
    color: #fff;
}

.wsone-easy-alerts-cancel:not(:disabled),
.wsone-easy-alerts-save:not(:disabled) {
    cursor: pointer;
}

.wsone-easy-alerts-cancel:disabled,
.wsone-easy-alerts-save:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.wsone-easy-alerts-save:not(:disabled):hover {
    background: #0e65d5;
    border-color: #0e65d5;
}

.wsone-easy-alerts-cancel:not(:disabled):hover {
    background: #f7f9fc;
}

@media (max-width: 991.98px) {
    .wsone-easy-alerts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .wsone-easy-alerts-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .wsone-easy-alerts-actions {
        width: 100%;
    }

    .wsone-easy-alerts-cancel,
    .wsone-easy-alerts-save {
        flex: 1;
    }
}


/* ==========================================================
   WSO EASY — ALERTAS DO DEPARTAMENTO
========================================================== */

.wsone-easy-alerts {
    width: 100%;
}

.wsone-easy-alerts-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.wsone-easy-alerts-intro-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef5ff;
    color: #1673ea;
    font-size: 18px;
}

.wsone-easy-alerts-intro h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

.wsone-easy-alerts-intro p {
    margin: 0;
    color: #6f7b8e;
    font-size: 14px;
    line-height: 1.55;
}

.wsone-easy-alerts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wsone-easy-alert-card {
    padding: 18px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.wsone-easy-alert-card.is-enabled {
    border-color: #bcd7fb;
    background: #fbfdff;
    box-shadow: 0 6px 18px rgba(22, 115, 234, .06);
}

.wsone-easy-alert-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wsone-easy-alert-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5fa;
    color: #1673ea;
    font-size: 16px;
}

.wsone-easy-alert-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wsone-easy-alert-copy strong {
    color: #1d2738;
    font-size: 14px;
    font-weight: 700;
}

.wsone-easy-alert-copy small {
    color: #7a8698;
    font-size: 12px;
    line-height: 1.45;
}

.wsone-easy-alert-message {
    margin-top: 15px;
}

.wsone-easy-alert-message label {
    display: block;
    margin-bottom: 6px;
    color: #596579;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.wsone-easy-alert-message textarea {
    width: 100%;
    min-height: 68px;
    resize: vertical;
    padding: 10px 12px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #263247;
    font: inherit;
    font-size: 13px;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.wsone-easy-alert-message textarea:focus {
    border-color: #8dbcf7;
    box-shadow: 0 0 0 3px rgba(22, 115, 234, .08);
}

.wsone-easy-alerts-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e9edf3;
}

.wsone-easy-alerts-pending {
    color: #8a94a5;
    font-size: 13px;
}

.wsone-easy-alerts-pending.is-pending {
    color: #d98700;
    font-weight: 600;
}

.wsone-easy-alerts-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wsone-easy-alerts-cancel,
.wsone-easy-alerts-save {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: all .18s ease;
}

.wsone-easy-alerts-cancel {
    border: 1px solid #dce3ec;
    background: #fff;
    color: #596579;
}

.wsone-easy-alerts-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #1673ea;
    background: #1673ea;
    color: #fff;
}

.wsone-easy-alerts-cancel:not(:disabled),
.wsone-easy-alerts-save:not(:disabled) {
    cursor: pointer;
}

.wsone-easy-alerts-cancel:disabled,
.wsone-easy-alerts-save:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.wsone-easy-alerts-save:not(:disabled):hover {
    background: #0e65d5;
    border-color: #0e65d5;
}

.wsone-easy-alerts-cancel:not(:disabled):hover {
    background: #f7f9fc;
}

@media (max-width: 991.98px) {
    .wsone-easy-alerts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .wsone-easy-alerts-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .wsone-easy-alerts-actions {
        width: 100%;
    }

    .wsone-easy-alerts-cancel,
    .wsone-easy-alerts-save {
        flex: 1;
    }
}


/* ==========================================================
   WSO EASY — EMPLOYEE PRODUCTIVITY INHERITED
========================================================== */

.wsone-employee-productivity-inherited {
    position: relative;
    opacity: .62;
    pointer-events: none;
}

.wsone-employee-productivity-inherited input,
.wsone-employee-productivity-inherited select,
.wsone-employee-productivity-inherited button {
    cursor: not-allowed !important;
}







/* ==========================================================
   WSO EASY — EMPLOYEE EFFECTIVE RULES
========================================================== */

.wsone-employee-effective-list {
    margin-top: 18px;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.wsone-employee-effective-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e6ebf2;
}

.wsone-employee-effective-head strong {
    display: block;
    font-size: 14px;
    color: #25354a;
}

.wsone-employee-effective-head small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #7a8797;
}

.wsone-employee-effective-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f5;
}

.wsone-employee-effective-row:last-child {
    border-bottom: 0;
}

.wsone-employee-effective-target {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wsone-employee-effective-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: #f2f6fb;
    color: #47739f;
}

.wsone-employee-effective-target strong {
    display: block;
    font-size: 14px;
    color: #25354a;
    overflow-wrap: anywhere;
}

.wsone-employee-effective-target small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #8a96a5;
}

.wsone-employee-effective-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.wsone-employee-effective-badge.is-blocked {
    background: #fff0f0;
    color: #c74646;
}

.wsone-employee-effective-badge.is-allowed {
    background: #eefaf3;
    color: #25865a;
}

.wsone-employee-effective-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 18px;
    color: #7a8797;
}

.wsone-employee-effective-empty > i {
    font-size: 20px;
    color: #36a269;
}

.wsone-employee-effective-empty strong {
    display: block;
    color: #45566a;
    font-size: 14px;
}

.wsone-employee-effective-empty span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.wsone-employee-usb-effective {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    background: #fff;
}

.wsone-employee-usb-effective-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 13px;
    background: #f2f6fb;
    color: #47739f;
    font-size: 18px;
}

.wsone-employee-usb-effective-copy {
    flex: 1;
    min-width: 0;
}

.wsone-employee-usb-effective-copy strong {
    display: block;
    font-size: 15px;
    color: #25354a;
}

.wsone-employee-usb-effective-copy span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #7a8797;
}

@media (max-width: 767px) {
    .wsone-employee-effective-row,
    .wsone-employee-usb-effective {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}



/* ==========================================================
   WSO EASY — EMPLOYEE PRODUCTIVITY FORM
   Isolado do layout utilizado pelo Departamento
========================================================== */

.wsone-employee-productivity-new-row {
    display: grid !important;
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(150px, 190px)
        auto !important;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
}

.wsone-employee-productivity-new-row .wsone-productivity-new-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 7px 11px;
    border: 1px solid #dce5ef;
    border-radius: 7px;
    background: #fff;
    color: #0a2953;
    font-size: 12px;
    font-weight: 500;
}

.wsone-employee-productivity-new-row .wsone-productivity-new-input:focus {
    border-color: #2187ed;
    box-shadow: 0 0 0 3px rgba(33, 135, 237, .08);
}

.wsone-employee-productivity-new-row .form-select {
    width: 100%;
    min-width: 0;
    height: 38px;
    border-color: #dce5ef;
    border-radius: 7px;
    font-size: 12px;
}

.wsone-employee-productivity-new-row .wsone-productivity-add {
    height: 38px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .wsone-employee-productivity-new-row {
        grid-template-columns: 1fr !important;
    }

    .wsone-employee-productivity-new-row .wsone-productivity-add {
        width: 100%;
        justify-content: center;
    }
}



/* ==========================================================
   WSO EASY — EMPLOYEE PRODUCTIVITY SAVE
========================================================== */

[data-employee-productivity-save]:not(:disabled) {
    opacity: 1 !important;
    background: #2187ed !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: 0 5px 14px rgba(33, 135, 237, .16) !important;
}

