/* ============================================================
   NO‑TRUST SUITE — NEON UI (Stable, Layout‑Safe Build)
   Author: NoTrust
   ============================================================ */

/* ------------------------------------------------------------
   Base Wrapper
------------------------------------------------------------ */

.no-trust-suite.nts-wrap {
    max-width: 1200px;
    margin-top: 20px;
    color: #e5e5e5;
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */

.nts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.nts-title {
    margin: 0;
    font-size: 26px;
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57,255,20,0.7);
    mix-blend-mode: difference;
}

.nts-subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #c7d0d5;
}

.nts-header-meta {
    display: flex;
    gap: 8px;
}

.nts-badge {
    background: rgba(57,255,20,0.12);
    color: #39ff14;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid rgba(57,255,20,0.4);
    mix-blend-mode: difference;
}

/* ------------------------------------------------------------
   Layout (SAFE — does NOT override module grids)
------------------------------------------------------------ */

.nts-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
}

@media (max-width: 960px) {
    .nts-layout {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   Panels
------------------------------------------------------------ */

.nts-panel {
    background: #0b0b0f;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 20px;
}

.nts-panel-title {
    margin: 0 0 6px;
    font-size: 18px;
    color: #39ff14;
    mix-blend-mode: difference;
}

.nts-panel-desc {
    margin: 0 0 14px;
    color: #c7d0d5;
    font-size: 13px;
}

/* ------------------------------------------------------------
   Module Toggles
------------------------------------------------------------ */

.nts-group-title {
    margin: 0 0 10px;
    font-size: 15px;
    color: #e5e5e5;
}

.nts-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.nts-toggle-card {
    background: #11131a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.nts-toggle-card:hover {
    border-color: rgba(57,255,20,0.4);
    box-shadow: 0 0 12px rgba(57,255,20,0.2);
}

.nts-toggle-card-premium {
    border-color: rgba(57,255,20,0.25);
}

.nts-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nts-toggle-label {
    font-size: 14px;
    color: #e5e5e5;
}

.nts-premium-pill {
    background: rgba(57,255,20,0.12);
    color: #39ff14;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    border: 1px solid rgba(57,255,20,0.4);
}

/* Toggle Switch */

.nts-toggle-switch {
    position: relative;
    width: 38px;
    height: 20px;
}

.nts-toggle-switch input {
    display: none;
}

.nts-toggle-slider {
    position: absolute;
    inset: 0;
    background: #333;
    border-radius: 999px;
    transition: .2s;
}

.nts-toggle-switch input:checked + .nts-toggle-slider {
    background: #39ff14;
    box-shadow: 0 0 8px rgba(57,255,20,0.7);
}

.nts-toggle-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.nts-toggle-switch input:checked + .nts-toggle-slider::before {
    transform: translateX(18px);
}

/* ------------------------------------------------------------
   Active Tools Cards
------------------------------------------------------------ */

.nts-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 14px;
}

.nts-card {
    background: #11131a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 14px;
}

.nts-card-premium {
    border-color: rgba(57,255,20,0.3);
}

.nts-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nts-card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #e5e5e5;
}

.nts-card-pill {
    font-size: 11px;
    color: #9aa4ad;
}

.nts-card-desc {
    margin: 8px 0;
    font-size: 12px;
    color: #c7d0d5;
}

.nts-card-btn {
    margin-top: 10px;
}

/* ============================================================
   NO-TRUST SUITE — Scoped Module Reset (CLEAN + LAYOUT SAFE)
   ============================================================ */

/* Form controls only — no layout resets */
.nt-premium-module input[type="text"],
.nt-premium-module input[type="number"],
.nt-premium-module input[type="password"],
.nt-premium-module textarea,
.nt-premium-module select {
    all: unset;
    display: block;
    width: 100%;
    padding: 8px 10px;
    background: #0f0f14;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: #e5e5e5;
    font-size: 14px;
    line-height: 1.4;
}

/* Checkboxes */
.nt-premium-module input[type="checkbox"] {
    all: revert;
    width: 16px;
    height: 16px;
    accent-color: #39ff14;
    cursor: pointer;
}

/* Buttons */
.nt-premium-module button,
.nt-premium-module .button {
    all: unset;
    display: inline-block;
    background: #39ff14;
    color: #000;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background .2s, box-shadow .2s;
}

.nt-premium-module button:hover,
.nt-premium-module .button:hover {
    background: #2be010;
    box-shadow: 0 0 10px rgba(57,255,20,0.6);
}

/* Code fields */
.nt-premium-module .code,
.nt-premium-module code {
    font-family: Menlo, Consolas, monospace;
    background: #0f0f14;
    padding: 4px 6px;
    border-radius: 4px;
    color: #39ff14;
}

/* Fix WP admin forcing max-width on images */
.nt-premium-module img {
    max-width: none !important;
    height: auto;
}

/* Logo sizing */
.nt-premium-logo {
    width: 28px;
    height: 28px;
}

/* CLEAN — NO padding, NO shadow, NO !important */
.nt-premium-module {
    background: #0b0b0f;
    border-radius: 10px;
    border: 1px solid rgba(57,255,20,0.18);
}
