/*
 * Page-specific and layout styles (consolidated from inline and per-page CSS)
 */

/* Master layout content columns (replaces inline styles on HSC Master.Master) */
.content-col-left {
    float: left;
    width: 45%;
}

.content-col-right {
    float: right;
    width: 45%;
}

/* ---------------------------------------------------------------------------
   Database Maintenance (DatabaseMaintenance.aspx)
   --------------------------------------------------------------------------- */

.seed-container {
    max-width: 720px;
    margin: 24px auto;
    padding: 0 20px;
}

.seed-container h2 {
    margin-bottom: 8px;
}

.seed-container .page-intro {
    color: #6c757d;
    margin-bottom: 28px;
    font-size: 14px;
}

.action-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.action-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.action-card .action-desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
}

.action-card .action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.action-card .action-row .btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
}

.action-card .action-row input[type="text"] {
    width: 56px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.action-card.action-card--danger {
    border-color: #f5c2c7;
    background: #fff8f8;
}

.action-card.action-card--danger h3 {
    color: #721c24;
}

.action-card.action-card--danger .action-desc {
    color: #58151c;
}

.result-panel {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.result-panel.result-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.result-panel.result-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.result-panel .result-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.result-panel.result-info {
    background-color: #e7f1ff;
    border-color: #b6d4fe;
    color: #084298;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}

.audit-table th,
.audit-table td {
    border: 1px solid #dee2e6;
    padding: 8px 10px;
    text-align: left;
}

.audit-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.audit-table .status-ok {
    color: #155724;
}

.audit-table .status-empty {
    color: #856404;
}

.export-code {
    display: block;
    width: 100%;
    max-height: 400px;
    overflow: auto;
    margin-top: 8px;
    padding: 12px;
    font-family: Consolas, monospace;
    font-size: 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    white-space: pre;
}

/* ---------------------------------------------------------------------------
   Custom error page (Errors/Error.aspx)
   --------------------------------------------------------------------------- */

.error-page-box {
    margin: 1.5em 0;
    padding: 1.5em;
    text-align: left;
    max-width: 36em;
    border: 1px solid #ccc;
    background: #fafafa;
}

.error-page-box h2 {
    color: #990000;
    font-size: 1.35em;
    margin-bottom: 0.75em;
}

.error-page-box p {
    margin-bottom: 0.75em;
}

.error-page-box .contact {
    margin-top: 1.25em;
    padding-top: 1em;
    border-top: 1px solid #e0e0e0;
    font-size: 0.95em;
}

.error-page-actions {
    margin-top: 1.5em;
}

.error-page-actions a {
    margin-right: 1em;
}
