@use "variables" as *;

.section-sub-heading {
    font-size: 15px;
    font-weight: 500;
}

.ekesto-section-description {
    margin: 0;
    color: $color-text-secondary;
    font-size: $font-size-body;
    line-height: 1.3;
    &.limit-char {
        max-width: 75ch;
    }
    &.is-small {
        font-size: $font-size-small;
    }
    &.is-italic {
        font-style: italic;
    }
    code {
        font-size: $font-size-body;
    }
}

// Auto-pacing info panel
.ecw-auto-pacing-info {
    padding: 10px 14px;
    background: #f0f6fc;
    border-left: 3px solid #007cba;
    border-radius: 2px;
    margin-top: 8px;

    p {
        margin: 0;
        font-size: 13px;
        line-height: 1.4;
    }
}

// Field hints and warnings
.ecw-field-hint {
    color: $color-text-secondary;
    font-size: 12px;
    margin-top: 2px;
}

.ecw-field-warning {
    color: #b32d2e;
    font-size: 12px;
    margin-top: 2px;
    font-weight: 600;
}

// Notice states
.ecw-notice {
    padding: 8px 12px;
    border-radius: 2px;
    font-size: 12px;
    margin-top: 8px;

    &--success {
        background: #d4edda;
        color: #155724;
        border-left: 3px solid #28a745;
    }

    &--error {
        background: #f8d7da;
        color: #721c24;
        border-left: 3px solid #f5222d;
    }
}