.bvahc-dashboard {
    margin-top: 20px;
}

.bvahc-tab {
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-top: none;
}

.bvahc-tab.active {
    display: block;
}

.bvahc-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
}

.bvahc-status.enabled {
    background: #d4edda;
    color: #155724;
}

.bvahc-status.disabled {
    background: #f8f9fa;
    color: #6c757d;
}

.bvahc-health {
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
}

.bvahc-health.good {
    background: #d4edda;
    color: #155724;
}

.bvahc-health.warning {
    background: #fff3cd;
    color: #856404;
}

.bvahc-health.error {
    background: #f8d7da;
    color: #721c24;
}

.bvahc-stat-good {
    color: #28a745;
    font-weight: 600;
}

.bvahc-stat-bad {
    color: #dc3545;
    font-weight: 600;
}

.cache-ratio {
    font-weight: 600;
}

.bvahc-cache-time {
    width: 100px;
    margin-right: 5px;
}

#bvahc-scan-results {
    margin-top: 20px;
}

.bvahc-scan-issue {
    padding: 15px;
    margin: 10px 0;
    background: #fff;
    border-left: 4px solid #dc3545;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.bvahc-scan-issue.bvahc-scan-error {
    border-left-color: #dc3545;
}

.bvahc-scan-issue.bvahc-scan-warning {
    border-left-color: #ffc107;
}

.bvahc-scan-issue.bvahc-scan-info {
    border-left-color: #17a2b8;
}

.bvahc-scan-issue h4 {
    margin-top: 0;
    color: #dc3545;
}

.bvahc-scan-issue.bvahc-scan-warning h4 {
    color: #856404;
}

.bvahc-scan-issue.bvahc-scan-info h4 {
    color: #17a2b8;
}

.bvahc-scan-issue ul {
    margin: 10px 0;
    padding-left: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.bvahc-scan-issue code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.bvahc-issue-detail {
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.bvahc-critical-warning {
    background: #fff3cd;
    padding: 10px;
    border-left: 3px solid #ffc107;
    margin: 10px 0;
}

.bvahc-warning {
    background: #d1ecf1;
    padding: 10px;
    border-left: 3px solid #17a2b8;
    margin: 10px 0;
}

details {
    margin: 10px 0;
}

details summary {
    cursor: pointer;
    font-weight: 600;
    padding: 5px;
    background: #f0f0f0;
    border-radius: 3px;
}

details summary:hover {
    background: #e0e0e0;
}

.bvahc-found-domains {
    background: #f0f8ff;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    border: 1px solid #b8daff;
}

.bvahc-domain-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.bvahc-domain-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border-radius: 3px;
}

.bvahc-domain-item code {
    flex: 1;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
}

.bvahc-quick-enable .dashicons {
    font-size: 14px;
    height: 14px;
    width: 14px;
}

.button-small {
    padding: 4px 8px;
    height: auto;
    font-size: 12px;
    line-height: 1.5;
}

.notice.inline {
    margin: 5px 0 15px;
    padding: 10px 15px;
}

.dashicons.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wp-list-table th,
.wp-list-table td {
    vertical-align: middle;
}

.wp-list-table input[type="number"] {
    margin: 0;
}

button .dashicons {
    vertical-align: middle;
    margin-top: -2px;
}

.bvahc-tab h2 {
    margin-top: 0;
}

.bvahc-tab h3 {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.form-table th {
    width: 200px;
}
