---
---

/* Reviewer page specific overrides */

/* Override the reviewer-detail padding for the standalone page */
.reviewer-detail {
    margin: 0;
    padding: 0 200px;
    min-height: 100vh;
}

/* Different header styling for standalone page */
.reviewer-detail-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Back link styling for standalone page */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent-hover);
}

/* Meta item styling for standalone page */
.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Different content styling for standalone page */
.reviewer-content {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
}

/* Different header styling for standalone page */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Override prompt font for standalone page */
.reviewer-prompt {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    color: var(--text-primary);
    overflow-x: auto;
    position: relative;
}

/* Markdown content styling within the prompt box */
.reviewer-prompt h1,
.reviewer-prompt h2,
.reviewer-prompt h3,
.reviewer-prompt h4,
.reviewer-prompt h5,
.reviewer-prompt h6 {
    margin: 1.25rem 0 0.75rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-prompt h1:first-child,
.reviewer-prompt h2:first-child,
.reviewer-prompt h3:first-child {
    margin-top: 0;
}

.reviewer-prompt p {
    margin: 0 0 1rem 0;
}

.reviewer-prompt ul,
.reviewer-prompt ol {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.reviewer-prompt li {
    margin: 0.25rem 0;
}

.reviewer-prompt code {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.125rem 0.25rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8125rem;
    color: var(--text-primary);
}

.reviewer-prompt pre {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.reviewer-prompt pre code {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: inherit;
}

.reviewer-prompt blockquote {
    border-left: 4px solid var(--accent);
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border-radius: 0 4px 4px 0;
}

.reviewer-prompt strong {
    font-weight: 600;
}

.reviewer-prompt em {
    font-style: italic;
}

/* Mobile responsive adjustments for standalone page */
@media (max-width: 768px) {
    .reviewer-detail {
        padding: 0 5px;
    }

    .reviewer-detail-header {
        padding: 1.5rem;
    }

    .reviewer-detail-title {
        font-size: 1.5rem;
    }

    .reviewer-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .content-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .button-group {
        flex-direction: column;
    }

    .reviewer-content {
        padding: 1.5rem;
    }

    .stats-grid {
        padding: 1.5rem;
    }
}

