package com.hermes.app.feature.reveal

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.hermes.app.core.designsystem.HermesMetricChip
import com.hermes.app.core.designsystem.HermesPrimaryButton
import com.hermes.app.core.designsystem.HermesSectionHeader
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import com.hermes.app.core.designsystem.HermesColors

@Composable
fun RevealPanel(
    title: String,
    subtitle: String,
    statusText: String,
    selectionLabel: String,
    selectionValue: String,
    continueTitle: String,
    onContinue: () -> Unit,
    modifier: Modifier = Modifier,
) {
    Column(modifier = modifier, verticalArrangement = Arrangement.spacedBy(12.dp)) {
        HermesSectionHeader(title = title, subtitle = subtitle)

        HermesMetricChip(label = selectionLabel, value = selectionValue, modifier = Modifier.fillMaxWidth())

        Text(
            text = statusText,
            style = MaterialTheme.typography.bodyMedium,
            color = HermesColors.textSecondary,
        )

        HermesPrimaryButton(text = continueTitle, onClick = onContinue)
    }
}
