/* "More stuff" section: cards, breadcrumb and the tools (loaded on more-* pages only) */
.more-page {
    --more-accent: #fa5b0f; /* the orange skin's accent (themes/CP2024/assets/css/skins/orange.css) */
}
.more-page [hidden] {
    display: none !important;
}

/* Breadcrumb */
.more-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: #999;
}
.more-breadcrumb li + li:before {
    content: "/";
    padding: 0 10px;
    color: #555;
}
.more-breadcrumb a {
    color: #ddd;
}
.more-breadcrumb a:hover,
.more-breadcrumb a:focus {
    color: var(--more-accent);
    text-decoration: none;
}
.more-breadcrumb [aria-current] {
    color: var(--more-accent);
}

.more-intro {
    max-width: 760px;
    margin-bottom: 34px;
    color: #ccc;
}

/* Cards (More stuff + a category) */
.more-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    border: 1px solid #252525;
    border-radius: 5px;
    background: #1a1a1a;
    color: #ddd;
    text-decoration: none; /* the whole card is a link - no underlined text inside it */
    transition: border-color 0.3s, transform 0.3s;
}
.more-card * {
    text-decoration: none;
}
.more-card:hover,
.more-card:focus {
    border-color: var(--more-accent);
    color: #ddd;
    text-decoration: none;
    transform: translateY(-3px);
}
.more-card-icon {
    margin-bottom: 16px;
    font-size: 30px;
    color: var(--more-accent);
}
.more-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}
.more-card p {
    margin-bottom: 14px;
    color: #aaa;
}
.more-card ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.more-card ul li:before {
    content: "\f105";
    margin-right: 10px;
    font-family: FontAwesome;
    color: var(--more-accent);
}
.more-card-cta {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--more-accent);
}

/* "More tools in this category" */
.more-related {
    margin-top: 10px;
}
.more-related h3 {
    margin-bottom: 14px;
    font-size: 20px;
}
.more-related ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.more-related a {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid #252525;
    border-radius: 30px;
    color: #ddd;
    text-decoration: none;
}
.more-related a:hover,
.more-related a:focus {
    border-color: var(--more-accent);
    color: #fff;
    text-decoration: none;
}
.more-related .fa {
    margin-right: 6px;
    color: var(--more-accent);
}

/* Tool panels */
.tool-panel {
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid #252525;
    border-radius: 5px;
    background: #1a1a1a;
}
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
}
.tool-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.tool-grid + .tool-grid,
.tool-panel .tool-field + .tool-field {
    margin-top: 20px;
}
.tool-grid .tool-field + .tool-field {
    margin-top: 0;
}
.tool-field label,
.tool-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ddd;
}
.tool-field label small,
.tool-section-title small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #999;
}
.tool-field-root {
    max-width: 260px;
    margin-bottom: 24px;
}
.tool-section-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}
* + .tool-section-title {
    margin-top: 28px;
}

/* Inputs */
.tool-input {
    position: relative;
}
.tool-input input,
.tool-select,
.tool-textarea {
    width: 100%;
    padding: 11px 26px;
    border: 1px solid #111;
    border-radius: 30px;
    background: #252525;
    color: #fff;
    font-size: 18px;
    outline: none;
    transition: border-color 0.3s;
}
.tool-input input[type=number] {
    -moz-appearance: textfield;
}
.tool-input input::-webkit-outer-spin-button,
.tool-input input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.tool-select {
    padding: 11px 20px;
    font-size: 16px;
}
.tool-textarea {
    display: block;
    min-height: 140px;
    padding: 14px 20px;
    border-radius: 15px;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
}
.tool-input input:focus,
.tool-select:focus,
.tool-textarea:focus {
    border-color: var(--more-accent);
}
.tool-input input[readonly],
.tool-textarea[readonly] {
    background: #111;
    border-color: #252525;
}
.tool-mono,
.tool-input input.tool-mono,
.tool-textarea.tool-mono {
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
}
.tool-input-below {
    margin-top: 10px;
}
.tool-input[data-prefix] input {
    padding-left: 42px;
}
.tool-input[data-suffix] input {
    padding-right: 56px;
}
.tool-input[data-prefix]:before,
.tool-input[data-suffix]:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-weight: 600;
    pointer-events: none;
}
.tool-input[data-prefix]:before {
    content: attr(data-prefix);
    left: 24px;
}
.tool-input[data-suffix]:after {
    content: attr(data-suffix);
    right: 24px;
}
.tool-small-input {
    width: 80px;
    margin-left: 8px;
    padding: 6px 12px;
    border: 1px solid #111;
    border-radius: 30px;
    background: #252525;
    color: #fff;
}
.tool-color {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tool-color .tool-input {
    flex: 1;
}
.tool-color input[type=color] {
    flex: 0 0 52px;
    width: 52px;
    height: 48px;
    padding: 0;
    border: 1px solid #333;
    border-radius: 10px;
    background: none;
    cursor: pointer;
}
.tool-range {
    width: 100%;
    accent-color: var(--more-accent);
}

/* Options, toggles, checkboxes, buttons */
.tool-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin: 20px 0;
}
.tool-options .tool-label {
    margin: 0;
}
.tool-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    overflow: hidden;
}
.tool-options .tool-toggle {
    margin-top: 0;
}
.tool-toggle button {
    padding: 6px 14px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}
