/* FORCE 2-COLUMN LAYOUT FOR PASSPHRASE MODULE */
body.no-trust-suite_page_no-trust-passphrase .nt-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    align-items: start !important;
}
body.no-trust-suite_page_no-trust-passphrase .nt-grid > * {
    display: block !important;
    width: 100% !important;
}


/* -----------------------------------------------------------
   PASSphrase Generator — Premium Blue Theme (Scoped + Final)
   ----------------------------------------------------------- */

/* Entire plugin background */
body.no-trust-suite_page_no-trust-passphrase {
    background: #000 !important;
}

/* Remove logo completely */
body.no-trust-suite_page_no-trust-passphrase .nt-logo,
body.no-trust-suite_page_no-trust-passphrase .nt-header-logo {
    display: none !important;
}

/* Main module wrapper */
body.no-trust-suite_page_no-trust-passphrase .nt-module {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Title */
body.no-trust-suite_page_no-trust-passphrase .nt-module h1 {
    font-size: 46px !important;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 10px;
    text-align: left;
}

/* Subtitle */
body.no-trust-suite_page_no-trust-passphrase .nt-subtitle {
    font-size: 17px;
    color: #9bb0c9;
    margin-bottom: 25px;
}

/* --- LAYOUT FIX (restores 2-column layout like other tools) --- */
body.no-trust-suite_page_no-trust-passphrase .nt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 900px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-grid {
        grid-template-columns: 1fr;
    }
}

/* Card container */
body.no-trust-suite_page_no-trust-passphrase .nt-card {
    background: #0b0f1a; /* dark navy blue */
    border: 1px solid #39ff14; /* thin neon green outline */
    border-radius: 12px;
    padding: 25px;
    box-shadow: none !important; /* remove green glow */
}

/* Section titles inside cards */
body.no-trust-suite_page_no-trust-passphrase .nt-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Labels */
body.no-trust-suite_page_no-trust-passphrase .nt-card label {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

/* Inputs */
body.no-trust-suite_page_no-trust-passphrase .nt-card input[type="text"],
body.no-trust-suite_page_no-trust-passphrase .nt-card input[type="number"],
body.no-trust-suite_page_no-trust-passphrase .nt-card select {
    width: 100%;
    padding: 10px 12px;
    background: #0f1524;
    border: 1px solid #1e2a40;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-card input:focus,
body.no-trust-suite_page_no-trust-passphrase .nt-card select:focus {
    border-color: #3aa0ff;
    box-shadow: 0 0 6px #3aa0ff55;
}

/* Buttons */
body.no-trust-suite_page_no-trust-passphrase .nt-btn,
body.no-trust-suite_page_no-trust-passphrase button.nt-btn,
body.no-trust-suite_page_no-trust-passphrase .nt-card button {
    background: #007bff !important; /* bright blue */
    color: #ffffff !important;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    display: inline-block;
    margin-right: 10px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-btn:hover,
body.no-trust-suite_page_no-trust-passphrase .nt-card button:hover {
    background: #0a8dff !important;
}

/* Output box */
body.no-trust-suite_page_no-trust-passphrase #passphrase-output {
    background: #0f1524;
    border: 1px solid #1e2a40;
    border-radius: 8px;
    padding: 14px;
    font-size: 18px;
    color: #ffffff;
    word-break: break-word;
    margin-top: 10px;
}

/* History section */
body.no-trust-suite_page_no-trust-passphrase #passphrase-history {
    max-height: 200px;
    overflow-y: auto;
    background: #0f1524;
    border: 1px solid #1e2a40;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

body.no-trust-suite_page_no-trust-passphrase #passphrase-history div {
    padding: 6px 0;
    border-bottom: 1px solid #1e2a40;
    color: #c7d4e8;
}

body.no-trust-suite_page_no-trust-passphrase #passphrase-history div:last-child {
    border-bottom: none;
}

/* Checkbox styling — FIXED to blue/white */
body.no-trust-suite_page_no-trust-passphrase .nt-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff !important; /* bright blue */
}

body.no-trust-suite_page_no-trust-passphrase .nt-checkbox label {
    color: #ffffff !important;
}

/* Remove WP admin theme interference */
body.no-trust-suite_page_no-trust-passphrase .wrap h1,
body.no-trust-suite_page_no-trust-passphrase .wrap h2,
body.no-trust-suite_page_no-trust-passphrase .wrap h3 {
    color: #ffffff !important;
}

