/* Estilos do modulo de pesquisa de links confiaveis */

.trusted-search-section {
    margin-top: 18px;
    padding: 0 0 10px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.trusted-search-section::before,
.trusted-search-section::after {
    display: none;
}

.trusted-search-section::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(125, 70, 223, .04) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 82%, rgba(36, 19, 56, .03) 0 2px, transparent 3px);
    opacity: .26;
}

.trusted-search-section::after {
    background:
        linear-gradient(180deg, rgba(125, 70, 223, .015), transparent 28%),
        linear-gradient(0deg, rgba(36, 19, 56, .015), transparent 22%);
}

.trusted-search-section h3,
.trusted-search-section h4,
.trusted-search-section h5,
.trusted-search-section strong,
.trusted-search-section label,
.trusted-search-section button,
.trusted-search-section input,
.trusted-search-section p,
.trusted-search-section span,
.trusted-search-section li,
.trusted-search-section a,
.trusted-search-section div {
    font-family: inherit;
}

.trusted-search-head {
    display: none;
}

.trusted-search-head h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
}

.trusted-search-head p {
    margin: 10px 0 0;
    max-width: 860px;
    color: #5e5273;
    line-height: 1.55;
    font-size: 14px;
}

.trusted-title-icon,
.trusted-chip-icon,
.trusted-inline-icon {
    margin-right: 6px;
}

.trusted-search-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(280px, 1fr);
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 14px 22px;
    background: #24364a;
    border-radius: 0;
    box-shadow: 0 14px 32px rgba(25, 35, 48, .18);
}

.trusted-search-form input {
    width: 100%;
    min-height: 38px;
    border-radius: 0;
    border: 1px solid rgba(229, 219, 196, .6);
    padding: 0 14px;
    font-size: 13px;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
}

.trusted-search-form input::placeholder {
    color: #8c82a2;
}

.trusted-search-form button {
    min-height: 38px;
    border: none;
    border-radius: 0;
    padding: 0 14px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.trusted-search-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    font-size: 18px;
}

.trusted-input-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 14px 0 6px;
    text-align: center;
}

.trusted-input-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #1f1f1f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.trusted-input-help {
    color: #4e4e4e;
    font-size: 13px;
    line-height: 1.5;
    flex: 0 1 auto;
}

.trusted-chip-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 4px;
}

.trusted-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: auto;
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    color: #1f1f1f;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

.trusted-chip::after {
    content: " - ";
    color: #1f1f1f;
}

.trusted-chip:last-child::after {
    content: "";
}

.trusted-chip-icon {
    display: none;
}

.trusted-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 24px;
}

.trusted-main-column,
.trusted-side-column {
    min-width: 0;
}

.trusted-side-column {
    padding-left: 26px;
    border-left: 1px solid rgba(36, 19, 56, .08);
}

.trusted-column-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(36, 19, 56, .08);
}

.trusted-column-head h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--ink);
}

.trusted-search-section.is-collapsed .trusted-layout {
    display: none;
}

.trusted-card {
    padding: 16px;
    border-radius: 0;
    border: 1px solid rgba(36, 19, 56, .08);
    background: rgba(255, 255, 255, .92);
    box-shadow: none;
    backdrop-filter: none;
}

.trusted-search-summary {
    margin: 0 0 16px;
    color: rgba(36, 19, 56, .68);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0;
}

.trusted-status {
    border-left: 1px solid rgba(125, 70, 223, .28);
    height: 100%;
}

.trusted-status.status-melhor_sinal {
    border-left-color: rgba(25, 135, 84, .42);
}

.trusted-status.status-cautela {
    border-left-color: rgba(194, 122, 0, .42);
}

.trusted-status.status-alto_risco,
.trusted-status.status-nao_avaliado {
    border-left-color: rgba(192, 57, 43, .42);
}

.trusted-score-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 16px;
}

.trusted-score-ring {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--score-color, #7d46df) calc(var(--score, 0) * 1%), rgba(36, 19, 56, .06) 0);
    position: relative;
}

.trusted-score-ring::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(36, 19, 56, .05);
}

.trusted-score-value {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.trusted-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 16px;
}

.trusted-metric {
    padding: 12px 14px;
    border-radius: 0;
    border: 1px solid rgba(36, 19, 56, .08);
    background: rgba(255, 255, 255, .94);
    box-shadow: none;
}