.tool-toggle button[aria-checked="true"] {
    background: var(--more-accent);
    color: #fff;
}
.tool-toggle button:focus-visible,
.tool-examples button:focus-visible,
.tool-link-button:focus-visible,
.tool-copy-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.tool-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #ddd;
    cursor: pointer;
}
.tool-check input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--more-accent);
}
.tool-link-button {
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--more-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.tool-section-title .tool-link-button {
    margin: 0 0 0 10px;
    font-size: 12px;
}
.tool-copy-button {
    padding: 3px 12px;
    border: 1px solid #333;
    border-radius: 30px;
    background: none;
    color: #ddd;
    font-size: 12px;
    cursor: pointer;
}
.tool-copy-button:hover {
    border-color: var(--more-accent);
    color: #fff;
}
.tool-examples {
    margin-top: 14px;
}
.tool-examples button {
    margin: 0 6px 8px 0;
    padding: 5px 13px;
    border: 1px solid #333;
    border-radius: 30px;
    background: #252525;
    color: #ddd;
    font-size: 13px;
    cursor: pointer;
}
.tool-examples button:hover {
    border-color: var(--more-accent);
    color: #fff;
}
.tool-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

/* Results */
.tool-summary {
    margin: 26px 0 6px;
    font-size: 18px;
    color: #fff;
}
.tool-note {
    min-height: 1.5em;
    margin: 0 0 16px;
    color: #f5a623;
}
.tool-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #999;
}
.tool-copied {
    color: #28a745;
}
.tool-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}
.tool-copy code {
    padding: 11px 20px;
    border-radius: 30px;
    background: #111;
    color: var(--more-accent);
    font-size: 15px;
    word-break: break-all;
}
.tool-code-block {
    margin: 0;
    padding: 16px 20px;
    border: 1px solid #252525;
    border-radius: 15px;
    background: #111;
    white-space: pre-wrap;
    word-break: break-all;
}
.tool-code-block code {
    color: #eee;
    font-size: 14px;
}
.tool-result-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-top: 24px;
}
.tool-result-row .tool-hint {
    margin: 0;
}
.tool-big {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}
.tool-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin: 24px 0 0;
}
.tool-stats dt {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
}
.tool-stats dd {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}
.tool-verdict {
    margin: 22px 0 8px;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 17px;
}
.tool-verdict.is-pass {
    background: rgba(40, 167, 69, 0.15);
    color: #7ee29a;
}
.tool-verdict.is-fail {
    background: rgba(245, 166, 35, 0.12);
    color: #f5c46b;
}
.tool-verdict:empty {
    display: none;
}
.tool-checklist {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    color: #ddd;
}
.tool-checklist li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #252525;
}
.tool-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 30px;
    background: var(--more-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.tool-checklist .is-pass .tool-badge {
    background: #1f7a3a;
}
.tool-checklist .is-fail .tool-badge {
    background: #8b1e24;
}
.tool-warnings {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #f5a623;
}
.tool-found {
    margin: 0;
    padding-left: 20px;
    color: #bbb;
}
.tool-list {
    padding-left: 22px;
    color: #ddd;
}
.tool-list li {
    padding: 3px 0;
}
.tool-preview {
    margin: 22px 0 0;
    padding: 20px 24px;
    border: 1px solid #333;
    border-radius: 8px;
}
.tool-preview-normal {
    margin: 0 0 8px;
    font-size: 16px;
    color: inherit;
}
.tool-preview-large {
    margin: 0;
    font-size: 24px;
    color: inherit;
}
.tool-preview-block {
    margin-top: 26px;
}
.tool-sample {
    margin: 12px 0 0;
    line-height: 1.3;
    color: #fff;
    word-break: break-word;
}
.tool-meter {
    height: 8px;
    margin: 10px 0 4px;
    border-radius: 8px;
    background: #252525;
    overflow: hidden;
}
.tool-meter span {
    display: block;
    width: 0;
    height: 100%;
    background: #28a745;
    transition: width 0.2s;
}
.tool-meter.is-over span {
    background: #dc3545;
}
.tool-meter.is-short span {
    background: #f5a623;
}
.tool-history ul {
    padding-left: 18px;
    color: #ddd;
}
.tool-history li {
    margin-bottom: 8px;
    word-break: break-all;
}
.tool-history code {
    color: #ccc;
    font-size: 13px;
}

/* Deal comparer */
.deal-row {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #252525;
}
.tool-table tr.is-best td,
.tool-table tr.is-best th {
    background: rgba(250, 91, 15, 0.12);
}

/* A/B test */
.ab-version .tool-field + .tool-field {
    margin-top: 16px;
}
.ab-bars {
    margin-top: 10px;
}
.ab-bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    color: #ddd;
}
.ab-bar-label {
    width: 16px;
    font-weight: 700;
}
.ab-bar {
    flex: 1;
    height: 14px;
    border-radius: 7px;
    background: #252525;
    overflow: hidden;
}
.ab-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--more-accent);
    transition: width 0.3s;
}
.ab-bar-row strong {
    min-width: 64px;
    color: #fff;
    text-align: right;
}