/* Passphrase operating policy */

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principles {
    margin: 18px 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-section-head h2 {
    margin: 0 0 6px;
    color: #d9f2ff !important;
    font-size: 20px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-section-head p {
    margin: 0;
    color: #9bb0c9;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle,
body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-stat {
    border: 1px solid rgba(57,255,20,.18);
    border-radius: 8px;
    background: rgba(3, 15, 9, .72);
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    padding: 9px 11px;
    color: #dfffd8;
    font-weight: 700;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle::before {
    color: #39ff14;
    line-height: 1;
    text-shadow: 0 0 6px rgba(57,255,20,.35);
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle.is-local::before {
    content: "\25CF";
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle.is-crypto::before {
    content: "\25C6";
    color: #87bceb;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle.is-storage::before {
    content: "\25CE";
    color: #63d7ff;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle.is-policy::before {
    content: "\2605";
    color: #ffcf4a;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-stat {
    padding: 10px 12px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-stat span {
    display: block;
    color: #9bb0c9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-stat strong {
    display: block;
    margin-top: 4px;
    color: #d9f2ff;
    font-size: 17px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card {
    margin: 18px 0;
    padding: 0;
    overflow: hidden;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary::-webkit-details-marker {
    display: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary strong {
    display: block;
    color: #d9f2ff;
    font-size: 18px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary small {
    display: block;
    margin-top: 4px;
    color: #9bb0c9;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    color: #dfffd8;
    background: rgba(57,255,20,.1);
    border: 1px solid rgba(57,255,20,.35);
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(57,255,20,.06);
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card summary em::after {
    content: "\25BE";
    margin-left: 8px;
    color: #87bceb;
    font-size: 11px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card[open] summary em::after {
    content: "\25B4";
}



/* Public passphrase result layout */

body.no-trust-suite_page_no-trust-passphrase .nt-card-output {
    display: grid;
    gap: 14px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-card-output .nt-card-title,
body.no-trust-suite_page_no-trust-passphrase .nt-card-notes .nt-card-title {
    margin-bottom: 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-output-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

body.no-trust-suite_page_no-trust-passphrase .nt-output-field {
    min-height: 44px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-meter {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(2, 8, 14, .72);
    border: 1px solid rgba(135,188,235,.18);
    border-radius: 8px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-meter-bar {
    height: 8px;
    overflow: hidden;
    background: #050910;
    border: 1px solid rgba(135,188,235,.2);
    border-radius: 999px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-meter-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d40000, #d8ba00, #39ff14);
    border-radius: inherit;
    transition: width .18s ease;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-meter-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    color: #d9f2ff;
    font-weight: 800;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-label {
    color: #9bb0c9;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-rating {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(135,188,235,.1);
    color: #d9f2ff;
    font-size: 12px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-entropy-help {
    margin: -2px 0 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-card-notes .nt-list {
    margin-bottom: 0;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details {
    padding: 0;
    overflow: hidden;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary::-webkit-details-marker {
    display: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary strong {
    display: block;
    color: #d9f2ff;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary small {
    display: block;
    margin-top: 3px;
    color: #9bb0c9;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    color: #dfffd8;
    background: rgba(57,255,20,.1);
    border: 1px solid rgba(57,255,20,.28);
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details summary em::after {
    content: "\25BE";
    margin-left: 8px;
    color: #87bceb;
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details[open] summary {
    border-bottom: 1px solid rgba(135,188,235,.18);
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details[open] summary em::after {
    content: "\25B4";
}

body.no-trust-suite_page_no-trust-passphrase .nt-history-details-body {
    padding: 16px 18px 18px;
}

@media (max-width: 700px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-output-row {
        grid-template-columns: 1fr;
    }
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-card[open] summary {
    border-bottom: 1px solid rgba(135,188,235,.18);
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-form {
    padding: 18px 20px 4px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 16px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-warning {
    margin-top: 14px;
    padding: 11px 12px;
    color: #ffe7a3;
    background: rgba(255, 207, 74, .08);
    border: 1px solid rgba(255, 207, 74, .28);
    border-radius: 8px;
    font-weight: 700;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item {
    padding: 12px;
    background: rgba(2, 8, 14, .72);
    border: 1px solid rgba(135,188,235,.16);
    border-radius: 8px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item strong,
body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item span {
    display: block;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item strong {
    color: #d9f2ff;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item span {
    margin-top: 4px;
    color: #39ff14;
    font-size: 12px;
    font-weight: 800;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item .nt-wordlist-minimum {
    color: #87bceb;
}

body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide-item p {
    margin: 8px 0 0;
    color: #9bb0c9;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-checks label,
body.no-trust-suite_page_no-trust-passphrase .nt-policy-history-limit {
    padding: 12px;
    background: rgba(2, 8, 14, .72);
    border: 1px solid rgba(57,255,20,.16);
    border-radius: 8px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-policy-history-limit {
    display: block;
    max-width: 260px;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle-grid,
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-summary,
    body.no-trust-suite_page_no-trust-passphrase .nt-policy-grid,
    body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide,
    body.no-trust-suite_page_no-trust-passphrase .nt-policy-checks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-principle-grid,
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-policy-summary,
    body.no-trust-suite_page_no-trust-passphrase .nt-policy-grid,
    body.no-trust-suite_page_no-trust-passphrase .nt-wordlist-guide,
    body.no-trust-suite_page_no-trust-passphrase .nt-policy-checks {
        grid-template-columns: 1fr;
    }
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education {
    margin-top: 14px;
    border: 1px solid #008f12;
    box-shadow: 0 0 18px rgba(0, 143, 18, .18);
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education .nt-policy-section-head h2 {
    color: #d8c36a !important;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid details {
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, .18);
    border-radius: 8px;
    background: rgba(2, 8, 14, .72);
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #d8c36a;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0;
    list-style: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid summary::-webkit-details-marker {
    display: none;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid summary::after {
    content: "\25BE";
    color: #87bceb;
    flex: 0 0 auto;
    font-size: 10px;
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid details[open] summary::after {
    content: "\25B4";
}

body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid p {
    margin: 0;
    padding: 0 12px 12px;
    color: #9bb0c9;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.no-trust-suite_page_no-trust-passphrase .nt-passphrase-education-grid {
        grid-template-columns: 1fr;
    }
}
