/*
 * Supersolution Verification Styles
 * Designed to match benjyjf.com aesthetic
 */

/* Base Styling - matches pagina.css */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #000;
    margin: 0;
    padding: 0;
}

#homepage {
    width: 950px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 40px;
}

/* Typography */
h1 {
    color: #000;
    font-weight: bold;
    font-size: 1.8em;
    margin: 10px 0;
}

h2 {
    color: #000;
    font-weight: bold;
    font-size: 1.4em;
    margin: 20px 0 10px 0;
}

h3 {
    color: #000;
    font-weight: bold;
    font-size: 1.1em;
    margin: 15px 0 8px 0;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

/* Links - matches existing blue */
a {
    color: #33f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Summary Boxes */
.summary-box {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.summary-box ul {
    line-height: 1.8;
}

.summary-box ol {
    line-height: 1.8;
}

/* Filter Controls */
.filter-controls {
    background-color: #f5f5f5;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.filter-controls label {
    font-weight: bold;
    margin-right: 10px;
}

.filter-controls select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.95em;
}

/* Table Styling */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.verification-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.verification-table thead {
    background-color: #336600;
    color: #fff;
}

.verification-table th {
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

.verification-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.verification-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.verification-table tbody tr:hover {
    background-color: #e8f4e8;
}

.verification-table td {
    padding: 10px 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Pagination */
.pagination {
    margin: 20px 0;
    padding: 15px;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination button {
    background-color: #336600;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.95em;
    transition: background-color 0.3s;
}

.pagination button:hover:not(:disabled) {
    background-color: #447711;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Download Section */
.download-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.download-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

.download-item h3 {
    margin-top: 0;
    color: #336600;
}

/* Download Buttons */
.download-button {
    display: inline-block;
    background-color: #336600;
    color: #fff;
    padding: 10px 20px;
    margin: 5px 5px 5px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #447711;
    text-decoration: none;
}

.download-button.secondary {
    background-color: #666;
}

.download-button.secondary:hover {
    background-color: #888;
}

/* Code Blocks */
pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-left: 4px solid #336600;
    overflow-x: auto;
    border-radius: 3px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1000px) {
    #homepage {
        width: 90%;
    }

    .download-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .verification-table {
        font-size: 0.8em;
    }

    .verification-table th,
    .verification-table td {
        padding: 8px 4px;
    }

    .pagination button {
        padding: 6px 12px;
        font-size: 0.85em;
        margin: 2px;
    }

    .filter-controls {
        font-size: 0.9em;
    }

    .filter-controls label,
    .filter-controls select {
        display: block;
        margin: 5px 0;
    }
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Highlight class for special values */
.highlight-value {
    background-color: #fff8dc;
    font-weight: bold;
}
