/**
 * Rule Review Page Styles
 * WCAG AA Color Contrast + USWDS Design Tokens
 */

/* Layout */
.review-container {
    padding: 2rem 0;
}

.review-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-header h1 {
    margin-top: 0;
    margin-bottom: 0;
    flex: 1;
}

/* Document info section */
.document-info {
    background-color: var(--theme-color-info-lighter, #e7f6f8);
    border-left: 0.25rem solid var(--theme-color-info, #00bde3);
    padding: 1rem;
    margin-bottom: 2rem;
}

.document-info p {
    margin: 0;
}

.document-info p + p {
    margin-top: 0.5rem;
}

/* Progress indicator section */
.progress-section {
    margin-bottom: 2rem;
}

/* Filter controls section */
.filter-controls {
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.filter-controls .usa-form-group {
    margin-bottom: 0;
}

.filter-controls .grid-row {
    align-items: end;
}

/* Bulk selection header */
.bulk-selection-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border-radius: 0.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
}

.bulk-selection-header.bulk-toolbar-visible {
    transform: translateY(0);
    opacity: 1;
}

.bulk-selection-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.selected-count {
    font-weight: 600;
    color: var(--theme-color-base-darker, #3d4551);
}

/* Rules container */
#rules-container {
    margin-bottom: 2rem;
}

/* Rule card styles */
.rule-card {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    position: relative;
}

.rule-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.rule-card:focus {
    outline: 2px solid var(--theme-color-primary, #005ea2);
    outline-offset: 2px;
}

.rule-card.selected {
    border-color: var(--theme-color-primary, #005ea2);
    background-color: var(--theme-color-primary-lighter, #e1f3f8);
}

.rule-card .usa-card__body {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.rule-card-checkbox {
    flex-shrink: 0;
    display: flex;
    align-items: start;
    padding-top: 0.25rem;
}

.rule-card-content {
    flex: 1;
    min-width: 0;
}

.rule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rule-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
    word-break: break-word;
}

.rule-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rule-card-summary {
    margin-bottom: 1rem;
    color: var(--theme-color-base-darker, #3d4551);
}

.rule-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
}

/* Status badge colors - WCAG AA compliant */
.usa-tag.status-pending {
    background-color: var(--theme-color-base-light, #a9aeb1);
    color: var(--theme-color-ink, #1b1b1b);
}

.usa-tag.status-approved {
    background-color: var(--theme-color-success-dark, #446443);
    color: white;
}

.usa-tag.status-rejected {
    background-color: var(--theme-color-error-dark, #b50909);
    color: white;
}

.usa-tag.status-flagged {
    background-color: var(--theme-color-warning, #ffbe2e);
    color: var(--theme-color-ink, #1b1b1b);
}

.usa-tag.status-needs_edit {
    background-color: var(--theme-color-accent-warm, #fa9441);
    color: var(--theme-color-ink, #1b1b1b);
}

.usa-tag.status-skipped {
    background-color: var(--theme-color-base-lighter, #dfe1e2);
    color: var(--theme-color-base-darker, #3d4551);
}

/* Confidence badge colors - WCAG AA compliant (matches results page) */
.usa-tag--confidence-high {
    background-color: var(--theme-color-success-darker, #154c21);
    color: var(--theme-color-white, #fff);
}

.usa-tag--confidence-medium {
    background-color: var(--theme-color-warning-darker, #5c4809);
    color: var(--theme-color-white, #fff);
}

.usa-tag--confidence-low {
    background-color: var(--theme-color-error-dark, #b50909);
    color: var(--theme-color-white, #fff);
}

.usa-tag--confidence-very-low {
    background-color: var(--theme-color-error-darker, #6f3331);
    color: var(--theme-color-white, #fff);
}

.usa-tag--confidence-unknown {
    background-color: var(--theme-color-base-dark, #565c65);
    color: var(--theme-color-white, #fff);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border-radius: 0.25rem;
}

.empty-state h2 {
    color: var(--theme-color-base-darker, #3d4551);
    margin-bottom: 1rem;
}

/* Rule detail view (modal-like overlay) */
.rule-detail-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.rule-detail-overlay.active {
    display: block;
}

.rule-detail-container {
    max-width: 64rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.rule-detail-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rule-detail-header h2 {
    margin: 0;
}

.rule-detail-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.rule-detail-section {
    margin-bottom: 2rem;
}

.rule-detail-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.code-container {
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    max-height: 24rem;
    overflow: auto;
    margin-bottom: 1rem;
}

.code-container pre {
    margin: 0;
    padding: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-container code {
    font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--theme-color-ink, #1b1b1b);
}

.rule-detail-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Loading state */
.loading-spinner {
    text-align: center;
    padding: 2rem;
}

/* Alert for errors */
.review-alerts {
    margin-bottom: 2rem;
}

/* Back link */
.back-link {
    margin-bottom: 1rem;
    display: inline-block;
}

/* Screen reader only announcements */
.sr-announcements {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===================================================================
   RULE DETAIL PANEL - Split Layout and Source Mapping
   =================================================================== */

/* Split panel layout (60/40 split) */
.rule-detail-split-panel {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 1.5rem;
    min-height: 400px;
}

@media (max-width: 64em) {
    .rule-detail-split-panel {
        grid-template-columns: 1fr;
    }
}

.rule-detail-left-panel,
.rule-detail-right-panel {
    overflow-y: auto;
    max-height: 60vh;
}

/* Header tags row */
.rule-detail-header-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Confidence badge colors - WCAG AA compliant */
.confidence-badge.confidence-high {
    background-color: var(--theme-color-success, #00a91c);
    color: white;
}

.confidence-badge.confidence-medium {
    background-color: var(--theme-color-warning, #ffbe2e);
    color: var(--theme-color-ink, #1b1b1b);
}

.confidence-badge.confidence-low {
    background-color: var(--theme-color-error, #d54309);
    color: white;
}

/* Rego code syntax highlighting */
.rego-code .rego-keyword {
    color: var(--theme-color-primary, #005ea2);
    font-weight: 600;
}

.rego-code .rego-string {
    color: var(--theme-color-accent-warm-dark, #c05600);
}

.rego-code .rego-comment {
    color: var(--theme-color-base-dark, #565c65);
    font-style: italic;
}

/* Edit history accordion */
.edit-history-accordion {
    width: 100%;
    text-align: left;
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.edit-history-accordion:hover {
    background-color: var(--theme-color-base-lighter, #dfe1e2);
}

.edit-history-accordion h3 {
    margin: 0;
    font-size: 1.125rem;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.edit-history-accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.edit-history-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
}

.edit-history-item {
    padding: 1rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
}

.edit-history-item:last-child {
    border-bottom: none;
}

.edit-history-date {
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
    margin-top: 0.5rem;
}

/* Source mapping section (right panel) */
.source-mapping-section {
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    padding: 1rem;
    border-radius: 0.25rem;
    height: fit-content;
}

.source-mapping-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.source-mapping-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--theme-color-base-dark, #565c65);
}

.source-mapping-item {
    background-color: white;
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.source-mapping-item:last-child {
    margin-bottom: 0;
}

.source-mapping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
}

.source-mapping-index {
    font-weight: 600;
    color: var(--theme-color-primary, #005ea2);
}

.source-mapping-content {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.source-mapping-content p {
    margin: 0;
    word-wrap: break-word;
}

/* Source highlight - yellow background for matched text */
.source-highlight {
    background-color: #fff2cc;
    padding: 0.125rem 0.25rem;
    border-radius: 0.125rem;
    font-weight: 600;
    color: var(--theme-color-ink, #1b1b1b);
}

.source-mapping-meta {
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
}

/* Action button variants */
.usa-button--success {
    background-color: var(--theme-color-success, #00a91c);
    color: white;
}

.usa-button--success:hover {
    background-color: var(--theme-color-success-dark, #008817);
}

.usa-button--accent-warm {
    background-color: var(--theme-color-accent-warm, #fa9441);
    color: var(--theme-color-ink, #1b1b1b);
}

.usa-button--accent-warm:hover {
    background-color: var(--theme-color-accent-warm-dark, #c05600);
    color: white;
}

/* ===================================================================
   EDIT RULE MODAL
   =================================================================== */

/* Edit modal overlay */
.edit-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000; /* Higher than rule detail overlay */
    overflow-y: auto;
}

.edit-modal-overlay.active {
    display: block;
}

/* Edit modal container */
.edit-modal-container {
    max-width: 48rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Edit modal header */
.edit-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Edit modal body */
.edit-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Edit modal version display */
.edit-modal-version {
    background-color: var(--theme-color-info-lighter, #e7f6f8);
    border-left: 0.25rem solid var(--theme-color-info, #00bde3);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Edit modal form */
.edit-modal-form .usa-form-group {
    margin-bottom: 1.5rem;
}

/* Code textarea */
.edit-code-textarea {
    font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    min-height: 12.5rem;
    resize: vertical;
}

/* Edit modal actions */
.edit-modal-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================================================
   REVIEW PROGRESS INDICATOR
   =================================================================== */

/* Container for rich progress indicator */
.review-progress-container {
    margin-top: 1.5rem;
}

/* Color-coded progress bar */
.review-progress-bar {
    display: flex;
    height: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: var(--theme-color-base-lighter, #dfe1e2);
    margin-bottom: 1.5rem;
}

.review-progress-segment {
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress segment colors - WCAG AA compliant */
.segment-approved {
    background-color: var(--theme-color-success, #00a91c);
}

.segment-rejected {
    background-color: var(--theme-color-error, #d54309);
}

.segment-flagged {
    background-color: var(--theme-color-warning, #ffbe2e);
}

.segment-needs-edit {
    background-color: var(--theme-color-accent-warm, #fa9441);
}

.segment-skipped {
    background-color: var(--theme-color-base-lighter, #dfe1e2);
}

.segment-pending {
    background-color: var(--theme-color-base-dark, #565c65);
}

/* Statistics grid */
.review-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 64em) {
    .review-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 40em) {
    .review-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Stat cards */
.review-stat-card {
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    padding: 1rem;
    text-align: center;
}

.review-stat-label {
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.review-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-color-primary, #005ea2);
    line-height: 1;
}

/* Mark Review Complete button */
.review-complete-btn {
    display: block;
    margin: 0 auto;
    background-color: var(--theme-color-success, #00a91c);
    color: white;
}

.review-complete-btn:hover {
    background-color: var(--theme-color-success-dark, #008817);
}

/* ===================================================================
   ANNOTATION FORM STYLES
   =================================================================== */

/* Annotation form container */
.annotation-form-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--theme-color-base-lighter, #dfe1e2);
}

/* Toggle button */
.annotation-form-toggle {
    margin-bottom: 1rem;
}

/* Annotation form - hidden by default */
.annotation-form {
    display: none;
    padding: 1.5rem;
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

/* Show form when active */
.annotation-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Character counter */
.annotation-char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
    margin-top: 0.25rem;
}

.annotation-char-counter.warning {
    color: var(--theme-color-accent-warm-dark, #c05600);
    font-weight: 600;
}

.annotation-char-counter.error {
    color: var(--theme-color-error, #d54309);
    font-weight: 700;
}

/* Form actions */
.annotation-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* ===================================================================
   RE-EXTRACTION DIALOG
   =================================================================== */

/* Re-extraction section */
.reextract-section {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reextract-hint {
    font-size: 0.875rem;
    color: var(--theme-color-base-dark, #565c65);
    font-style: italic;
}

/* Re-extraction dialog overlay */
.reextract-dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001; /* Higher than edit modal */
    overflow-y: auto;
}

.reextract-dialog-overlay.active {
    display: block;
}

/* Re-extraction dialog container */
.reextract-dialog-container {
    max-width: 40rem;
    margin: 2rem auto;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Re-extraction dialog header */
.reextract-dialog-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reextract-dialog-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Re-extraction dialog body */
.reextract-dialog-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Feedback summary */
.reextract-feedback-summary {
    background-color: var(--theme-color-info-lighter, #e7f6f8);
    border-left: 0.25rem solid var(--theme-color-info, #00bde3);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.reextract-feedback-summary h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.reextract-summary-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--theme-color-info, #00bde3);
}

.reextract-summary-item:last-of-type {
    border-bottom: none;
}

.reextract-summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--theme-color-info, #00bde3);
    font-weight: 600;
    font-size: 1.125rem;
}

/* Re-extraction dialog actions */
.reextract-dialog-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Accent cool button */
.usa-button--accent-cool {
    background-color: var(--theme-color-accent-cool, #00bde3);
    color: var(--theme-color-ink, #1b1b1b);
}

.usa-button--accent-cool:hover {
    background-color: var(--theme-color-accent-cool-dark, #0081a1);
    color: white;
}

.usa-button--accent-cool:disabled {
    background-color: var(--theme-color-base-lighter, #dfe1e2);
    color: var(--theme-color-base-dark, #565c65);
    cursor: not-allowed;
}

/* ===================================================================
   KEYBOARD SHORTCUTS MODAL
   =================================================================== */

/* Shortcuts modal overlay - highest z-index */
.shortcuts-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001; /* Higher than edit modal */
    overflow-y: auto;
}

.shortcuts-modal-overlay.active {
    display: block;
}

/* Shortcuts modal container */
.shortcuts-modal-container {
    max-width: 32rem;
    margin: 4rem auto;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

/* Shortcuts modal header */
.shortcuts-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shortcuts-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* Shortcuts modal body */
.shortcuts-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Shortcuts group */
.shortcuts-group {
    margin-bottom: 2rem;
}

.shortcuts-group:last-child {
    margin-bottom: 0;
}

.shortcuts-group h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--theme-color-primary, #005ea2);
}

/* Shortcuts list */
.shortcuts-list {
    margin: 0;
    padding: 0;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--theme-color-base-lighter, #dfe1e2);
}

.shortcut-item:last-child {
    border-bottom: none;
}

.shortcut-item dt {
    font-weight: 600;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.shortcut-item dd {
    margin: 0;
    color: var(--theme-color-base-darker, #3d4551);
}

/* Keyboard key styling */
kbd {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace;
    font-size: 0.875rem;
    line-height: 1;
    color: var(--theme-color-ink, #1b1b1b);
    background-color: var(--theme-color-base-lightest, #f0f0f0);
    border: 1px solid var(--theme-color-base-lighter, #dfe1e2);
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    min-width: 1.5rem;
    text-align: center;
}
