/* Fact Check Template Styles */

/* Header Styles */
.fact-check-header {
    border-left: 5px solid #dc3545;
    padding-left: 20px;
    margin-bottom: 30px;
}

.verdict-badge {
    margin-bottom: 15px;
}

.badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 10px;
}

.badge-false {
    background-color: #dc3545;
    color: white;
}

.badge-misinformation {
    background-color: #fd7e14;
    color: white;
}

.badge-manipulated {
    background-color: #6f42c1;
    color: white;
}

.fact-check-title {
    color: #212529;
    font-weight: 700;
}

.fact-check-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Tweet Cards */
.original-tweet-card {
    border: 2px solid #dc3545;
    height: 100%;
}

.fact-check-card {
    border: 2px solid #28a745;
    height: 100%;
}

.card-header {
    padding: 15px 20px;
    font-weight: 600;
}

/* Tweet Embed */
.tweet-embed-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.tweet-placeholder {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
}

.placeholder-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.placeholder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e9ecef;
    margin-right: 12px;
}

.placeholder-user {
    flex: 1;
}

.placeholder-name {
    width: 120px;
    height: 16px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
}

.placeholder-handle {
    width: 80px;
    height: 12px;
    background: #e9ecef;
    border-radius: 4px;
}

.placeholder-content {
    margin-bottom: 15px;
}

.placeholder-text {
    height: 12px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 8px;
}

.placeholder-text.line1 { width: 100%; }
.placeholder-text.line2 { width: 80%; }
.placeholder-text.line3 { width: 60%; }

.placeholder-footer {
    border-top: 1px solid #dee2e6;
    padding-top: 12px;
}

.placeholder-actions {
    display: flex;
    gap: 20px;
}

.placeholder-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Claim Summary */
.claim-summary .claim-text {
    border-left: 4px solid #dc3545;
    font-style: italic;
}

/* Verdict Box */
.verdict-box {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dc3545;
}

.verdict-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.verdict-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.verdict-description {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Quick Facts */
.quick-facts .list-group-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 10px;
}

.quick-facts .list-group-item:last-child {
    border-bottom: none;
}

/* Rating Scale */
.rating-scale .progress {
    border-radius: 12px;
}

.scale-labels span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Share Warning */
.share-warning {
    border-left: 4px solid #ffc107;
}

/* Section Headers */
.section-header {
    border-bottom: 2px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.section-subtitle {
    color: #6c757d;
    margin-top: 5px;
}

/* Report Section */
.report-buttons .btn {
    border-width: 2px;
}

/* Verification Tools */
.verification-tools .card-body a {
    color: #495057;
    transition: color 0.2s;
}

.verification-tools .card-body a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fact-check-title {
        font-size: 1.8rem;
    }
    
    .verdict-box {
        padding: 20px 15px;
    }
    
    .verdict-title {
        font-size: 2rem;
    }
    
    .verdict-badge .badge {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
}

.fact-check-article {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
}

.fact-check-banner {
    background: #fff3cd;
    border-left: 6px solid #ff9800;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.fact-check-banner h2 {
    color: #856404;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.warning-note {
    background: #ffeaa7;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    border-left: 3px solid #fdcb6e;
    font-weight: bold;
}

.basic-investigation, .basic-source-analysis {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.action-request {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 2px solid #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}
.action-request h2 {
    color: #1976d2;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.violations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.violation-card {
    background: #f5f9ff;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #bbdefb;
    text-align: center;
}
.violation-icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.violation-card h4 {
    margin: 10px 0;
    color: #1976d2;
}

.platform-violations {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid #dc3545;
}
.platform-violations ul {
    columns: 2;
    column-gap: 40px;
}
.platform-violations li {
    margin-bottom: 8px;
}

.detailed-investigation, .account-history {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.evidence-card {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.evidence-card h4 {
    margin-top: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}
.evidence-card ul {
    padding-left: 20px;
}

.account-timeline {
    margin: 25px 0;
    position: relative;
    padding-left: 30px;
}
.account-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #3498db;
}
.timeline-item {
    margin-bottom: 25px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #3498db;
}
.timeline-date {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}
.timeline-content {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.previous-flags {
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
}
.factchecker-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}
.factchecker {
    background: #5c6bc0;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.final-verdict {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 2px solid #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.1);
}
.verdict-box {
    background: #fef2f2;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #fecaca;
}
.verdict-header {
    border-bottom: 2px solid #dc2626;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.false-text {
    color: #dc2626;
    font-size: 28px;
}
.verdict-subtitle {
    color: #7f1d1d;
    font-weight: bold;
}

.basic-verdict {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #ffd54f;
}
.detailed-verdict {
    margin-top: 25px;
}
.action-call {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border: 2px solid #dc2626;
}
.action-call h4 {
    color: #dc2626;
    margin-top: 0;
}

.fact-check-tags, .detailed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    font-size: 14px;
}
.tag.false { background: #dc3545; }
.tag.misleading { background: #fd7e14; }
.tag.manipulated { background: #6f42c1; }
.tag.malicious { background: #8b0000; }
.tag.coordinated { background: #fd7e14; }
.tag.policy-violation { background: #343a40; }

.public-advisory {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}
.public-advisory h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.basic-warning {
    background: rgba(255,255,255,0.8);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}
.report-links {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}
.report-links a {
    color: #1976d2;
    font-weight: bold;
    text-decoration: none;
    margin: 0 10px;
}
.report-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fact-check-article {
        padding: 15px;
    }
    .violations-list, .evidence-grid {
        grid-template-columns: 1fr;
    }
    .platform-violations ul {
        columns: 1;
    }
    .factchecker-logos {
        justify-content: center;
    }
    .fact-check-tags, .detailed-tags {
        justify-content: center;
    }
}