/* Enrichment Verification Styles */

.verification-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background: #f9fafb;
}

.verification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.verification-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.verification-stats {
    display: flex;
    gap: 24px;
}

.verification-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.verification-stats .stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.verification-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.verification-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
}

.verification-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.verification-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.verification-item .verification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0 0 16px 0;
    border-bottom: 2px solid #f3f4f6;
    background: transparent;
}

.verification-item .header-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.food-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.food-meta .separator {
    margin: 0 8px;
    color: #d1d5db;
}

.confidence-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.confidence-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confidence-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10b981;
}

.verification-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.data-section {
    background: #f9fafb;
    padding: 16px;
    border-radius: 6px;
}

.data-section h4 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.nutrition-grid,
.enrichment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.nutrition-item,
.enrichment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
}

.enrichment-item.full-width {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.nutrition-item .label,
.enrichment-item .label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.nutrition-item .value,
.enrichment-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.enrichment-item .value.highlighted {
    color: #3b82f6;
    font-size: 1rem;
}

.enrichment-item .value.description {
    font-weight: 400;
    font-style: italic;
    color: #4b5563;
}

.conversions-display {
    background: white;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8125rem;
    color: #374151;
    margin: 0;
    overflow-x: auto;
}

.verification-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-approve,
.btn-decline {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-approve {
    background: #10b981;
    color: white;
}

.btn-approve:hover {
    background: #059669;
}

.btn-decline {
    background: #f59e0b;
    color: white;
}

.btn-decline:hover {
    background: #d97706;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.refresh-btn:hover {
    background: #2563eb;
}

/* Editable Fields Styling */
.enrichment-item.editable {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.editable-field {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

.editable-field:hover {
    border-color: #3b82f6;
}

.editable-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.editable-field[type="text"],
.editable-field select {
    height: 40px;
}

.editable-field textarea {
    resize: vertical;
    min-height: 80px;
}

.enrichment-item.editable .label {
    font-weight: 600;
    color: #374151;
}
