.risk-high {
    background-color: #FEE2E2;
    border-color: #EF4444;
    color: #B91C1C;
}

.risk-medium {
    background-color: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

.risk-low {
    background-color: #D1FAE5;
    border-color: #10B981;
    color: #065F46;
}

.loading {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loading:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #4F46E5;
    border-color: #4F46E5 transparent #4F46E5 transparent;
    animation: loading 1.2s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-example {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.browser-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.5rem;
}

.browser-info-item {
    display: flex;
    font-size: 0.875rem;
}

.browser-info-item .label {
    font-weight: 500;
    width: 160px;
    color: #4B5563;
}

.browser-info-item .value {
    color: #1F2937;
    word-break: break-word;
}

.browser-issue {
    color: #B91C1C;
}

.ad-container {
    background-color: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    min-height: 600px;
    color: #6b7280;
}

.solution-step {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background-color: #fff;
    border-radius: 0.375rem;
    border-left: 4px solid #4F46E5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #4F46E5;
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.country-selection {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f9fafb;
}

.risk-guide {
    margin-top: 1rem;
    border-left: 4px solid #ef4444;
    padding: 0.75rem 1rem;
    background-color: #fee2e2;
    border-radius: 0.375rem;
}
