/* Trust Score Styles */
.trust-score-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trust-score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1.5rem;
    color: white;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trust-score-badge.excellent {
    background-color: #28a745;
    background-image: linear-gradient(135deg, #28a745, #20c997);
}

.trust-score-badge.good {
    background-color: #ffc107;
    background-image: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.trust-score-badge.needs-review {
    background-color: #dc3545;
    background-image: linear-gradient(135deg, #dc3545, #c82333);
}

.trust-score-badge.no-score {
    background-color: #6c757d;
    background-image: linear-gradient(135deg, #6c757d, #5a6268);
}

.trust-score-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.trust-score-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.trust-score-info {
    flex: 1;
}

.trust-score-info .trust-score-label {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.trust-score-details {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.trust-score-updated {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Trust Score Details Section */
.trust-score-details-section {
    margin-top: 2rem;
}

.trust-score-details-section h5 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.trust-score-category {
    margin-bottom: 1.5rem;
}

.trust-score-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.trust-score-category-name {
    font-weight: 600;
    margin-bottom: 0;
}

.trust-score-category-score {
    font-weight: 600;
}

.trust-score-progress {
    height: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Trust Score Card for Dashboard */
.trust-score-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.trust-score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.trust-score-card-header {
    padding: 1rem;
    color: white;
}

.trust-score-card-header.excellent {
    background-color: #28a745;
    background-image: linear-gradient(135deg, #28a745, #20c997);
}

.trust-score-card-header.good {
    background-color: #ffc107;
    background-image: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.trust-score-card-header.needs-review {
    background-color: #dc3545;
    background-image: linear-gradient(135deg, #dc3545, #c82333);
}

.trust-score-card-header.no-score {
    background-color: #6c757d;
    background-image: linear-gradient(135deg, #6c757d, #5a6268);
}

.trust-score-card-body {
    padding: 1rem;
    background-color: white;
}

.trust-score-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-score-card-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.trust-score-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.trust-score-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.trust-score-card-footer {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .trust-score-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .trust-score-badge {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}