/* Trust & Safety Check Page */

/* Hero */
.tc-hero {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.tc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
}

.tc-hero__badge i {
    font-size: 16px;
}

.tc-hero__title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.tc-hero__subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin: 0 0 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search */
.tc-search {
    max-width: 520px;
    margin: 0 auto;
}

.tc-search__wrapper {
    position: relative;
}

.tc-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
    z-index: 2;
}

.tc-search__input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: #fff;
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.tc-search__input::placeholder {
    color: #999;
}

.tc-search__input:focus {
    border-color: #6366f1;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.2);
}

.tc-search__results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
}

.tc-search__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #1a1a2e;
    transition: background 0.15s;
}

.tc-search__item:hover {
    background: #f3f4f6;
    color: #1a1a2e;
}

.tc-search__item-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    background: #f9fafb;
}

.tc-search__item-name {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.tc-search__empty {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Stats */
.tc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.tc-stats--show {
    margin-top: -8px;
}

.tc-stats__item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.tc-stats__item:hover {
    transform: translateY(-2px);
}

.tc-stats__item--alert {
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tc-stats__item--alert .tc-stats__number {
    color: #ef4444;
}

.tc-stats__number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.tc-stats__label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-top: 2px;
}

/* Alert Sections */
.tc-alert {
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.tc-alert--danger {
    background: #fff;
    border: 1px solid #fecaca;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.08);
}

.tc-alert--warning {
    background: #fff;
    border: 1px solid #fed7aa;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);
}

.tc-alert__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tc-alert--danger .tc-alert__header i {
    color: #ef4444;
    font-size: 22px;
}

.tc-alert--warning .tc-alert__header i {
    color: #f97316;
    font-size: 22px;
}

.tc-alert__header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.tc-alert__desc {
    color: #666;
    font-size: 13px;
    margin: 0 0 14px;
}

.tc-alert__firms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 4px;
}

.tc-alert__firm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f9fafb;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.tc-alert__firm:hover {
    background: #f3f4f6;
    color: #1a1a2e;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tc-alert__firm-logo {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: contain;
}

.tc-alert__firm-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tc-alert__firm-badge--suspended {
    background: #fef2f2;
    color: #dc2626;
}

.tc-alert__firm-badge--drop {
    background: #fff7ed;
    color: #ea580c;
}

/* Card */
.tc-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tc-card--cta {
    background: #eef2ff;
    border: 2px solid #c7d2fe;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.10);
}

.tc-card--actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-card__title i {
    font-size: 20px;
    color: #6366f1;
}

.tc-card__title--sm {
    font-size: 0.95rem;
}

.tc-card__badge {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-left: auto;
}

.tc-card__desc {
    color: #666;
    font-size: 13px;
    margin: 0 0 16px;
    line-height: 1.5;
}

.tc-card__desc--center {
    text-align: center;
    margin-top: 8px;
}

/* Grade Bars */
.tc-grade-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tc-grade-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-grade-bar__label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.tc-grade-bar__grade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.tc-grade-bar__name {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.tc-grade-bar__track {
    flex: 1;
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
}

.tc-grade-bar__fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

.tc-grade-bar__count {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    min-width: 24px;
    text-align: right;
}

/* Grade Pill */
.tc-grade-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    min-width: 30px;
}

.tc-grade-pill--lg {
    padding: 4px 16px;
    font-size: 16px;
    border-radius: 8px;
}

.tc-grade-pill--unrated {
    background: #d1d5db;
    color: #666;
}

/* Table */
.tc-table-wrap {
    overflow-x: auto;
    margin: 0 -12px;
    padding: 0 12px;
}

.tc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.tc-table th {
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
    white-space: nowrap;
}

.tc-table td {
    padding: 10px 12px;
    color: #333;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.tc-table tbody tr:hover {
    background: #f9fafb;
}

.tc-table__firm {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 600;
    white-space: nowrap;
}

.tc-table__firm:hover {
    color: #6366f1;
}

.tc-table__logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
    background: #f9fafb;
}

.tc-table__tp {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.tc-table__na {
    color: #999;
    font-style: italic;
}

.tc-table__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6366f1;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: gap 0.2s;
}

.tc-table__link:hover {
    gap: 8px;
    color: #4f46e5;
}

/* Sidebar */
.tc-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fafafa;
    border-radius: 8px;
    padding: 4px;
}

