/* sbc-styles.css */
.sbc-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

#sbc-url-form textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: monospace;
}

#sbc-check-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#sbc-check-button:hover {
    background-color: #005177;
}

.sbc-loading {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #0073aa;
}

.sbc-error {
    padding: 15px;
    background-color: #ffe0e0;
    color: #cc0000;
    border: 1px solid #cc0000;
    border-radius: 3px;
    margin-top: 10px;
}

/* Tabs Navigation */
.sbc-tabs-nav {
    display: flex;
    margin-top: 20px;
    border-bottom: 2px solid #ddd;
}

.sbc-tab-link {
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 15px;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
}

.sbc-tab-link.active {
    background: #eee;
    border-color: #ddd;
    border-bottom: 2px solid #fff; /* to cover the main border */
    color: #0073aa;
}

.sbc-tab-content {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    overflow-x: auto; /* Enable horizontal scroll for table */
}

/* Results Table */
.sbc-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
    min-width: 800px; /* Ensure table is wide enough for good data display */
}

.sbc-results-table th, .sbc-results-table td {
    border: 1px solid #eee;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
    word-break: break-word; /* Prevent long URLs/text from breaking layout */
}

.sbc-results-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.sbc-results-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Status coloring examples */
.status-2xx { color: #008000; font-weight: bold; }
.status-3xx { color: #ffa500; font-weight: bold; }
.status-4xx, .status-5xx { color: #cc0000; font-weight: bold; }
.status-error { color: #888; font-style: italic; }
.status-indexable { color: #008000; }
.status-noindex { color: #cc0000; font-weight: bold; }