.interactive-header-container {
    border: 1px dashed #bdbdbd;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    background-color: #fafafa;
}

.interactive-header-title {
    font-size: 0.75rem;
    color: #757575;
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
}

.interactive-header-title i {
    font-size: 0.875rem;
    vertical-align: middle;
}

.interactive-header-fields-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.interactive-header-select {
    width: 8rem !important;
    height: 2rem !important;
    border: 1px solid #ccc !important;
    border-radius: 0.25rem !important;
    display: block;
    flex-shrink: 0;
}

.interactive-header-input-flex {
    flex: 1 1 10rem;
    min-width: 10rem;
    height: 2rem !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box;
}

.interactive-header-input-fixed {
    flex: 1 1 8rem;
    min-width: 8rem;
    height: 2rem !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box;
}

/* WhatsApp template step: dynamic call-to-action button bindings and template structure */
.template-button-container,
.template-structure-container {
    border: 1px dashed #bdbdbd;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    background-color: #fafafa;
}

.template-button-title,
.template-structure-title {
    font-size: 0.75rem;
    color: #757575;
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
}

.template-button-row,
.template-structure-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.template-button-select,
.template-structure-select {
    width: 8rem !important;
    height: 2rem !important;
    border: 1px solid #ccc !important;
    border-radius: 0.25rem !important;
    flex-shrink: 0;
}

.template-button-add {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
}

.template-button-readonly {
    font-size: 0.75rem;
    margin: 0;
}

.template-structure-card {
    border-top: 1px solid #e0e0e0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: left;
}

.template-structure-body {
    white-space: pre-wrap;
}

.template-structure-issues {
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
    font-size: 0.75rem;
    list-style: disc;
    text-align: left;
}

.template-button-input {
    flex: 1 1 10rem;
    min-width: 8rem;
    height: 2rem !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
    border: 1px solid #ccc !important;
    border-radius: 0.25rem !important;
    box-sizing: border-box;
}

.template-button-hint {
    font-size: 0.7rem;
    color: #757575;
    flex-basis: 100%;
    margin: 0.125rem 0 0 0;
    text-align: left;
}

/* The box itself is drawn by materialize on the span; the native input stays hidden,
   as it is for every other checkbox in this editor. Overriding that here rendered both. */
.template-button-shared {
    font-size: 0.7rem;
    white-space: nowrap;
}
