/* Compliance Checker Styles */
.wtm-compliance-panel {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.wtm-compliance-panel h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Score Display */
.wtm-score-display {
    margin: 15px 0;
}

.wtm-score-number {
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
}

.wtm-score-green { color: #46b450; }
.wtm-score-yellow { color: #ffb900; }
.wtm-score-red { color: #dc3232; }

.wtm-score-bar-bg {
    background: #e2e4e7;
    border-radius: 4px;
    height: 12px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.wtm-score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.wtm-no-score {
    color: #888;
    font-style: italic;
}

/* Results Table */
.wtm-compliance-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.wtm-compliance-table th,
.wtm-compliance-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wtm-compliance-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.wtm-rule-fail td { background: #fcf0f1; }
.wtm-rule-warning td { background: #fef8e8; }
.wtm-rule-pass td { background: #f0f8f1; }

/* Rule Badges */
.wtm-rule-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wtm-badge-pass { background: #d4edda; color: #155724; }
.wtm-badge-warning { background: #fff3cd; color: #856404; }
.wtm-badge-fail { background: #f8d7da; color: #721c24; }
.wtm-badge-skip { background: #e2e3e5; color: #383d41; }

/* Action Items */
.wtm-action-items {
    margin: 10px 0;
    padding-left: 20px;
}

.wtm-action-items li {
    margin: 5px 0;
    padding: 5px 0;
}

.wtm-action-fail { color: #dc3232; }
.wtm-action-warning { color: #856404; }

/* Compliance Status */
.wtm-compliance-status {
    margin-left: 10px;
    font-style: italic;
}

.wtm-compliance-status.wtm-testing { color: #0073aa; }
.wtm-compliance-status.wtm-error { color: #dc3232; }

/* RTL Support */
[dir="rtl"] .wtm-compliance-table th,
[dir="rtl"] .wtm-compliance-table td {
    text-align: right;
}

[dir="rtl"] .wtm-action-items {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .wtm-compliance-status {
    margin-left: 0;
    margin-right: 10px;
}