/* Search result preview (light, like a results page) */
.serp-card {
    max-width: 660px;
    margin-bottom: 14px;
    padding: 18px 22px;
    border-radius: 8px;
    background: #fff;
    color: #202124;
    font-family: Arial, sans-serif;
}
.serp-site-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.serp-favicon {
    width: 28px;
    height: 28px;
    border: 1px solid #dadce0;
    border-radius: 50%;
    background: #f1f3f4;
}
.serp-site {
    font-size: 14px;
    color: #202124;
}
.serp-crumbs {
    font-size: 12px;
    color: #4d5156;
}
.serp-title {
    margin: 4px 0 3px;
    font-size: 20px;
    line-height: 1.3;
    color: #1a0dab;
}
.serp-desc {
    font-size: 14px;
    line-height: 1.58;
    color: #4d5156;
}

/* Help + reference tables */
.tool-help {
    margin-bottom: 40px;
    color: #bbb;
}
.tool-help h3 {
    margin-bottom: 14px;
    font-size: 20px;
}
.tool-help ul {
    padding-left: 18px;
}
.tool-help strong {
    color: #fff;
}
.tool-help code {
    color: var(--more-accent);
}
.tool-table {
    width: 100%;
    max-width: 560px;
    border-collapse: collapse;
    color: #ddd;
}
.tool-table-wide {
    max-width: none;
    margin-top: 16px;
}
.tool-table th,
.tool-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #252525;
    text-align: left;
    vertical-align: middle;
}
.tool-table thead th {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
}
.tool-table tbody th {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.tool-table td code {
    color: var(--more-accent);
    word-break: break-all;
}
.tool-table td button[data-px] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--more-accent);
    font-weight: 600;
    cursor: pointer;
}
.tool-table tr.is-current td {
    background: #222;
}

@media (max-width: 576px) {
    .tool-panel,
    .more-card {
        padding: 20px;
    }
    .tool-big {
        font-size: 32px;
    }
}

/* Notes & help under a tool (Admin > Pages > tool page) */
.more-notes {
    max-width: 860px;
    margin: 40px auto 10px;
    font-size: 15px;
    line-height: 1.8;
}
.more-notes h2,
.more-notes h3,
.more-notes h4 {
    font-family: "Poppins", sans-serif;
    text-transform: none;
    font-weight: 600;
    margin: 1.5em 0 0.5em;
}
.more-notes h2 { font-size: 22px; }
.more-notes h3 { font-size: 19px; }
.more-notes img { max-width: 100%; height: auto; border-radius: 6px; }
.more-notes ul,
.more-notes ol { padding-left: 1.4em; }
.more-notes code {
    font-family: SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: rgba(127, 127, 127, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}
.more-notes pre {
    background: #1e1e1e;
    color: #e6e6e6;
    padding: 16px 18px;
    border-radius: 8px;
    overflow-x: auto;
}
.more-notes pre code { background: none; padding: 0; color: inherit; }
.more-notes table { display: block; overflow-x: auto; border-collapse: collapse; }
.more-notes th,
.more-notes td { border: 1px solid rgba(127, 127, 127, 0.3); padding: 6px 10px; }
