.service-card {
    margin: 12px 0;
    padding: 16px;
    border: 1px solid #e1e7eb;
    border-radius: 12px;
    background: #f9fbfc;
}

.service-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.service-summary > div {
    display: flex;
    flex-direction: column;
}

.service-card small {
    margin-top: 3px;
    color: #788691;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e1e7eb;
}

.service-details section {
    min-width: 0;
    padding: 12px;
    border-radius: 9px;
    background: #fff;
}

.service-details h4 {
    margin: 0 0 10px;
}

.service-details .details {
    grid-template-columns: 110px 1fr;
    margin: 0;
    padding: 0;
    border: 0;
}

.error-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 7px;
    background: #fff0f0;
    color: #8e3333;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