.trusted-metric-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.trusted-metric-value {
    display: block;
    margin-top: 6px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.trusted-metric small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.trusted-metric.is-positive {
    background: linear-gradient(180deg, rgba(232, 249, 238, .95), rgba(223, 245, 231, .88));
    color: #0d6832;
    border-color: rgba(42, 150, 84, .22);
}

.trusted-metric.is-alert {
    background: linear-gradient(180deg, rgba(255, 244, 226, .96), rgba(255, 237, 208, .92));
    color: #a12619;
    border-color: rgba(213, 132, 47, .22);
}

.trusted-metric.is-external {
    background: linear-gradient(180deg, rgba(247, 239, 255, .96), rgba(241, 231, 255, .92));
    color: #5d2daf;
    border-color: rgba(125, 70, 223, .18);
}

.trusted-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.trusted-list-block {
    padding: 14px;
    border-radius: 0;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(36, 19, 56, .07);
}

.trusted-list-block h5 {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--ink);
}

.trusted-list-block ul {
    margin: 0;
    padding-left: 18px;
}

.trusted-list-block li + li {
    margin-top: 8px;
}

.trusted-criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.trusted-criterion {
    padding: 12px 14px;
    border-radius: 0;
    border: 1px solid rgba(36, 19, 56, .07);
    background: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 700;
}

.trusted-criterion.positivo {
    color: #0d6832;
    background: rgba(232, 249, 238, .88);
}

.trusted-criterion.alerta {
    color: #9a3412;
    background: rgba(255, 244, 226, .92);
}

.trusted-criterion.neutro {
    color: rgba(36, 19, 56, .74);
    background: rgba(248, 247, 251, .96);
}

.trusted-side {
    display: grid;
    grid-template-rows: minmax(0, 1.12fr) minmax(0, .92fr) minmax(0, 1fr);
    gap: 14px;
    height: 100%;
}

.trusted-side-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.trusted-side-card h4 + p {
    margin-bottom: 12px;
}

.trusted-side-card ul {
    margin: 0;
    padding-left: 18px;
}

.trusted-side-card li + li {
    margin-top: 8px;
}

.trusted-side-divider {
    width: 100%;
    height: 1px;
    margin: 14px 0;
    background: rgba(188, 155, 108, .22);
}

.trusted-headline {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 12px;
}

.trusted-level-card {
    padding: 14px 16px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(251, 249, 255, .94));
    border: 1px solid rgba(36, 19, 56, .07);
    margin-bottom: 14px;
    box-shadow: none;
}

.trusted-level-card strong {
    display: block;
    font-size: 16px;
    color: var(--ink);
}

.trusted-level-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 13px;
}

.trusted-section-title {
    margin: 18px 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(36, 19, 56, .62);
}

.trusted-side h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.trusted-side p {
    margin: 0;
    font-size: 13px;
}

.trusted-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.trusted-badge,
.trusted-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.trusted-badge {
    background: rgba(125, 70, 223, .1);
    color: var(--purple-dark);
}

.trusted-type {
    background: rgba(36, 19, 56, .06);
    color: rgba(36, 19, 56, .72);
}

.trusted-card h4 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--ink);
}

.trusted-card p {
    margin: 0;
    color: var(--muted);
}

.trusted-query {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 0;
    background: rgba(36, 19, 56, .03);
    color: rgba(36, 19, 56, .84);
    font-size: 12px;
    word-break: break-word;
}

.trusted-card a {
    display: inline-flex;
    margin-top: 8px;
    text-decoration: none;
    color: var(--purple-dark);
    font-weight: 700;
}

@media (max-width: 860px) {
    .trusted-metrics,
    .trusted-criteria-grid,
    .trusted-headline,
    .trusted-layout,
    .trusted-columns {
        grid-template-columns: 1fr;
    }

    .trusted-side-column {
        padding-left: 0;
        border-left: 0;
    }

    .trusted-side {
        grid-template-rows: none;
        height: auto;
    }

    .trusted-search-form {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }

    .trusted-search-form button {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 760px) {
    .trusted-search-section {
        margin-top: 14px;
    }

    .trusted-input-help {
        font-size: 12px;
    }

    .trusted-chip-row {
        gap: 8px;
    }

    .trusted-chip {
        font-size: 11px;
        padding: 0;
    }
}