.tc-sidebar-firm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    transition: background 0.15s;
}

.tc-sidebar-firm:hover {
    background: #f3f4f6;
    color: #1a1a2e;
}

.tc-sidebar-firm__info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tc-sidebar-firm__logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f9fafb;
}

.tc-sidebar-firm__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-sidebar-firm__meta {
    font-size: 12px;
    color: #999;
}

/* Timeline */
.tc-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tc-timeline__item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-left: 2px solid #e5e7eb;
    margin-left: 6px;
    padding-left: 16px;
    position: relative;
}

.tc-timeline__dot {
    position: absolute;
    left: -6px;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.tc-timeline__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tc-timeline__title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

.tc-timeline__desc {
    font-size: 12px;
    color: #666;
}

.tc-timeline__change {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
}

.tc-timeline__time {
    font-size: 11px;
    color: #999;
}

.tc-empty {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 12px;
}

/* CTA Links */
.tc-cta-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(99, 102, 241, 0.03);
    border-radius: 8px;
    padding: 4px;
}

.tc-cta-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.tc-cta-link:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.tc-cta-link i {
    font-size: 18px;
    color: #fff;
}

/* Checklist (sidebar) */
.tc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.tc-checklist li i {
    color: #ef4444;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* === SHOW PAGE === */

/* Verdict Banner */
.tc-verdict {
    padding: 0 0 20px;
}

.tc-verdict__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--verdict-color);
}

.tc-verdict__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--verdict-color) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-verdict__icon i {
    font-size: 28px;
    color: var(--verdict-color);
}

.tc-verdict__content {
    flex: 1;
}

.tc-verdict__firm {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tc-verdict__logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #f9fafb;
}

.tc-verdict__name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.tc-verdict__badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tc-verdict__message {
    color: #555;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Inline Alert */
.tc-inline-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 13px;
}

.tc-inline-alert--danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tc-inline-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Progress Bar */
.tc-progress {
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.tc-progress__bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checklist Grid */
.tc-checklist-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.15s;
}

.tc-check:hover {
    background: #f9fafb;
}

.tc-check--pass .tc-check__icon i {
    color: #10b981;
    font-size: 20px;
}

.tc-check--fail .tc-check__icon i {
    color: #ef4444;
    font-size: 20px;
}

.tc-check__content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tc-check__label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.tc-check__detail {
    font-size: 12px;
    color: #888;
}

/* TrustPilot Grid */
.tc-tp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.tc-tp-metric {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.tc-tp-metric__label {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.tc-tp-metric__value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.tc-tp-metric__value--good {
    color: #10b981;
}

.tc-tp-metric__value--bad {
    color: #ef4444;
}

.tc-tp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.tc-tp-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Details Grid */
.tc-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tc-detail {
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 10px;
}

.tc-detail__label {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.tc-detail__value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Score Ring */
.tc-score-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 8px auto;
}

.tc-score-ring__svg {
    width: 100%;
    height: 100%;
}

.tc-score-ring__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.tc-score-ring__value {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.tc-score-ring__max {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.tc-score-grade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.tc-score-grade__label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* Action Buttons */
.tc-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.tc-action-btn--primary {
    background: #6366f1;
    color: #fff;
}

.tc-action-btn--primary:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tc-action-btn--deals {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.tc-action-btn--deals:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.tc-action-btn--secondary {
    background: #f3f4f6;
    color: #374151;
}

.tc-action-btn--secondary:hover {
    background: #e5e7eb;
    color: #1a1a2e;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 991px) {
    .tc-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .tc-tp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tc-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tc-hero__title {
        font-size: 1.6rem;
    }
    .tc-verdict__inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 20px;
    }
    .tc-verdict__firm {
        justify-content: center;
    }
    .tc-verdict__badge {
        display: inline-flex;
    }
    .tc-table {
        font-size: 13px;
    }
    .tc-table th,
    .tc-table td {
        padding: 8px;
    }
    .tc-alert__firms {
        flex-direction: column;
    }
    .tc-grade-bar__label {
        min-width: 100px;
    }
    .tc-grade-bar__name {
        display: none;
    }
}

@media (max-width: 480px) {
    .tc-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .tc-stats__number {
        font-size: 1.3rem;
    }
    .tc-hero__subtitle {
        font-size: 0.9rem;
    }
    .tc-tp-grid {
        grid-template-columns: 1fr;
    }
}
