/* Debug page specific styles that override body */
body.freefactu-debug-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 20px;
    background: #f0f0f1;
}

/* Comparison table styles */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

.comp-table th,
.comp-table td {
    border: 1px solid #ccd0d4;
    padding: 8px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
}

.comp-table th {
    background: #f0f0f1;
    font-weight: 600;
    color: #50575e;
}

.comp-header-label {
    width: 20%;
}

.comp-header-val {
    width: 40%;
}

.comp-match {
    background-color: #edfaef;
    color: #106a1b;
}

.comp-diff {
    background-color: #fbeaea;
    color: #b32d2e;
}

.comp-section {
    background-color: #e2e4e7;
    font-weight: bold;
    text-align: center !important;
    color: #3c434a;
}

.comp-empty {
    color: #a0a5aa;
    font-style: italic;
}

/* Utilities */
.freefactu-mb-20 {
    margin-bottom: 20px;
}

.freefactu-text-muted {
    color: #666;
}

.freefactu-xml-wrapper {
    margin-bottom: 20px;
}

/* XML Toggle/Copy buttons with proper dashicon alignment */
.freefactu-xml-wrapper .button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
}

.freefactu-xml-wrapper .button .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
    vertical-align: middle;
}

/* Individual icon vertical adjustments */
.freefactu-xml-wrapper .button .dashicons-visibility {
    margin-top: 2px;
}

.freefactu-xml-wrapper .button .dashicons-clipboard {
    margin-top: 4px;
}

/* Footer */
.freefactu-debug-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #666;
}