.c-vale-detalhes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

/* Gap 16px entre seções */
[data-vale-detalhes-popup] {
    gap: 16px;
}

/* Espaçamento interno do card de agendamento */
[data-vale-detalhes-selected] .c-criar-vale-popup__item-divider {
    margin: 16px 0;
}

[data-vale-detalhes-kits]:not([hidden]),
[data-vale-detalhes-state="empty"]:not([hidden]),
[data-vale-detalhes-state="error"]:not([hidden]) {
    margin-top: 16px;
}

/* States */
.c-vale-detalhes__state {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6E6E6E;
}

.c-vale-detalhes__state--loading {
    animation: none;
}

.c-vale-detalhes__state-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-vale-detalhes__state-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: #6E6E6E;
}

.c-vale-detalhes__state-text {
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #6E6E6E;
}

/* Selected agendamento */
.c-vale-detalhes__selected {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.c-vale-detalhes__selected-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c-vale-detalhes__selected-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow:
        0px 0px 0px 1px rgba(0, 0, 0, 0.12),
        0px 1px 1px 0px rgba(0, 0, 0, 0.10),
        0px 2px 2px 0px rgba(0, 0, 0, 0.05),
        0px 2px 6px 0px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-vale-detalhes__selected-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: #1A1A1A;
}

.c-vale-detalhes__selected-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.c-vale-detalhes__selected-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6E6E6E;
}

.c-vale-detalhes__selected-value {
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-vale-detalhes__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.c-vale-detalhes__field {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.c-vale-detalhes__field-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.c-vale-detalhes__field-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: #6E6E6E;
}

.c-vale-detalhes__field-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.c-vale-detalhes__field-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6E6E6E;
}

.c-vale-detalhes__field-value {
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #1A1A1A;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Kits list — reusa .c-criar-vale-popup__kit-item do base.css */
.c-vale-detalhes__kits-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.c-vale-detalhes__kits-list[hidden] {
    display: none;
}

/* kit-selected read-only no detalhes — sempre visível, sem botões */
[data-vale-detalhes-kits] .c-criar-vale-popup__kit-selected {
    display: flex;
    pointer-events: none;
    cursor: default;
}

.c-vale-detalhes__kit-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #E0E0E0;
}

.c-vale-detalhes__kit-item:first-child {
    border-top: 1px solid #E0E0E0;
}

.c-vale-detalhes__kit-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow:
        0px 0px 0px 1px rgba(0, 0, 0, 0.12),
        0px 1px 1px 0px rgba(0, 0, 0, 0.10),
        0px 2px 2px 0px rgba(0, 0, 0, 0.05),
        0px 2px 6px 0px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-vale-detalhes__kit-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: #1A1A1A;
}

.c-vale-detalhes__kit-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.c-vale-detalhes__kit-code {
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #1A1A1A;
}

.c-vale-detalhes__kit-descricao {
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #6E6E6E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-vale-detalhes__kit-vinculado {
    flex: 0 0 40%;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    background: #F5F5F5;
    box-shadow:
        0px 0px 0px 1px rgba(0, 0, 0, 0.12),
        0px 2px 2px 0px rgba(0, 0, 0, 0.05),
        0px 2px 6px 0px rgba(0, 0, 0, 0.04),
        0px 1px 1px 0px rgba(0, 0, 0, 0.10);
    font-size: 14px;
    font-weight: 480;
    line-height: 20px;
    letter-spacing: -0.1px;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.c-vale-detalhes__kit-sem-vinculo {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 400;
    color: #9E9E9E;
}
